GETGet token data
https://ton-mainnet.nodit.io/api/v2/getTokenDataReturns metadata for Jetton or NFT contracts. Automatically detects the contract type and returns appropriate fields. For Jetton masters: total supply, admin, metadata. For Jetton wallets: balance, owner. For NFT items: collection, owner, content. For NFT collections: item count, metadata.
The account address to query, in raw or user-friendly format.
Returns true if the request succeeded; otherwise false. See the error field for details.
Response data. Present only when ok is true.
TonLib type identifier for Jetton master contract data. Refer to the token type reference for a full list.
Contract address of this Jetton master.
Type of token contract: jetton_master, jetton_wallet, nft_collection, or nft_item.
Total tokens in circulation, in the smallest unit. Divide by 10^decimals for human-readable amount.
Returns true if new tokens can be minted; otherwise false.
Admin address that can mint tokens or update metadata. Empty if admin rights were revoked.
Token metadata: name, symbol, decimals, description, and image URL.
Storage method for token (jetton) metadata content: onchain (stored in contract data) or offchain (external URI).
Token metadata key-value pairs (name, symbol, decimals, image, description).
Code used to deploy individual user wallets for this token. Used to verify wallet authenticity.
TonLib type identifier for Jetton wallet contract data. Refer to the token type reference for a full list.
Contract address of this Jetton wallet.
Type of token contract: jetton_master, jetton_wallet, nft_collection, or nft_item.
The token balance in the Jetton's base units (smallest denomination). To get the human-readable amount, divide by 10^decimals, where decimals is a metadata field on the Jetton master contract (commonly 9, but varies per token). Refer to the Jetton overview for how Jetton decimals are defined.
Wallet owner's address (the user who holds these tokens).
Address of the Jetton master contract this wallet belongs to.
Returns true if the mintless jetton allocation has been claimed; otherwise false.
Wallet contract code. Should match the master contract's wallet code to verify authenticity.
TonLib type identifier for NFT collection contract data. Refer to the token type reference for a full list.
Contract address of this NFT collection.
Type of token contract: jetton_master, jetton_wallet, nft_collection, or nft_item.
Index that will be assigned to the next minted NFT. Also indicates total items if minted sequentially.
Collection owner's address. Controls minting and metadata updates.
Collection metadata: name, description, and cover image.
Storage method for token (jetton) metadata content: onchain (stored in contract data) or offchain (external URI).
Token metadata key-value pairs (name, symbol, decimals, image, description).
TonLib type identifier for NFT item contract data. Refer to the token type reference for a full list.
Contract address of this NFT item.
Type of token contract: jetton_master, jetton_wallet, nft_collection, or nft_item.
Returns true if this NFT item has been initialized (deployed); otherwise false.
This item's sequential index within its collection.
Address of the NFT collection this item belongs to. Empty if standalone NFT.
Current owner's address. Changes on each transfer.
NFT item metadata and content (name, description, image URL).
Storage method for token (jetton) metadata content: onchain (stored in contract data) or offchain (external URI).
Token metadata key-value pairs (name, symbol, decimals, image, description).
The resolved domain name.
Parsed DNS records for this domain.
Next resolver contract for subdomain lookups.
TonLib type identifier for TON Storage DNS records. Refer to the TonLib type reference for a full list.
TON Storage bag identifier in hex, pointing to distributed file storage.
TonLib type identifier for smart contract address DNS records. Refer to the TonLib type reference for a full list.
Smart contract address associated with this DNS record.
TonLib type identifier for ADNL address DNS records. Refer to the TonLib type reference for a full list.
ADNL (Abstract Datagram Network Layer) address in hex, used for TON Sites and services.
TonLib type identifier for next-resolver DNS records. Refer to the TonLib type reference for a full list.
Smart contract address of the next DNS resolver in the chain.
Wallet address associated with this domain.
TonLib type identifier for TON Storage DNS records. Refer to the TonLib type reference for a full list.
TON Storage bag identifier in hex, pointing to distributed file storage.
TonLib type identifier for smart contract address DNS records. Refer to the TonLib type reference for a full list.
Smart contract address associated with this DNS record.
TonLib type identifier for ADNL address DNS records. Refer to the TonLib type reference for a full list.
ADNL (Abstract Datagram Network Layer) address in hex, used for TON Sites and services.
TonLib type identifier for next-resolver DNS records. Refer to the TonLib type reference for a full list.
Smart contract address of the next DNS resolver in the chain.
Site hosting address (ADNL or TON Storage).
TonLib type identifier for TON Storage DNS records. Refer to the TonLib type reference for a full list.
TON Storage bag identifier in hex, pointing to distributed file storage.
TonLib type identifier for smart contract address DNS records. Refer to the TonLib type reference for a full list.
Smart contract address associated with this DNS record.
TonLib type identifier for ADNL address DNS records. Refer to the TonLib type reference for a full list.
ADNL (Abstract Datagram Network Layer) address in hex, used for TON Sites and services.
TonLib type identifier for next-resolver DNS records. Refer to the TonLib type reference for a full list.
Smart contract address of the next DNS resolver in the chain.
TON Storage bag ID for files hosted under this domain.
TonLib type identifier for TON Storage DNS records. Refer to the TonLib type reference for a full list.
TON Storage bag identifier in hex, pointing to distributed file storage.
TonLib type identifier for smart contract address DNS records. Refer to the TonLib type reference for a full list.
Smart contract address associated with this DNS record.
TonLib type identifier for ADNL address DNS records. Refer to the TonLib type reference for a full list.
ADNL (Abstract Datagram Network Layer) address in hex, used for TON Sites and services.
TonLib type identifier for next-resolver DNS records. Refer to the TonLib type reference for a full list.
Smart contract address of the next DNS resolver in the chain.
Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.