Type alias ApproveNftDelegateBuilderParams

ApproveNftDelegateBuilderParams: {
    delegate: DelegateInputWithData<PublicKey>;
    nftOrSft: Pick<Sft, "address" | "tokenStandard">;
    authority?: undefined | Signer | TokenMetadataAuthorityMetadata | TokenMetadataAuthorityHolder;
    authorizationDetails?: undefined | TokenMetadataAuthorizationDetails;
    instructionKey?: undefined | string;
}

Type declaration

  • delegate: DelegateInputWithData<PublicKey>

    The role, address, approver and data of the delegate to approve.

  • nftOrSft: Pick<Sft, "address" | "tokenStandard">

    The NFT or SFT for which we want to approve a delegate. We only need its address and token standard.

  • Optional authority?: undefined | Signer | TokenMetadataAuthorityMetadata | TokenMetadataAuthorityHolder

    An authority allowed to approve a new delegate authority.

    Note that Delegate authorities are not supported for this instruction as delegates cannot approve other delegates.

    If a Signer is provided directly, it will be either used as the update authority or as the token holder based on the delegate type, i.g. delegate.type.

    See

    TokenMetadataAuthority

    Default Value

    metaplex.identity()

  • Optional authorizationDetails?: undefined | TokenMetadataAuthorizationDetails

    The authorization rules and data to use when approving the delegate authority.

    See

    TokenMetadataAuthorizationDetails

    Default Value

    Defaults to not using auth rules.

  • Optional instructionKey?: undefined | string

    A key to distinguish the instruction that uses the NFT.

Generated using TypeDoc