get_user_balance
Retrieve token balances for a user on a specified blockchain chain using chain ID, token contract address, and user address.
Instructions
Get user token balance on a specific chain
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | Yes | Chain ID to check balance on | |
tokenAddress | Yes | Token contract address | |
userAddress | Yes | User address to check balance for |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"chainId": {
"description": "Chain ID to check balance on",
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"tokenAddress": {
"description": "Token contract address",
"type": "string"
},
"userAddress": {
"description": "User address to check balance for",
"type": "string"
}
},
"required": [
"chainId",
"tokenAddress",
"userAddress"
],
"type": "object"
}