bnbchain-mcp

Official
by bnb-chain
MIT License
353
2

get_erc1155_token_uri

Retrieve the metadata URI for an ERC1155 token by specifying the token address, token ID, and network. This JSON metadata provides details about the token's attributes and properties.

Instructions

Get the metadata URI for an ERC1155 token (multi-token standard used for both fungible and non-fungible tokens). The URI typically points to JSON metadata about the token.

Input Schema

NameRequiredDescriptionDefault
networkNoNetwork name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.bsc
tokenAddressYesThe contract address of the ERC1155 token collection (e.g., '0x76BE3b62873462d2142405439777e971754E8E77')
tokenIdYesThe ID of the specific token to query metadata for (e.g., '1234')

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "network": { "default": "bsc", "description": "Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.", "type": "string" }, "tokenAddress": { "description": "The contract address of the ERC1155 token collection (e.g., '0x76BE3b62873462d2142405439777e971754E8E77')", "type": "string" }, "tokenId": { "description": "The ID of the specific token to query metadata for (e.g., '1234')", "type": "string" } }, "required": [ "tokenAddress", "tokenId" ], "type": "object" }
ID: t6zbvd82tr