Type alias RevokeNftDelegateBuilderParams

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

Type declaration

  • delegate: DelegateInput<PublicKey>

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

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

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

    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?: undefined | TokenMetadataAuthorizationDetails

    The authorization rules and data to use when revoking 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