BlockchainTransactionData (for bloxberg)

BlockchainTransactionData[txid]

gives information about the blockchain transaction with ID txid on the bloxberg 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
    "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
    "Fee"fee paid for this transaction
    "TransactionCount"number of the transactions sent by the sender address
    "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
  • 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. "Ethernity Token")
    "Symbol"symbol for the token (e.g. "ETNY")
    "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 bloxberg blockchain. To specify this network, use the BlockchainBase option.

Examples

open allclose all

Basic Examples  (4)

Get information about a transaction from the bloxberg blockchain:

Get data from multiple bloxberg transactions by providing a list of transaction IDs:

Get the amount included in a transaction:

Get multiple properties from a bloxberg transaction:

Scope  (21)

Amount  (1)

Get the total amount of berg exchanged in a bloxberg transaction:

BlockHash  (1)

Get the hash of the block containing a bloxberg transaction:

BlockNumber  (1)

Get the height of the block containing a bloxberg transaction:

Confirmations  (1)

Get the confirmations of the block containing a bloxberg transaction:

ContractAddress  (1)

Get the address of the contract created in a bloxberg transaction:

DigitalSignature  (1)

Get the digital signature of a bloxberg transaction:

EventList  (1)

Get the list of events emitted by a bloxberg transaction:

Fee  (1)

Get the fee included in a bloxberg transaction:

GasUsed  (1)

Get the amount of gas used in a bloxberg transaction:

InputData  (1)

Get the data sent along with a bloxberg transaction:

InternalTransactionList  (1)

Get the list of internal transactions triggered by a bloxberg transaction:

Receiver  (1)

Get the address of the receiver of a bloxberg transaction:

Sender  (1)

Get the address of the sender of a bloxberg transaction:

SenderPublicKey  (1)

Get the public key of a bloxberg transaction's sender:

Status  (1)

Get the status of a bloxberg transaction:

Timestamp  (1)

Get the timestamp of a bloxberg transaction:

TokenTransferList  (1)

Get the list of token transfers that took place within a bloxberg transaction:

TransactionCount  (1)

Get the number of transactions sent by a bloxberg transaction's sender address:

TransactionDigest  (1)

Get the digest of a bloxberg transaction's sender address:

TransactionID  (1)

Get the transaction ID that matches the provided one:

TransactionIndex  (1)

Get the index of a bloxberg transaction within a block:

Options  (1)

BlockchainBase  (1)

Bloxberg  (1)

Get information from a bloxberg transaction:

Applications  (1)

Get information on a bloxberg block:

Randomly select a transaction from this block:

Get detailed information for this transaction:

Properties & Relations  (2)

Encoding the public key provided by "SenderPublicKey" returns the sender address:

Verify the authenticity of the signature by using the transaction digest and public key:

Possible Issues  (2)

Nonexistent Hashes  (1)

Using a transaction ID that does not exist in the blockchain will return a Missing output:

Incorrect Hashes  (1)

Providing a transaction ID that is not a hex number will return a $Failed output:

Wolfram Research (2020), BlockchainTransactionData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-bloxberg.html.

Text

Wolfram Research (2020), BlockchainTransactionData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-bloxberg.html.

CMS

Wolfram Language. 2020. "BlockchainTransactionData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-bloxberg.html.

APA

Wolfram Language. (2020). BlockchainTransactionData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-bloxberg.html

BibTeX

@misc{reference.wolfram_2024_blockchaintransactiondata, author="Wolfram Research", title="{BlockchainTransactionData}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-bloxberg.html}", note=[Accessed: 26-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_blockchaintransactiondata, organization={Wolfram Research}, title={BlockchainTransactionData}, year={2020}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-bloxberg.html}, note=[Accessed: 26-April-2024 ]}