⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!
Fuse.io (FUSE)
Method: POST eth_getTransactionByBlockNumberAndIndex
Returns information about a transaction by block number and transaction index position.
QUANTITY|TAG
- integer or string
block number or "latest", "earliest" or "pending"
QUANTITY
- integer
Transaction index position.
curl --location --request POST 'https://fuse.getblock.io/mainnet/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["latest", "0x0"], "id": "getblock.io"}'
{ "id": "getblock.io", "jsonrpc": "2.0", "result": { "blockHash": "0xaf5f5537913aca3b6727a5a95371a860f5d018fdbb3690121e076e888be2e51a", "blockNumber": "0xc6e69d", "chainId": "0x7a", "condition": null, "creates": null, "from": "0x29fc3dead75887ea90bc95e5dc2472fde100a956", "gas": "0x21caa", "gasPrice": "0x3b9aca00", "hash": "0x2cfc09abdca69650eb8afbb4a2c75ada99879b7cc1f249193d86b978dbee7f4c", "input": "0x4e71d92d", "nonce": "0x1", "publicKey": "0x034bad4ef0f4199c9ecaf31b89a6fbddb48cd1edd788f1a42482dcffaf757a280db4332d946422fb6f83f013fc208fb029b5e9af60e044994298034fac39848c", "r": "0x5e98d5d47c43cde76a2e4a976dfbd6be65dd638c408e66264e9bda5fc8fb23aa", "raw": "0xf86a01843b9aca0083021caa94d7ac544f8a570c4d8764c3aabcf6870cbd960d0d80844e71d92d820117a05e98d5d47c43cde76a2e4a976dfbd6be65dd638c408e66264e9bda5fc8fb23aaa02672958e7669b8aea0ff4a9560be138137428ff3d0a77da42ce4db0d957bfe32", "s": "0x2672958e7669b8aea0ff4a9560be138137428ff3d0a77da42ce4db0d957bfe32", "standardV": "0x0", "to": "0xd7ac544f8a570c4d8764c3aabcf6870cbd960d0d", "transactionIndex": "0x0", "v": "0x117", "value": "0x0" } }