post https://api.infstones.com/theta/mainnet/
Submits a pre-signed transaction for broadcast to the Ethereum network.
Parameters
Object Name | Required | Type | Detail |
---|---|---|---|
TRANSACTION DATA | ✅ | String | The signed transaction data. |
"params":[
"0xf86d8202b28477359400825208944592d8f8d7b001e72cb26a73e4fa1806a51ac79d880de0b6b3a7640000802ca05924bde7ef10aa88db9c66dd4f5fb16b46dff2319b9968be983118b57bb50562a001b24b31010004f13d9a26b320845257a6cfc2bf819a3d55e3fc86263c5f0772"
]
Result
The transaction hash, or the zero hash if the transaction is not yet available.
Example
Request
curl <your-endpoint> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params": ["0xf86d8202b28477359400825208944592d8f8d7b001e72cb26a73e4fa1806a51ac79d880de0b6b3a7640000802ca05924bde7ef10aa88db9c66dd4f5fb16b46dff2319b9968be983118b57bb50562a001b24b31010004f13d9a26b320845257a6cfc2bf819a3d55e3fc86263c5f0772"],"id":1}'
Return
{
"id": 1,
"jsonrpc": "2.0",
"result": "0xc429e5f128387d224ba8bed6885e86525e14bfdc2eb24b5e9c3351a1176fd81f"
}