Returns information about a transaction by block hash and transaction index position.
Parameters
string
required
Hash of a block (32 bytes).
string
required
Integer of the transaction index position as a hexadecimal string.
Returns
object
A transaction object, or null when no transaction was found.
Error Handling
Transaction indices start at 0x0 for the first transaction in a block. If the index exceeds the number of transactions in the block, null is returned.