Skip to main content

eth_getTransactionByBlockNumberAndIndex

POST 

/

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

Parameters:

  • blockNumber: the hash (32 bytes) of the block or the string 'earliest', 'latest' or 'pending'.
  • index: a hex-encoded integer representing the position in the block.

Returns:

Example:

"params": [
"0x29c",
"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...