BlockchainTransactionData (for Tezos)

BlockchainTransactionData[txid]

gives information about the blockchain operations with ID txid on the Tezos blockchain.

BlockchainTransactionData[txid,prop]

gives the specified property of the operations.

Details

  • BlockchainTransactionData returns a list of operations associated to a Tezos operation ID.
  • Common properties include:
  • "TransactionID"operation ID
    "BlockHash"hash of the block containing the operation
    "BlockNumber"height of the block containing the operation
    "Confirmations"blocks confirming the block containing the operation
    "Timestamp"timestamp for the operation
    "Type"operation type
  • For operations of type "Transaction", additional properties include:
  • "SenderPublicKey"public key of the sender of the operation
    "Signature"signature of the sender of the operation
    "TransactionCount"number of the operations sent by the sender address
    "Fees"fees paid for this operation
    "GasLimit"maximum amount of gas for execution
    "GasUsed"amount of gas used by this operation
    "StorageLimit"cap on the amount of storage a given operation can consume
    "StorageUsed"amount of storage consumed by the operation
    "Status"operation status
    "Errors"errors provided by the node when submitting the operation
    "Amount"total number of tez exchanged in this operation
    "Parameters"Micheline parameters sent to a contract
    "InternalTransactionList"list of internal operations
    "Sender"address of the transaction's sender
    "Target"target address of the transaction
  • For operations of type "Delegation", additional properties include:
  • "SenderPublicKey"public key of the sender of the operation
    "Signature"signature of the sender of the operation
    "TransactionCount"number of the operations sent by the sender address
    "Fees"fees paid for this operation
    "GasLimit"maximum amount of gas for execution
    "GasUsed"amount of gas used by this operation
    "StorageLimit"cap on the amount of storage a given operation can consume
    "StorageUsed"amount of storage consumed by the operation
    "Status"operation status
    "Errors"errors provided by the node when submitting the operation
    "Amount"total number of tez exchanged in this operation
    "Sender"address of the operation's sender
    "Delegate"address of the delegate associated to the operation
    "PreviousDelegate"address of the previous delegate of the sender
  • For operations of type "Origination", additional properties include:
  • "SenderPublicKey"public key of the sender of the operation
    "Signature"signature of the sender of the operation
    "TransactionCount"number of the operations sent by the sender address
    "Fees"fees paid for this operation
    "GasLimit"maximum amount of gas for execution
    "GasUsed"amount of gas used by this operation
    "StorageLimit"cap on the amount of storage a given operation can consume
    "StorageUsed"amount of storage consumed by the operation
    "Status"operation status
    "Errors"errors provided by the node when submitting the operation
    "Balance"contract origination balance
    "Sender"sender address of the operation
    "Manager"address of the account that was marked as a manager in the operation
    "Delegate"address of the delegate associated to the operation
    "Contract"contract address
  • For operations of type "Reveal", additional properties include:
  • "SenderPublicKey"public key of the sender of the operation
    "Signature"signature of the sender of the operation
    "TransactionCount"number of the operations sent by the sender address
    "Fees"fees paid for this operation
    "GasLimit"maximum amount of gas for execution
    "GasUsed"amount of gas used by this operation
    "StorageLimit"cap on the amount of storage a given operation can consume
    "StorageUsed"amount of storage consumed by the operation
    "Status"operation status
    "Errors"errors provided by the node when submitting the operation
    "Sender"address of the operation's sender
  • For operations of type "DoubleBaking", additional properties include:
  • "AccusedBlockNumber"height of the block that was double baked [DoubleBaking]
    "AccuserReward"reward of the accuser in tez
    "OffenderLoss"amount lost by accused baker
    "Accuser"address of the accuser
    "Offender"address of the offender
  • For operations of type "DoubleEndorsing", additional properties include:
  • "Signature"signature of the sender of the operation
    "AccusedBlockNumber"height of the block at which double endorsing occurred
    "AccuserReward"reward of the accuser in tez
    "OffenderLoss"amount lost by accused baker
    "Accuser"address of the accuser
    "Offender"address of the offender
  • For operations of type "Endorsement", additional properties include:
  • "SenderPublicKey"public key of the sender of the operation
    "Signature"signature of the sender of the operation
    "Slots"number of endorsement slots assigned to the baker who sent the operation
    "Reward"reward of the baker
    "Delegate"address of the baker (delegate) who sent the operation
  • For operations of type "NonceRevelation", additional properties include:
  • "RevealedBlockNumber"height of the block where seed nonce hash is stored
    "Baker"address of the baker revealing a nonce
    "Sender"address of the operation's sender
  • For operations of type "Activation", additional properties include:
  • "Balance"account activation balance
    "Account"address of the activated account
  • For operations of type "Ballot", additional properties include:
  • "SenderPublicKey"public key of the sender of the operation
    "Signature"signature of the sender of the operation
    "VotingPower"baker's voting power
    "Vote"vote given in the ballot (yay, nay or pass)
    "Sender"address of the operation's sender
    "VotingPeriodIndex"index of voting period
    "VotingPeriodKind"kind of voting period
    "ProposalHash"hash of voting proposal
  • For operations of type "Proposal", additional properties include:
  • "SenderPublicKey"public key of the sender of the operation
    "Signature"signature of the sender of the operation
    "VotingPower"baker's voting power
    "Duplicated"whether proposal upvote has already been pushed
    "Sender"address of the operation's sender
    "VotingPeriodIndex"index of voting period
    "VotingPeriodKind"kind of voting period
    "ProposalHash"hash of voting proposal
  • "InternalTransactionList" can include operations of types "Transaction", "Delegation" and "Origination" and gives an association with a subset of the corresponding operation properties; additionally, these keys are included:
  • "Initiator"address of the initiator of the transaction call
    "InternalTransactionCount"number (nonce) used to prevent internal operation replay
  • "Status" can return the following values:
  • "Applied"an operation applied by the node and successfully added to the blockchain
    "Failed"an operation that failed with some particular error
    "Backtracked"an operation that was successful but reverted because one of the following operations in the same operation group failed
    "Skipped"all operations after the failed one in an operation group
  • "VotingPeriodKind" can return the following values:
  • "Proposal"protocol proposal period
    "TestingVote"proposal voting period
    "Testing"proposal testing period
    "PromotionVote"proposal promotion period
  • BlockchainTransactionData can access the Tezos mainnet (default), testnet and voting process testing period chain fork. To specify these networks, use the BlockchainBase option.

