Type alias RevokeNftDelegateInput

RevokeNftDelegateInput: {
    nftOrSft: Pick<Sft, "address" | "tokenStandard">;
    delegate: DelegateInput;
    authority?: Signer | {
        __kind: "self";
        delegate: Signer;
    } | TokenMetadataAuthorityMetadata | TokenMetadataAuthorityHolder;
    authorizationDetails?: TokenMetadataAuthorizationDetails;
}

Type declaration

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

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

  • delegate: DelegateInput

    The role, address and approver of the delegate to revoke.

  • Optional authority?: Signer | {
        __kind: "self";
        delegate: Signer;
    } | TokenMetadataAuthorityMetadata | TokenMetadataAuthorityHolder

    An authority allowed to revoke a new delegate authority.

    Note that Delegate authorities are not supported for this instruction as delegates cannot revoke 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.

    If a { __kind: 'self'; delegate: Signer } is provided, it will assume the delegate authority is trying to revoke itself.

    See

    TokenMetadataAuthority

    Default Value

    metaplex.identity()

  • Optional authorizationDetails?: TokenMetadataAuthorizationDetails

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

    See

    TokenMetadataAuthorizationDetails

    Default Value

    Defaults to not using auth rules.

Generated using TypeDoc