@cfxlabsinc/b2b-services
    Preparing search index...
    Index
    instance: (...args: []) => SolanaMintfxMetadataService = ...

    The process default: MINTFX_ENV and SOLANA_RPC_ENDPOINT read at each call.

    • On-chain Metaplex metadata for a mint, or null when the metadata account doesn't exist yet.

      setTokenMetadata pivots create-vs-update on this, so the distinction is load-bearing: fetchMaybeTokenMetadata returns null for a missing account but still THROWS on RPC failure. An outage must never read as "no metadata" — a create against existing metadata fails on-chain and burns the fee.

      Parameters

      • __namedParameters: { mint: Address }

      Returns Promise<TokenMetadataValues | null>

    • Raw getProgramAccounts for the mintfx program. Each account is matched against known mintfx account discriminators; unknown discriminators come back with kind: null.

      Returns Promise<
          {
              address: string;
              dataSize: number;
              lamports: number;
              typeName: string
              | null;
          }[],
      >