ankr_getTransactionsByHash

Retrieves details of the transaction specified by its hash.

Request

This endpoint expects an object.
transactionHashstringRequired
Hash of the transaction.
blockchainenum or list of enumsOptional

Name of the blockchain or list of blockchain names. Single: eth. Multiple: [eth, bsc, fantom, avalanche, polygon, arbitrum, syscoin, optimism, eth_goerli, polygon_mumbai, avalanche_fuji]. All chains: empty value.

decodeLogsbooleanOptional

Decode logs (true) or not (false).

decodeTxDatabooleanOptional

Decode transaction data (true) or not (false).

includeLogsbooleanOptional

Include logs (true) or exclude them (false).

Response

Result returned by ankr_getTransactionsByHash.

transactionslist of objects or null