Function getTokenMetadata

  • Retrieve Token Metadata Information

    Parameters

    • connection: Connection

      Connection to use

    • address: PublicKey

      Mint account

    • Optional commitment: Commitment

      Desired level of commitment for querying the state

    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns Promise<TokenMetadata | null>

    Token Metadata information

Generated using TypeDoc