Get 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.
Body
application/json
JSON-RPC request envelope.
jsonrpcstring2.0requiredJSON-RPC protocol version.
methodstringeth_getTransactionByBlockHashAndIndexrequiredJSON-RPC method name.
paramsArray<string>requiredParameters:
- blockHash (string): The 32-byte hash of the block.
- transactionIndex (string): The transaction index (hex).
idintegerrequiredIdentifier echoed in the response.
Response
200OK
A transaction object or null if no transaction was found.