Skip to main content

Parameters

chainId
string
default:"151"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"eth_sendTransaction"
required
JSON-RPC method name.
params
object
required
Parameters for eth_sendTransaction: [transactionObject]Positional parameters for eth_sendTransaction:
  • params[]: Legacy transaction (pre-EIP-2718).

Returns

result
string
32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available. Example: “0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09”.