Home

Get a transaction by block number and index

POST
https://vinu.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the information about a transaction using the block number and the transaction index within the block.

Changed in the 29 August 2026 network upgrade.

  • authorizationList is returned on EIP-7702 set-code transactions (type: "0x4"), supported since the 29 August 2026 upgrade.
  • feeRefund is 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 missing feeRefund as unknown, not as zero.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

Parameters:

  1. Block number in hex format (e.g., "0x5daf3b")
  2. Transaction index in the block (e.g., "0x0")
idintegerrequired

Response

200OK

A transaction object, or null if not 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.