getCoinBalance
Retrieve the ERC6909 token balance for a specific address and token ID from the Coins contract on the Ethereum blockchain using chainId, wallet address, and token ID inputs.
Instructions
Returns the balance of a given address for a specific ERC6909 token ID from the Coins contract.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
account | Yes | User's wallet address | |
chainId | Yes | ||
tokenId | Yes | Token ID as a stringified bigint |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"account": {
"description": "User's wallet address",
"type": "string"
},
"chainId": {
"type": "number"
},
"tokenId": {
"description": "Token ID as a stringified bigint",
"type": "string"
}
},
"required": [
"chainId",
"account",
"tokenId"
],
"type": "object"
}