POSTeth_getTransactionByBlockNumberAndIndex
https://polygon-mainnet.nodit.io/Returns the transaction information for the specified block number and transaction index.
Pass the following parameters as an array with the appropriate types.
block number or block tag: Block number as hex string, or block tag such as "earliest", "latest", "pending".transaction index: The transaction index as a hex string.
Use one of block number or block tag to specify a block.
- Block number: hex string (ex. "0x1")
- Block tag: enum string (ex. "latest", "earliest", "pending")
earliest: The oldest available block on the chain.finalized: A recently finalized block that can no longer be changed. Primarily used in proof-of-stake (PoS) blockchains.safe: A recent block considered safe by the network (immune to reorgs).latest: The most recent block on the chain (may be subject to reorgs).pending: The next block to be mined, including pending transactions in the mempool.
Use one of block number or block tag to specify a block.
- Block number: hex string (ex. "0x1")
- Block tag: enum string (ex. "latest", "earliest", "pending")
earliest: The oldest available block on the chain.finalized: A recently finalized block that can no longer be changed. Primarily used in proof-of-stake (PoS) blockchains.safe: A recent block considered safe by the network (immune to reorgs).latest: The most recent block on the chain (may be subject to reorgs).pending: The next block to be mined, including pending transactions in the mempool.
Hash of the block containing this transaction. Null for pending transactions
Block number containing this transaction (hex). Null for pending transactions
Sender address of the transaction
Gas limit set for the transaction (hex)
Gas price (hex, in wei)
Maximum priority fee per gas (EIP-1559, hex)
Maximum fee per gas (EIP-1559, hex)
Transaction hash
Transaction input data (hex)
Number of transactions sent by the sender prior to this one (hex)
Recipient address. Null for contract creation transactions
Transaction position index within the block (hex). Null for pending transactions
Amount of ETH transferred (hex, in wei)
Transaction type (0x0=Legacy, 0x1=EIP-2930, 0x2=EIP-1559)
Contract address to be accessed
Storage keys to be accessed
Chain ID of the network this transaction belongs to (hex)
ECDSA signature v value
ECDSA signature r value
ECDSA signature s value