eth_sendPrivateTransaction

Send a single private transaction through Flashbots. Private transactions are sent directly to validators and not included in the public mempool.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
txstringRequiredformat: "^0x[0-9a-fA-F]*$"Defaults to 0x02f87205158459682f00850c51e9727a82520894477db63b8e73aea96f201c3c4f5e8fbfcdd18b5c87038d7ea4c6800080c080a0312d6375e578ab953a41456d4be583a46dced97a9e38f349bb8e7b63d14cfc1ea001daea40332180670568a1864e6d3f910b194903128d4a0a5c499597f3f6ff40
Raw, signed transaction.
maxBlockNumberstringOptionalformat: "^0[xX]([1-9A-Fa-f]+[0-9A-Fa-f]*|0)$"Defaults to 0x2540BE400

Hex-encoded number for the highest block number in which the transaction should be included.

preferencesobjectOptional
Transaction preferences.

Response

Returns the transaction hash (32-byte hex string).