get_wallet_token_balance
Retrieve token balances for specified wallet and token pairs. Input WalletTokenPairsContainer to receive a list of WalletTokenBalance, enabling efficient crypto asset tracking and management.
Instructions
Get the balance for a list of wallet/token pairs.
Expects a WalletTokenPairsContainer, returns a list of WalletTokenBalance.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
wallet_token_pairs | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"WalletTokenPairs": {
"properties": {
"token": {
"description": "public address of token. To get the address from a token symbol use `get_token_details`",
"title": "Token",
"type": "string"
},
"wallet": {
"description": "The name of wallet. To get wallet names use `get_user_wallets_and_groups_list`",
"title": "Wallet",
"type": "string"
}
},
"required": [
"wallet",
"token"
],
"title": "WalletTokenPairs",
"type": "object"
},
"WalletTokenPairsContainer": {
"properties": {
"wallet_token_pairs": {
"items": {
"$ref": "#/$defs/WalletTokenPairs"
},
"title": "Wallet Token Pairs",
"type": "array"
}
},
"required": [
"wallet_token_pairs"
],
"title": "WalletTokenPairsContainer",
"type": "object"
}
},
"properties": {
"wallet_token_pairs": {
"$ref": "#/$defs/WalletTokenPairsContainer"
}
},
"required": [
"wallet_token_pairs"
],
"title": "get_wallet_token_balanceArguments",
"type": "object"
}