Eth_getTransactionByHash

Get transaction by hash

post

Sends a JSON-RPC request to retrieve a transaction by its hash. Returns the transaction object if found, otherwise returns null.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstringRequiredExample: eth_getTransactionByHash
paramsstring · hex[] · min: 1 · max: 1Required

Array containing a single transaction hash

Example: ["0x3f1c7f9e684bbd292f3b849df4c03ff4ffbd83ad2c6cb136a20ee2ebded7df72"]
idintegerRequiredExample: 1
Responses
chevron-right
200

Transaction object or null

application/json
jsonrpcstringOptionalExample: 2.0
idintegerOptionalExample: 1
resultone ofOptional
or
stringOptional

Returned if transaction not found

post
/
200

Transaction object or null

Last updated