({{, (RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])["name"]
gives information about the use of tokens with the specified name on a blockchain.}, {, (RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])["sym"]
gives information about tokens with symbol sym.}, {, (RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])["address"]
gives information about tokens associated with the specified address.}, {, (RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])[assoc]
gives information about tokens with properties matching the specification in assoc.}, {, (RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])[tokenspec,prop]
gives the specified property of token usage.}})

OpenersNotesSection(Spacer1)Details and Options

In (RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])["name"], name can either be the name assigned to a specific token (e.g. "Tronix") or the standard for a class of tokens (e.g. "ERC721").

The tokenspec input refers to any input, whether it is a (RefLink[String, paclet:ref/String]) name or an (RefLink[Association, paclet:ref/Association]) assoc.

In (RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])[assoc], the association assoc can have elements with the following keys:

Any key that is omitted is assumed to allow any value. This can also be specified using "key"->(RefLink[All, paclet:ref/All]).

The "TimeInterval" can be given as a single (RefLink[DateObject, paclet:ref/DateObject]) with a specified granularity, or as a list of start-and-end-date objects.

Possible options for (RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData]) include:

(RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData]) gives a list of associations, with each association giving the results for a single token.

The setting for (RefLink[MaxItems, paclet:ref/MaxItems]) specifies the maximum number of holders, transfers, sender addresses and receiver addresses to include in each result.

(RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])[tokenspec] by default gives associations with the following elements:

(RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])[tokenspec,prop] also supports the following additional properties:

Properties supported for specific token types include:

(RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])[tokenspec,{(Subscript[prop, 1]),(Subscript[prop, 2]),…}] includes the (Subscript[prop, i]) in each association.

The value for "HolderList" is a list of associations with the following keys:

The value for "TransferList" is a list of associations with the following keys:

OpenersPrimaryExamplesSection(Spacer1)Examples  (16)

OpenersExampleSection0(Spacer1)Basic Examples  (4)

Check specific token information by name:

BlockchainTokenData["Tronix",BlockchainBase->{"Ethereum", "Mainnet"}]//Dataset

Check specific token information by symbol:

BlockchainTokenData["CK",BlockchainBase->{"Ethereum", "Mainnet"}]//Dataset

Check specific token information by token address:

BlockchainTokenData["06012c8cf97bead5deae237070f9587f8e7a266d",BlockchainBase->{"Ethereum", "Mainnet"}]//Dataset

List all "ERC20" tokens:

BlockchainTokenData["ERC20",BlockchainBase->{"Ethereum", "Mainnet"}]//Dataset

OpenersExampleSection1(Spacer1)Scope  (9)

OpenersExampleSubsection0(Spacer1)Additional Properties  (2)

Check the most relevant holders of a specific token:

BlockchainTokenData["CryptoKitties","HolderList",BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

Check the transfer precision of all "ERC20" tokens:

BlockchainTokenData[<|"TokenStandard"->"ERC20"|>,{"Name","TransferPrecision"},BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

OpenersExampleSubsection1(Spacer1)Filters  (7)

Filter token transfers by block:

BlockchainTokenData[<|"Name"->"BitClave","BlockNumberInterval"->{5600000,5650000}|>,BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

Filter token transfers by time:

BlockchainTokenData[<|"Name"->"Tronix","TimeInterval"->{(DateObject["Hour: ""Mon 30 Jul 2018 3 pm""GMT"-5.`, DateObject[{2018,7,30,15},"Hour","Gregorian",-5.`]]),(DateObject["Hour: ""Mon 30 Jul 2018 10 pm""GMT"-5.`, DateObject[{2018,7,30,22},"Hour","Gregorian",-5.`]])}|>,BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

Filter token transfers by a sender address:

BlockchainTokenData[<|"Name"->"BitClave","SenderAddresses"->"73314db8f62312e6a1fb365c3a98599119a91c74"|>,BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

Filter token transfers by a receiver address:

BlockchainTokenData[<|"Name"->"BitClave","ReceiverAddresses"->"73314db8f62312e6a1fb365c3a98599119a91c74"|>,BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

Filter all "ERC20" token transfers by an address, whether it is the sender or the receiver:

BlockchainTokenData[<|"TokenStandard"->"ERC20","Addresses"->"73314db8f62312e6a1fb365c3a98599119a91c74"|>,BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

Filter all ERC20 tokens that a specific holder has kept:

BlockchainTokenData[<|"TokenStandard"->"ERC20","HolderAddresses"->"564286362092D8e7936f0549571a803B203aAceD"|>,{"Name","Balance"},BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

Filter all token IDs from a specific ERC721 token and a specific holder:

BlockchainTokenData[<|"Name"->"Cryptokitties","HolderAddresses"->"956dc6E90a1eFDA821e1EfFED75b81e4b7B6B5A0"|>,{"Name","HolderTokenIDs"},BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

OpenersExampleSection3(Spacer1)Options  (2)

OpenersExampleSubsection2(Spacer1)MaxItems  (1)

List the last 10 transfers for a specific token:

BlockchainTokenData["OmiseGo","TransferList",MaxItems->10,BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

OpenersExampleSubsection3(Spacer1)BlockchainBase  (1)

List all "ERC721" tokens:

BlockchainTokenData["ERC721",BlockchainBase->{"Ethereum","Mainnet"}]//Dataset

OpenersExampleSection4(Spacer1)Properties & Relations  (1)

Querying by the name, the symbol or the address of a token gives the same data:

Name="Tronix"

Sym=First@BlockchainTokenData[Name,"Symbol",BlockchainBase->{"Ethereum","Mainnet"}]

Address=First@BlockchainTokenData[Name,"TokenAddress",BlockchainBase->{"Ethereum","Mainnet"}]

BlockchainTokenData[Name,BlockchainBase->{"Ethereum","Mainnet"}]===BlockchainTokenData[Sym,BlockchainBase->{"Ethereum","Mainnet"}]===BlockchainTokenData[Address,BlockchainBase->{"Ethereum","Mainnet"}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[BlockchainTransactionData, paclet:ref/BlockchainTransactionData])  ▪  (RefLink[BlockchainAddressData, paclet:ref/BlockchainAddressData])  ▪  (RefLink[BlockchainBlockData, paclet:ref/BlockchainBlockData])  ▪  (RefLink[BlockchainBase, paclet:ref/BlockchainBase])  ▪  (RefLink[$BlockchainBase, paclet:ref/$BlockchainBase])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Working with Blockchains, paclet:guide/Blockchain])}, {▪(RefLinkPlain[Listing of Supported External Services, paclet:guide/ListingOfSupportedExternalServices])}})}})