eth_sendPrivateRawTransaction
both method eth_sendPrivateRawTransaction
or eth_sendRawTransaction
are supported in jet builder.
The RPC has the following payload format:
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendPrivateRawTransaction", // also support eth_sendRawTransaction
"params": ["0x123abc..."] // signed raw transaction
}
Params Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendPrivateRawTransaction",
"params": ["0x123abc..."]
}
Response Example:
{
"jsonrpc": "2.0",
"id": "123",
"result": "0x2228f5d...." // tx Hash
}