glassnode-api - v0.29.3
    Preparing search index...

    Type Alias AssetMetadata

    AssetMetadata: {
        asset_type: string;
        blockchains: {
            address: string;
            blockchain: string;
            decimals: number;
            on_chain_support: boolean;
        }[];
        categories?: string[];
        default_network?: string;
        external_ids: {
            ccdata?: string;
            coingecko?: string;
            coinmarketcap?: string;
            [key: string]: string;
        };
        id: string;
        logo_url?: string;
        name: string;
        semantic_tags?: string[];
        symbol: string;
    }

    Asset metadata type

    Type Declaration

    • asset_type: string

      Type of asset: "BLOCKCHAIN" for a chain's native asset (e.g. BTC, ETH) or "TOKEN" for a token deployed on one or more blockchains (see blockchains). Typed as a plain string, not an enum, so a new asset type the API adds does not fail validation.

    • blockchains: {
          address: string;
          blockchain: string;
          decimals: number;
          on_chain_support: boolean;
      }[]

      Blockchain information for this asset

    • Optionalcategories?: string[]

      Data categories available for this asset (e.g. ["exchanges", "on-chain", "spot"]). Open-ended strings, not an enum. Optional: undefined when the API omits the field.

    • Optionaldefault_network?: string

      The network a token's data is served for by default, e.g. "eth", "sol" or "ton". An empty string "" for native assets (asset_type "BLOCKCHAIN", e.g. BTC and ETH) and some tokens. Optional: undefined when the API omits the field.

    • external_ids: {
          ccdata?: string;
          coingecko?: string;
          coinmarketcap?: string;
          [key: string]: string;
      }

      External identifiers for this asset

    • id: string

      Asset identifier

    • Optionallogo_url?: string

      URL of the asset's logo image. Optional: undefined when the API omits the field.

    • name: string

      Asset name (e.g., "Bitcoin", "Ethereum")

    • Optionalsemantic_tags?: string[]

      Descriptive tags for the asset (e.g. ["layer1Token", "proofOfWork"]); may be empty. Open-ended strings, not an enum. Optional: undefined when the API omits the field.

    • symbol: string

      Asset symbol (e.g., "BTC", "ETH")