Eth getTransactionByBlockNumberAndIndex

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

Request body sample: {"jsonrpc":"2.0","method":"eth_getTransactionByBlockNumberAndIndex","params":["0x29c", "0x0"],"id":1}

POSTeth_getTransactionByBlockNumberAndIndex
Body
idinteger
jsonrpcstring
methodstring
paramsnullable array of any
Response

OK

Body
idinteger
jsonrpcstring
resultstring
Request
const response = await fetch('eth_getTransactionByBlockNumberAndIndex', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "id": 0,
  "jsonrpc": "text",
  "result": "text"
}