get_token_account_balance
Retrieve the balance of an SPL Token account on the Solana blockchain by specifying the account's Pubkey. Returns the balance in a clear, formatted string.
Instructions
Returns the token balance of an SPL Token account.
Args: token_account (str): Pubkey of Token account to query
Returns: str: Token account balance in the format "Token account balance: {balance}"
Input Schema
Name | Required | Description | Default |
---|---|---|---|
token_account | Yes |
Input Schema (JSON Schema)
{
"properties": {
"token_account": {
"title": "Token Account",
"type": "string"
}
},
"required": [
"token_account"
],
"title": "get_token_account_balanceArguments",
"type": "object"
}