BlockchainAddressData (for Tezos)

BlockchainAddressData["address"]

gives available information connected with the specified address on the Tezos blockchain.

BlockchainAddressData[assoc]

gives available information connected with properties matching the specification in assoc.

BlockchainAddressData[addressSpec,prop]

gives the specified property of the Tezos blockchain address.

Details

  • The blockchain address can be specified as follows:
  • "address"address on the Tezos mainnet blockchain
    "chain""address"address on the specified public blockchain
    {"chain","network"}"address"address on a specific network for a Tezos blockchain
  • The addressSpec input refers to any input, whether it is a String address or an Association assoc.
  • In BlockchainAddressData[assoc], the association assoc can have elements with the following keys:
  • "Address"address on the Tezos blockchain
    "TimeInterval"time interval for operations to be included
    "BlockNumberInterval"blocks whose operations should be included
    "BlockNumber"number associated to a specific height on the blockchain
  • Common properties include:
  • "Address"Tezos address
    "Type"type of account
    "FirstBlockNumber"block height of the first operation related to the account
    "LastBlockNumber"height of the block in which the account state was changed last time
    "Balance"current value of the balance in mutez
    "ContractsCount"total number of contracts created and/or managed by the account
    "MigrationsCount"total number of migration operations related to the account
    "Staked"whether the account has staked its balance
    "TotalTransactions"total number of operations associated to this account
    "TotalTransactionsDetails"total number of operations associated to this account grouped by operation type
    "TransactionList"summary list of recent operations of the account
  • For accounts of type "User", additional properties include:
  • "TransactionCount"total number of operations sent by the account
    "Activated"whether the account was activated
    "Delegate"address of the current delegate of the account
    "DelegationBlockNumber"block height of latest delegation
    "PublicKey"associated public key
    "Revealed"whether the public key was revealed
  • For accounts of type "Delegate", additional properties include:
  • "TransactionCount"total number of operations sent by the account
    "Activated"whether the account was activated
    "DelegateData"information about the delegate's baking activity
    "ContractType"type of contract
    "Manager"address of the account that was marked as a manager of the contract
  • For accounts of type "Contract", additional properties include:
  • "Delegate"address of the current delegate of the account
    "DelegationBlockNumber"block height of latest delegation
    "PublicKey"associated public key
    "Revealed"whether the public key was revealed
  • Additional properties when the association assoc contains "BlockNumber", "TimeInterval" or "BlockNumberInterval" elements include:
  • "BlockTransactions"total number of operations associated with the specified blocks
    "BlockTransactionsDetails"total number of operations associated with the specified blocks grouped by operation type
  • If the association assoc contains "BlockNumberInterval" or "TimeInterval", the output will include only a subset of available properties.
  • "DelegateData" gives an association with the following properties as its keys:
  • "ActivationBlockNumber"block height when delegate was registered as a baker last time
    "DeactivationBlockNumber"block height when delegate was deactivated as a baker because of lack of funds or inactivity
    "FrozenDeposits"amount of security deposit currently locked for baked blocks and/or given endorsements
    "FrozenRewards"amount of currently frozen baking rewards
    "FrozenFees"amount of currently frozen fees paid by operations inside blocks baked by the delegate
    "DelegatorsCount"number of current accounts that delegated their funds to the delegate
    "StakingBalance"delegate's balance and delegated funds minus frozen rewards
    "BlocksCount"total number of baked blocks by the delegate
    "RevelationPenaltiesCount"total number of operations in which rewards were lost due to unrevealed seed nonces by the delegate
  • "TransactionList" gives a list of associations with a subset of properties from BlockchainTransactionData as their keys.
  • "ContractType" can return the following values:
  • "DelegateContract"contract used to delegate funds
    "SmartContract"general purpose contract
  • Possible options include:
  • BlockchainBaseAutomaticsets the blockchain and its network
    MaxItems20the maximum number of items to return
  • BlockchainAddressData can access the Tezos mainnet (default), testnet and voting process testing period chain fork. To specify these networks, use the BlockchainBase option.
  • The setting for MaxItems specifies the maximum number of operations to include in the result.

Examples

open allclose all

Basic Examples  (7)

Get information about a user account from the Tezos blockchain:

More information will be shown if the account belongs to a delegate:

Get data of an account after block 1,110,526 was baked:

Filter the operations of a specific account by blocks:

Filter the operations counts of a specific account by time:

Get a property from a Tezos account:

Get multiple properties from a Tezos account:

Scope  (22)

Activated  (1)

Check whether the account was activated:

Address  (1)

Get the address that matches the provided one:

Balance  (1)

Get the current balance of a Tezos account:

BlockTransactions  (1)

Get the total number of operations associated with the specified block interval:

BlockTransactionsDetails  (1)

Get the total number of operations associated with the specified block interval grouped by operation type:

ContractsCount  (1)

Get the total number of contracts created or managed by a Tezos account:

ContractType  (1)

Get the type of contract using its address:

Delegate  (1)

Get the address of the current delegate of a Tezos account:

DelegateData  (1)

Get the delegate's baking activity information:

DelegationBlockNumber  (1)

Get the block height of latest delegation associated to a Tezos account:

FirstBlockNumber  (1)

Get the block height of the first operation related to the Tezos account:

LastBlockNumber  (1)

Get the height of the block in which the Tezos account state was changed last time:

Manager  (1)

Get the address of the account that was marked as a manager of the Tezos contract:

MigrationsCount  (1)

Get the total number of migrations related to the Tezos account:

PublicKey  (1)

Get the public key associated to a Tezos account:

Revealed  (1)

Check if a Tezos account has been revealed:

Staked  (1)

Check whether the Tezos account has staked its balance:

TotalTransactions  (1)

Get the total amount of operations associated to a Tezos account:

TotalTransactionsDetails  (1)

Get the total amount of operations associated to a Tezos account grouped by type:

TransactionCount  (1)

Get the total number of operations sent by the Tezos account:

TransactionList  (1)

Get the list of recent operations associated with a Tezos account:

Type  (1)

Get a Tezos account type:

Options  (3)

BlockchainBase  (2)

Mainnet  (1)

Get information from a delegate in the Tezos mainnet:

Testnet  (1)

Get information from a delegate in the Tezos testnet:

MaxItems  (1)

List the last 10 operations for a Tezos account:

Properties & Relations  (2)

A Tezos account can be specified in three different forms:

All are equivalent:

The value returned by the "Address" property is the same as the provided address:

Possible Issues  (2)

Nonexistent Addresses  (1)

Using an address from one network in another network will return a Missing output:

Incorrect Addresses  (1)

Providing an invalid address, public key or username will return a $Failed output:

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

Text

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

BibTeX

@misc{reference.wolfram_2021_blockchainaddressdata, author="Wolfram Research", title="{BlockchainAddressData}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Tezos.html}", note=[Accessed: 28-July-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_blockchainaddressdata, organization={Wolfram Research}, title={BlockchainAddressData}, year={2020}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Tezos.html}, note=[Accessed: 28-July-2021 ]}

CMS

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

APA

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