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

Parameters

  • data — the hash of the block
  • quantity — the transaction index position

Response

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

eth_getTransactionByBlockHashAndIndex code examples

Body

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

Hash of the block.

Response

200 - application/json

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

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