Examples

open allclose all

Basic Examples  (4)

Get information about a transaction from the Tezos blockchain:

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

Get the amount included in a transaction:

Get multiple properties from a Tezos transaction:

Scope  (42)

Account  (1)

Get the address of the Tezos account activated by this operation:

AccusedBlockNumber  (1)

Get the height of the accused block:

Accuser  (1)

Get the address of the accuser:

AccuserReward  (1)

Get the accuser reward:

Amount  (1)

Get the amount exchanged in a Tezos transaction:

Baker  (1)

Get the address of the baker revealing a nonce:

Balance  (1)

Get the initial balance of the originated contract:

Get the initial balance of the Tezos account activated by this operation:

BlockHash  (1)

Get the hash of the block containing a Tezos operation:

BlockNumber  (1)

Get the height of the block containing a Tezos operation:

Confirmations  (1)

Get the confirmations of the block containing a Tezos operation:

Contract  (1)

Get the address of the originated contract:

Delegate  (1)

Get the address of the delegate associated to this operation:

Duplicated  (1)

Check if a sent proposal is duplicated:

Errors  (1)

Check if there are errors in an operation submitted to the Tezos blockchain:

Fees  (1)

Get the fees included in a Tezos operation:

GasLimit  (1)

Get the gas limit of a Tezos operation:

GasUsed  (1)

Get the gas used in a Tezos operation:

InternalTransactionList  (1)

Get the internal transactions of a Tezos transaction operation:

Get the initiator of the internal operation:

Get the transaction count (nonce) of the internal operation:

Manager  (1)

Get the address of the account that was marked as a manager in the operation:

Offender  (1)

Get the address of the offender:

OffenderLoss  (1)

Get the amount of frozen security deposit lost by the accused baker:

Parameters  (1)

Get the parameters of a Tezos transaction:

PreviousDelegate  (1)

Get the address of the previous delegate of the sender:

ProposalHash  (1)

Get the hash of the voting proposal:

RevealedBlockNumber  (1)

Get the height of the block where seed nonce hash is stored:

Reward  (1)

Get the reward of the baker who sent the endorsement operation:

VotingPower  (1)

Get the baker's voting power:

Sender  (1)

Get the address of a Tezos operation's sender:

SenderPublicKey  (1)

Get the public key of a Tezos operation's sender:

Signature  (1)

Get the signature of a Tezos operation's sender:

Slots  (1)

Get the number of endorsement slots assigned to the baker who sent the operation:

Status  (1)

Get the status of a Tezos operation:

StorageLimit  (1)

Get the storage limit of a Tezos operation:

StorageUsed  (1)

Get the storage used by a Tezos operation:

Target  (1)

Get the target address of a Tezos transaction:

Timestamp  (1)

Get the timestamp of a Tezos operation:

TransactionCount  (1)

Get the transaction count of a Tezos operation:

TransactionID  (1)

Get the transaction ID that matches the provided one:

Type  (1)

Get a Tezos operation's type:

Vote  (1)

Get vote given in the ballot operation:

VotingPeriodIndex  (1)

Get the index of the voting period:

VotingPeriodKind  (1)

Get the kind of the voting period:

Options  (2)

BlockchainBase  (2)

Mainnet  (1)

Get information from a Tezos mainnet transaction:

Testnet  (1)

Get information from a Tezos testnet transaction:

Possible Issues  (2)

Nonexistent Hashes  (1)

Using a transaction ID from one blockchain in another blockchain will return a Missing output:

Incorrect Hashes  (1)

Providing an invalid transaction ID will return a $Failed output:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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