Documentation Index
Fetch the complete documentation index at: https://companyname-a7d5b98e-vanity-edits.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Retrieve wallet information, Jettons, and NFTs using WalletKit.
Balance
// Returns balance in nanoToncoin
let balance = try await wallet.balance()
Address
let address = wallet.address
Jettons
Get all Jettons
let jettons = try
await wallet.jettons(limit: TONLimitRequest(limit: 10, offset: 0))
Get specific Jetton balance
// Address of a Jetton minter contract
// E.g., EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs for USDT
let jettonAddress = "<JETTON_ADDRESS>"
// Returns balance in nano with decimals count according to Jetton specification
let balance = try await wallet.jettonBalance(jettonAddress: jettonAddress)
Get Jetton wallet address
// Address of a Jetton minter contract
// E.g., EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs for USDT
let jettonAddress = "<JETTON_ADDRESS>"
let walletAddress = try
await wallet.jettonWalletAddress(jettonAddress: jettonAddress)
NFTs
Get all NFTs
let nfts = try await wallet.nfts(limit: TONLimitRequest(limit: 10, offset: 0))
Get specific NFT
// Address of an NFT
// E.g., EQDkT3BSIU3CTwnZG9ZIdyWYmcnuaAEwGr_dsS1RFYqBTanY
let nftAddress = "<NFT_ADDRESS>"
let nft = wallet.nft(address: nftAddress)
Next steps
Transactions
Transfer Toncoin, Jettons and NFTs
Manage wallets
Create and manage TON wallets