curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_sendRawTransaction \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"id": 1,
"params": [
"0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
TRON API method that submits a pre-signed transaction for broadcast to the network. This method provides Ethereum-compatible interface for TRON blockchain.
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_sendRawTransaction \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"id": 1,
"params": [
"0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
jsonrpc
— the JSON-RPC protocol version (always “2.0”)method
— the method name (always “eth_sendRawTransaction”)params
— array containing method parameters
signedTransactionData
— the signed transaction data as hex stringid
— request identifier (number or string)jsonrpc
— the JSON-RPC protocol version (“2.0”)id
— the request identifier that matches the requestresult
— the transaction hash of the submitted transactionjsonrpc eth_sendRawTransaction
method is used for:
Transaction hash of the submitted transaction
The response is of type object
.