eth_sendRawTransaction
Submits a pre-signed transaction to Radius.
Parameters
transaction data
: [Required] The signed transaction data.
Returns
32 bytes. The transaction hash, or the zero hash if the transaction is not yet available. When you create a contract, use eth_getTransactionReceipt
to get the contract address after the transaction has been processed (which should take less than a second).
Example
Request
curl https://rpc.testnet.radiustech.xyz/<YOUR-RPC-ENDPOINT> \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": [
"0xf901968080830493e08080b901456080604052348015600e575f5ffd5b506101298061001c5f395ff3fe6080604052348015600e575f5ffd5b50600436106030575f3560e01c806360fe47b11460345780636d4ce63c14604c575b5f5ffd5b604a60048036038101906046919060a9565b6066565b005b6052606f565b604051605d919060dc565b60405180910390f35b805f8190555050565b5f5f54905090565b5f5ffd5b5f819050919050565b608b81607b565b81146094575f5ffd5b50565b5f8135905060a3816084565b92915050565b5f6020828403121560bb5760ba6077565b5b5f60c6848285016097565b91505092915050565b60d681607b565b82525050565b5f60208201905060ed5f83018460cf565b9291505056fea2646970667358221220c9d450006b906ff115167c8c7bba9154cc401a7b54810387f4dd053155e2b19664736f6c634300081c003383255a45a092b2aa5f92eb91535430e4e6063d8b5b85e09f108cb176f6734761e56f461e7ca0150910a8aa56e4670c2f116b6f189d1dac3d055ce2075c9fbb3d0d7c6e09bb33"
],
"id": 1
}
'
Response
{
"jsonrpc": "2.0",
"result": "0x981ae62ff26ae150f69ec3073e551c84cf5209c49c481b3df494ec68931f7960",
"id": 1
}
Last updated
Was this helpful?