All chains
    Preparing search index...

    Type Alias cancel_approval

    cancel_approval: TxDescriptor<
        {
            collection: number;
            item: number;
            maybe_check_delegate?: MultiAddress;
        },
    >

    Cancel the prior approval for the transfer of an item by a delegate.

    Origin must be either:

    • the Force origin;
    • Signed with the signer being the Admin of the collection;
    • Signed with the signer being the Owner of the item;

    Arguments:

    • collection: The collection of the item of whose approval will be cancelled.
    • item: The item of the item of whose approval will be cancelled.
    • maybe_check_delegate: If Some will ensure that the given account is the one to which permission of transfer is delegated.

    Emits ApprovalCancelled on success.

    Weight: O(1)