Skip to main content

eth_getTransactionByBlockHashAndIndex

POST 

/

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

Parameters:

  • hash: the hash (32 bytes) of the block.
  • index: a hex-encoded integer representing the position in the block.

Returns:

Example:

"params": [
"0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331",
"0x0" // 0
]

Request

Query Parameters

    apikey stringrequired

    Your API key

Body

    id integer
    jsonrpc string
    method string
    params string[]

Responses

Successful response

Schema

    jsonrpc string
    id integer
    result string
Loading...