Claim an atomic swap. This method executes a pending swap, that was created by a counterpart before.
Origin must be Signed and must be an owner of the item.
item
send_collection
send_item
receive_collection
receive_item
witness_price
Emits SwapClaimed on success.
SwapClaimed
Claim an atomic swap. This method executes a pending swap, that was created by a counterpart before.
Origin must be Signed and must be an owner of the
item
.send_collection
: The collection of the item to be sent.send_item
: The item to be sent.receive_collection
: The collection of the item to be received.receive_item
: The item to be received.witness_price
: A price that was previously agreed on.Emits
SwapClaimed
on success.