Type alias FindNftByMintInput

FindNftByMintInput: {
    mintAddress: PublicKey;
    tokenAddress?: PublicKey;
    tokenOwner?: PublicKey;
    loadJsonMetadata?: boolean;
}

Type declaration

  • mintAddress: PublicKey

    The address of the mint account.

  • Optional tokenAddress?: PublicKey

    The explicit token account to fetch with the NFT or SFT.

    If provided, and if that address is valid, the NFT or SFT returned will be of the type NftWithToken or SftWithToken respectively.

    Alternatively, you may use the tokenOwner parameter to fetch the associated token account.

    Default Value

    Defaults to not fetching the token account.

  • Optional tokenOwner?: PublicKey

    The associated token account to fetch with the NFT or SFT.

    If provided, and if that account exists, the NFT or SFT returned will be of the type NftWithToken or SftWithToken respectively.

    Alternatively, you may use the tokenAddress parameter to fetch the token account at an explicit address.

    Default Value

    Defaults to not fetching the associated token account.

  • Optional loadJsonMetadata?: boolean

    Whether or not we should fetch the JSON Metadata for the NFT or SFT.

    Default Value

    true

Generated using TypeDoc