EVM RPC API
eth_getTransactionByBlockNumberAndIndex
Returns information about a transaction given a block number and transaction index.
Parameters
TAG
- Integer block number or one of “earliest”, “latest” or “pending”QUANTITY
- The transaction index position
Returns
Object
- An object of type Transaction or null when no transaction was found. Seeeth_getTransactionByHash
POST
https://{network}.s.chainbase.online/v1
/
{api-key}
Path Parameters
api-key
string
requiredBody
application/json
id
integer
default: 1requiredjsonrpc
string
default: 2.0requiredmethod
string
default: eth_getTransactionByBlockNumberAndIndexrequiredparams
any[]
requiredResponse
200 - application/json
id
integer
requiredjsonrpc
string
requiredresult
object
required