BlockchainAddressData (for Cardano)

BlockchainAddressData["address"]

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

BlockchainAddressData[addressSpec,prop]

gives the specified property of the Cardano blockchain address.

Details

  • The blockchain address can be specified as follows:
  • "address"address on the Cardano mainnet blockchain
    "chain""address"address on the specified public blockchain
    {"chain","network"}"address"address on a specific network for a Cardano blockchain
  • For payment addresses, properties include:
  • "Address"Cardano address
    "Balance"current value of the balance in lovelace
    "ValueInUSDollars"current value of the balance in US dollars
    "AssetBalances"summary list of assets owned by the address
    "TotalUTXO"total number of unspent transaction outputs associated to this address
    "UTXOList"summary list of unspent transaction outputs of this address
    "TotalTransactions"total number of transactions associated to this address
    "TransactionList"summary list of recent transactions of the address
  • For stake addresses, properties include:
  • "Address"Cardano address
    "TotalWithdrawn"total value of withdrawn rewards in lovelace
    "ValueInUSDollars"total value of withdrawn rewards in US dollars
    "WithdrawalList"summary list of recent withdrawal transactions of the address
  • "AssetBalances" gives a list of associations with the following properties as their keys:
  • "AssetID"asset ID of the token (policy ID concatenated with asset name)
    "AssetName"asset name of the token
    "PolicyID"token policy ID
    "Fingerprint"encoded token asset ID
    "Quantity"token amount owned by the address
  • Possible options include:
  • BlockchainBase Automaticsets the blockchain and its network
    MaxItems 20the maximum number of items to return
  • BlockchainAddressData can access the Cardano mainnet (default) and testnet "preprod", which is a new network for testing purposes. 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  (4)

Get information about a non-staking address from the Cardano blockchain:

Get information about a stake address from the Cardano blockchain:

Get a property from a Cardano address:

Get multiple properties from a Cardano address:

Scope  (11)

Address  (1)

Get the address that matches the provided one:

AssetBalances  (1)

Get the balance of assets of a Cardano address:

Balance  (1)

Get the current balance of a Cardano account:

TotalTransactions  (1)

Get the total number of transactions of a Cardano address:

TotalUTXO  (1)

Get the total amount of UTXOs of a Cardano address:

TotalWithdrawals  (1)

Get the total number of withdrawals of a Cardano stake address:

TotalWithdrawn  (1)

Get the total withdrawn amount of a Cardano stake address:

TransactionList  (1)

Get the list of transactions associated with a Cardano address:

UTXOList  (1)

Get the list of UTXOs of a Cardano address:

ValueInUSDollars  (1)

Get the current balance of a Cardano address balance in US dollars:

WithdrawalList  (1)

Get the list of withdrawals associated with a Cardano stake address:

Options  (3)

BlockchainBase  (2)

Mainnet  (1)

Get information from a Cardano mainnet address:

Testnet  (1)

Get information from a Cardano testnet address:

MaxItems  (1)

List the last 5 transactions for a Cardano address:

Applications  (1)

Create a simple gallery of NFTs owned by an address:

Properties & Relations  (1)

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 (2021), BlockchainAddressData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Cardano.html.

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_blockchainaddressdata, author="Wolfram Research", title="{BlockchainAddressData}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Cardano.html}", note=[Accessed: 25-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_blockchainaddressdata, organization={Wolfram Research}, title={BlockchainAddressData}, year={2021}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Cardano.html}, note=[Accessed: 25-November-2024 ]}