Skip to main content
POST
eth_getTransactionByBlockNumberAndIndex
Robinhood Chain API method that returns information about a transaction by block number and transaction index position.

Parameters

  • quantity or tag — the block number in hex format or block tag (latest, earliest, pending, safe, finalized)
  • quantity — the transaction index position

Response

  • object — a transaction object, or null when no transaction was found

eth_getTransactionByBlockNumberAndIndex code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_getTransactionByBlockNumberAndIndex
params
string[]

Block number or tag (latest, earliest, pending).

Response

200 - application/json

Returns information about a transaction by block number and transaction index position.

jsonrpc
string
id
integer
result
object | null
Last modified on July 18, 2026