BlockchainTransactionData (for Ethereum)
BlockchainTransactionData[txid]
gives information about the blockchain transaction with ID txid on the Ethereum blockchain.
BlockchainTransactionData[txid,prop]
gives the specified property of the transaction.
Details
- Properties include:
-
"TransactionID" transaction ID "BlockHash" hash of the block containing the transaction "BlockNumber" height of the block containing the transaction "Confirmations" blocks confirming the block containing the transaction "Timestamp" timestamp for the transaction "Status" indicates whether the transaction executed successfully "StateRoot" 32 bytes of post-transaction state root (pre-Byzantium) "TransactionIndex" index of the transaction within the block "Sender" sender address of the transaction "Receiver" receiver address of the transaction "Amount" total number of ether exchanged in this transaction "ContractAddress" address of the contract created in the transaction "GasUsed" amount of gas used by this transaction "GasPrice" price of gas in this transaction in wei "Fee" fee paid for this transaction "TransactionCount" number of the transactions sent by the sender address "ByteCount" transaction size in bytes "InputData" the data sent along with the transaction "TransactionDigest" hash of the transaction data used to sign it "DigitalSignature" digital signature of the transaction "SenderPublicKey" public key of the sender derived from the digital signature "EventList" list of events emitted by transaction "TokenTransferList" list of token transfers that took place within the transaction "InternalTransactionList" list of internal transactions triggered by transaction - "StateRoot" property appears only for transactions made before Byzantium hard fork (block 4370000) and "Status" property appears only for transactions after that.
- The value "EventList" is a list of associations with the following elements:
-
"Address" address of the contract that triggered the event "Topics" event's parameters indexed in the transaction receipt log "Data" event's parameters encoded in the transaction receipt log - The value "TokenTransferList" is a list of associations with the following elements:
-
"Name" name of the token (e.g. "Tronix") "Symbol" symbol for the token (e.g. "CK") "Sender" sender address of the token "Receiver" receiver address of the token "Amount" amount of tokens sent (only for "ERC20") "TokenID" ID of token sent (only for "ERC721") - The value "InternalTransactionList" is a list of associations with the following elements:
-
"CallType" internal transaction type of execution "Sender" sender address of the internal transaction "Receiver" receiver address of the internal transaction "Amount" amount of the currency transferred internally "GasLimit" maximum amount of gas allowed to be used by the internal call "GasUsed" amount of gas used by this transaction "Input" internal transaction input data "Output" internal transaction output data - BlockchainTransactionData can access the Ethereum mainnet (default) and testnet (Sepolia). To specify these networks, use the BlockchainBase option.
Examples
open allclose allBasic Examples (4)
Scope (24)
InternalTransactionList (1)
TokenTransferList (1)
TransactionCount (1)
Options (2)
Applications (1)
Properties & Relations (2)
Text
Wolfram Research (2019), BlockchainTransactionData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-Ethereum.html.
CMS
Wolfram Language. 2019. "BlockchainTransactionData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-Ethereum.html.
APA
Wolfram Language. (2019). BlockchainTransactionData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-Ethereum.html