set_attributes_pre_signed: TxDescriptor<{
    data: {
        attributes: FixedSizeArray<2, Binary>[];
        collection: number;
        deadline: number;
        item: number;
        namespace: Enum<{
            Account: SS58String;
            CollectionOwner: undefined;
            ItemOwner: undefined;
            Pallet: undefined;
        }>;
    };
    signature: MultiSignature;
    signer: SS58String;
}>

Set attributes for an item by providing the pre-signed approval.

Origin must be Signed and must be an owner of the data.item.

  • data: The pre-signed approval that consists of the information about the item, attributes to update and until what block number.
  • signature: The signature of the data object.
  • signer: The data object's signer. Should be an Admin of the collection for the CollectionOwner namespace.

Emits AttributeSet for each provided attribute. Emits ItemAttributesApprovalAdded if the approval wasn't set before. Emits PreSignedAttributesSet on success.