Get a transaction by block hash and index
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the transaction from a block using the block's hash and the transaction's index position within the block.
Changed in the 29 August 2026 network upgrade.
authorizationListis returned on EIP-7702 set-code transactions (type: "0x4"), supported since the 29 August 2026 upgrade.feeRefundis now omitted when the node has no refund value for the transaction - most visibly on transactions still in the pool, where"0x0"used to be returned. Treat a missingfeeRefundas unknown, not as zero.
Body
application/json
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredParameters:
- blockHash (string): The 32-byte hash of the block.
- transactionIndex (string): The transaction index (hex).
idintegerrequiredResponse
200OK
A transaction object or null if no transaction was found.
405Method Not Allowed
Method not served by this endpoint. The body is the plain-text string
Method Not Allowed, not JSON.
422Unprocessable Entity
Missing API key - the api-key header was absent. The body is the
plain-text string Missing API_key, not JSON.