Learn R Programming

gethr (version 0.1.0)

eth_getTransactionByBlockHashAndIndex: Transaction information given a block hash and an index position.

Description

eth_getTransactionByBlockHashAndIndex returns information about a transaction by block hash and transaction index position.

Usage

eth_getTransactionByBlockHashAndIndex(block_hash, trans_index,
  hex = TRUE)

Arguments

block_hash

Hash - Hash of a block.

trans_index

Integer - Transaction index position.

hex

Boolean - true to get the response in hexadecimal, false to get a readable response.

Value

Object - A transaction object, or null when no transaction was found.

See Also

Other eth functions: eth_accounts, eth_blockNumber, eth_call, eth_coinbase, eth_estimateGas, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getFilterChanges, eth_getFilterLogs, eth_getLogs, eth_getProof, eth_getStorageAt, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_getUncleByBlockHashAndIndex, eth_getUncleByBlockNumberAndIndex, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber, eth_getWork, eth_hashrate, eth_mining, eth_newBlockFilter, eth_newFilter, eth_newPendingTransactionFilter, eth_protocolVersion, eth_sendRawTransaction, eth_sendTransaction, eth_sign, eth_submitHashrate, eth_submitWork, eth_syncing, eth_uninstallFilter, gethr, personal_sendTransaction

Examples

Run this code
# NOT RUN {
eth_getTransactionByBlockHashAndIndex('0xb69e76f3997f318f4385f31885576aa43cb
40ad4ed8938718e150320ff48f528', 0)
eth_getTransactionByBlockHashAndIndex('0x9f965e1d082ffe457247befe92089d8fc2e
63015c12f373bd0d61d3ab76c6d05', 10, FALSE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab