get_sip010_balance
Check SIP-010 token balance for any Stacks address across mainnet, testnet, or devnet networks. Returns balance in base units for accurate display calculations.
Instructions
Get the SIP-010 fungible token balance for a specific address. Returns the balance in base units (consider decimals for display).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | The Stacks address to check balance for | |
contractAddress | Yes | The contract address | |
contractName | Yes | The contract name of the SIP-010 token | |
network | Yes | The Stacks network |
Input Schema (JSON Schema)
{
"properties": {
"address": {
"description": "The Stacks address to check balance for",
"type": "string"
},
"contractAddress": {
"description": "The contract address",
"type": "string"
},
"contractName": {
"description": "The contract name of the SIP-010 token",
"type": "string"
},
"network": {
"description": "The Stacks network",
"enum": [
"mainnet",
"testnet",
"devnet"
],
"type": "string"
}
},
"required": [
"contractAddress",
"contractName",
"address",
"network"
],
"type": "object"
}