erc1155_balanceOf
Check the balance of a specific ERC1155 token for a given owner address on Ethereum networks using token contract address and ID. Supports custom RPC URLs and chain IDs for flexible queries.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | Optional. The chain ID to use. | |
ownerAddress | Yes | The address to check balance for | |
provider | No | Optional. Either a network name or custom RPC URL. Use getAllNetworks to see available networks and their details, or getNetwork to get info about a specific network. You can use any network name returned by these tools as a provider value. | |
tokenAddress | Yes | The address of the ERC1155 contract | |
tokenId | Yes | The ID of the token to query |