Skip to main content

ankr_getTransactionsByHash

Look up a transaction by hash, optionally with decoded data and logs

POST 

/?ankr_getTransactionsByHash

Returns the transaction(s) matching a single hash. Optionally embeds logs and resolves method/event signatures to human-readable form.

Pass transactionHash. Multi-chain dispatch is automatic — Ankr will search across supported chains and return the transaction with its blockchain field populated. Use includeLogs, decodeTxData, and decodeLogs for richer responses; you can optionally scope the search with the blockchain array.

Part of the Query API product (700 compute units per call, $0.00007 at base rate).

Request

Responses

Success. JSON-RPC result envelope contains the transactions array (usually a single entry). JSON-RPC errors are returned with HTTP 200; check the response body for an error key.