BlockchainTokenData (for Cardano)

BlockchainTokenData["fingerprint"]

gives general information about tokens with the specified fingerprint on the Cardano blockchain.

BlockchainTokenData[assoc]

gives general information about tokens with properties matching the specification in assoc.

BlockchainTokenData[tokenspec,prop]

gives the specified property of token usage.

Details

  • BlockchainTokenData gives a list of associations, with each association giving the results for a single token.
  • The tokenspec input refers to any input, whether it is a String fingerprint or an Association assoc.
  • In BlockchainTokenData[assoc], the association assoc can have elements with the following keys:
  • "AssetID"ID of the token
    "AssetName"name of the token
    "Fingerprint"fingerprint of the token
    "PolicyID"policy ID of the token
  • Possible options for BlockchainTokenData include:
  • BlockchainBase $BlockchainBasethe blockchain and network to use
    MaxItems 20the maximum number of items to return
  • BlockchainTokenData[tokenspec] gives general information about tokens in associations that include the following elements:
  • "Fingerprint"fingerprint of the token
    "AssetID"ID of the token
    "PolicyID"policy ID of the token
    "AssetName"name of the token
    "TokenMints"list of minting transactions associated to the token
    "MetadataHash"hash of the metadata
    "Name"human-readable name
    "Description"human-readable description
    "Ticker"human-readable ticker
    "Logo"a PNG image file
    "URL"an HTTPS URL (webpage relating to the token)
  • The value for "TokenMints" is a list of associations with the following keys:
  • "Quantity"amount of minted tokens
    "TransactionID"transaction ID
  • BlockchainTokenData[tokenspec,{prop1,prop2,}] includes the propi in each association.
  • BlockchainTokenData 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.

Examples

open allclose all

Basic Examples  (4)

Check specific token information by fingerprint:

Check specific token information by asset ID:

Check specific token information by asset name:

Check specific token information by policy ID:

Scope  (11)

AssetID  (1)

Get the asset ID of a token:

AssetName  (1)

Get the asset name of a token:

Description  (1)

Get the description of a token:

Fingerprint  (1)

Get the fingerprint of a token:

Logo  (1)

Get the logo of a token:

MetadataHash  (1)

Get the metadata hash of a token:

Name  (1)

Get the name of a token:

PolicyID  (1)

Check the policy ID of a token:

Ticker  (1)

Check the ticker of a token:

TokenMints  (1)

Check the minting transactions of a token:

URL  (1)

Get a token's URL:

Options  (3)

BlockchainBase  (2)

Mainnet  (1)

Get information from a token on the Cardano mainnet:

Testnet  (1)

Get information from a token on the Cardano testnet:

MaxItems  (1)

List 5 tokens under one same-policy ID:

Applications  (1)

Visualize an NFT:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_blockchaintokendata, organization={Wolfram Research}, title={BlockchainTokenData}, year={2021}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainTokenData-Cardano.html}, note=[Accessed: 11-October-2024 ]}