Type alias ApproveNftDelegateInput

ApproveNftDelegateInput: {
    nftOrSft: Pick<Sft, "address" | "tokenStandard">;
    delegate: DelegateInputWithData;
    authority?: Signer | TokenMetadataAuthorityMetadata | TokenMetadataAuthorityHolder;
    authorizationDetails?: TokenMetadataAuthorizationDetails;
}

Type declaration

  • 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.

  • delegate: DelegateInputWithData

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

  • Optional authority?: 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?: TokenMetadataAuthorizationDetails

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

    See

    TokenMetadataAuthorizationDetails

    Default Value

    Defaults to not using auth rules.

Generated using TypeDoc