Token Metadata

Query metadata for native token denominations registered on bwickchain. This covers the base ubwick denomination and any other registered denoms.

List All Denominations

Returns metadata for all registered denominations.
curl https://rest.bwick.fun/cosmos/bank/v1beta1/denoms_metadata
{
  "metadatas": [
    {
      "description": "The native staking token of bwickchain",
      "denom_units": [
        {
          "denom": "ubwick",
          "exponent": 0,
          "aliases": ["micro-bwick"]
        },
        {
          "denom": "BWICK",
          "exponent": 6,
          "aliases": []
        }
      ],
      "base": "ubwick",
      "display": "BWICK",
      "name": "BWICK",
      "symbol": "BWICK"
    }
  ],
  "pagination": {
    "next_key": null,
    "total": "1"
  }
}

Key Fields

FieldDescription
baseThe smallest denomination stored on-chain (ubwick)
displayThe human-readable denomination (BWICK)
denom_unitsConversion table between denominations
denom_units[].exponentPower of 10 for conversion. ubwick (exponent 0) → BWICK (exponent 6) means 1 BWICK = 10^6 ubwick

Get Specific Denomination

Query metadata for a single denomination.
curl https://rest.bwick.fun/cosmos/bank/v1beta1/denoms_metadata/ubwick
Returns the same structure as above for the specified denom.

CW20 Token Metadata

CW20 tokens (created via the Launchpad or custom contracts) are not native denominations - they live inside CosmWasm contracts. To query their metadata, use the smart contract query endpoint:
# Base64 encode the query
QUERY=$(echo -n '{"token_info":{}}' | base64)

curl "https://rest.bwick.fun/cosmwasm/wasm/v1/contract/bwick1tokencontract.../smart/$QUERY"
{
  "data": {
    "name": "Example Token",
    "symbol": "EXT",
    "decimals": 6,
    "total_supply": "100000000000000"
  }
}

CW20 vs Native Tokens

PropertyNative (ubwick)CW20 Tokens
StorageBank module stateCosmWasm contract state
Query/cosmos/bank/v1beta1/.../cosmwasm/wasm/v1/contract/.../smart/...
TransferMsgSendCW20 Transfer execute message
StandardChain nativeCosmWasm CW20 standard
Created byGenesis / Bridge moduleLaunchpad contract or manual deploy
For querying CW20 token data in bulk (all launchpad tokens, prices, volumes), use the Launchpad API instead. It provides pre-indexed data that’s much faster than querying individual contracts.