eth

Ethereum (ETH)

Method: POST priv_getPrivateTransaction

dropdown
POST

priv_getPrivateTransaction

Method not allowed

Returns the private transaction if you are a participant, otherwise, null.

Parameters

data - None

Transaction hash returned by eea_sendRawTransaction or eea_sendTransaction.

Request

curl --location --request POST 'https://eth.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "priv_getPrivateTransaction",
"params": [null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}