Type alias UseNftInput

UseNftInput: {
    mintAddress: PublicKey;
    numberOfUses?: number;
    owner?: PublicKey | Signer;
    ownerTokenAccount?: PublicKey;
    useAuthority?: Signer;
}

Type declaration

  • mintAddress: PublicKey

    The address of the mint account.

  • Optional numberOfUses?: number

    The number of uses to utilize.

    Default Value

    1

  • Optional owner?: PublicKey | Signer

    The owner of the NFT or SFT.

    This must be a Signer unless a useAuthority is provided.

    Default Value

    metaplex.identity()

  • Optional ownerTokenAccount?: PublicKey

    The address of the token account linking the mint account with the owner account.

    Default Value

    Defaults to using the associated token account from the mintAddress and owner parameters.

  • Optional useAuthority?: Signer

    The delegated use authority that should authorize this operation.

    Default Value

    Defaults to not using a delegated use authority and using the owner parameter as a Signer instead.

Generated using TypeDoc