Skip to main content

Token

Context object.digital.token

A blockchain token data structure represents essential information about a specific token on a blockchain network. This includes details about the token itself, its use case, release date, ICO, and associated online resources.

Data structure

FieldTypeDescriptionMandatoryReference
namestringName of the tokenYes
symbolstringToken symbol (ticker)Yes
nativebooleanIs this the native currency of a blockchainYes
contractAddressstringToken's contract addressNo
blockchainstringThe blockchain the token is built onYes
standardstringToken standard (e.g., ERC-20, BEP-20)No
totalSupplyfloatTotal token supplyYes
circulatingSupplyfloatCirculating token supplyYes
decimalsintNumber of decimal places for the tokenYes
tokenTypestringType of the token (e.g., utility, governance)Yes
useCasestringThe primary use case of the tokenNo
descriptionstringA brief overview of the tokenNo
releaseDatestringThe token's release dateNo
supplyTypestringToken supply type (inflationary, deflationary, fixedSupply)No
ICOICOInitial Coin Offering informationNo
websitestringToken's official websiteNo
whitepaperstringURL to the token's whitepaperNo
socialLinksSocialLinksSocial media and communication linksNo

ICO Object

FieldTypeDescriptionMandatory
startDateDateICO start dateNo
endDateDateICO end dateNo
pricePerTokenfloatICO price per tokenNo
totalTokensSoldfloatTotal tokens sold during ICONo
priceUnitstringICO price unitNo
totalRaisedfloatTotal funds raised during ICONo
FieldTypeDescriptionMandatory
twitterstringToken's Twitter account URLNo
telegramstringToken's Telegram group URLNo
githubstringToken's GitHub repository URLNo
redditstringToken's Reddit community URLNo
discordstringToken's Discord server URLNo
mediumstringToken's Medium blog URLNo

Example

"token":{
"name": "Ethereum",
"symbol": "ETH",
"native": true,
"contractAddress": "",
"blockchain": "Ethereum",
"standard": "Native",
"totalSupply": 118000000,
"circulatingSupply": 116000000,
"decimals": 18,
"tokenType": "Utility",
"useCase": "Transaction fees",
"description": "Ethereum is a decentralized, open-source blockchain with smart contract functionality.",
"releaseDate": "2015-07-30",
"supplyType": "Inflationary",
"ICO": {
"startDate": "2014-07-22",
"endDate": "2014-09-02",
"pricePerToken": 0.0005,
"priceUnit": "BTC",
"totalTokensSold": 60102216,
"totalRaised": 31529.363
},
"website": "https://ethereum.org",
"whitepaper": "https://github.com/ethereum/wiki/wiki/White-Paper",
"socialLinks": {
"twitter": "https://twitter.com/ethereum",
"telegram": "https://t.me/ethereum",
"github": "https://github.com/ethereum",
"reddit": "https://www.reddit.com/r/ethereum/",
"discord": "https://discord.com/invite/nthXNEv",
"medium": "https://medium.com/@ethereum"
}
}