Private Transactions RPC Endpoint
The method
eth_sendPrivateTransaction
is used to send private transactions to the Blocknative Block Builder. To interact directly with the Blocknative RPC endpoint use the following URLs:Network | URL |
---|---|
Mainnet | |
Goerli |
To send a single transaction use
eth_sendPrivateTransaction
.This method has the following JSON-RPC payload format:
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendPrivateTransaction",
"params": [{
tx // String, raw signed transaction
}]
}
Example request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendPrivateTransaction",
"params": [
{
"tx": "0x123abc..."
}
]
}
Example response:
{
"jsonrpc": '2.0',
"id": 1,
"result": {
txHash: '0x0e8d6f0ee4110321c3c4dcdc194abe85786902996f7001906804ff688ddb3394'
}
}
Last modified 1mo ago