
Metadata Overview
Token metadata provides essential information about your token including its name, symbol, decimals, supply limits, and unique identifiers.Token Information
Get complete token metadata including name, symbol, and configuration
Token Identifier
Retrieve the Bech32m token identifier for transfers and queries
Get Token Metadata
Retrieve comprehensive information about your token using thegetIssuerTokenMetadata() method.
getIssuerTokenMetadata()
Gets the metadata about the token associated with this issuer wallet.
Metadata Examples
Basic Token Information
Token Configuration Check
Get Token Identifier
Retrieve the Bech32m token identifier for use in transfers and queries.getIssuerTokenIdentifier()
Gets the Bech32m token identifier for the issuer’s token.
Identifier Usage Examples
For Token Transfers
For Token Queries
Best Practices
Metadata Management
- Cache Metadata: Store token metadata locally to avoid repeated API calls
- Validate Identifiers: Always validate token identifiers before using them in transfers
- Monitor Changes: Track metadata changes if your token configuration evolves
Error Handling
- Handle Missing Data: Implement fallbacks for when metadata is unavailable
- Validate Responses: Check that returned data matches expected formats
- Retry Logic: Implement retry mechanisms for network-related failures
