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:
result
: a transaction object, ornull
when no transaction was found. For details, seeeth_getTransactionByHash
.
Example:
"params": [
"0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331",
"0x0" // 0
]
Request
Query Parameters
apikey stringrequired
Your API key
- application/json
Body
id integer
jsonrpc string
method string
params string[]
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
jsonrpc string
id integer
result string
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
Loading...
Was this helpful?
Happy React is loading...