Type alias ApproveNftUseAuthorityInput

ApproveNftUseAuthorityInput: {
    mintAddress: PublicKey;
    user: PublicKey;
    owner?: Signer;
    ownerTokenAddress?: PublicKey;
    numberOfUses?: number;
}

Type declaration

  • mintAddress: PublicKey

    The address of the mint account.

  • user: PublicKey

    The address of the use authority to approve.

  • Optional owner?: Signer

    The owner of the NFT or SFT as a Signer.

    Default Value

    metaplex.identity()

  • Optional ownerTokenAddress?: 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 numberOfUses?: number

    The number of usages this new use authority is allowed to perform.

    Default Value

    1

Generated using TypeDoc