CancelOrderRequest
order object
summarystring
Summary of the operation
Example:
Buy 1 TCToken for 3 EUROe
orderTypestring
Type of operation (Buy/Sell)
Example:
Buy
amountstring
Amount of tokens in the order
Example:
120
pricestring
Price per offered token in the order
Example:
3
tokenstring
Blockchain address of the token offered in the order
Example:
0xE04e6d4aE5A11DD2440Be1366787d4BBD8D46822
signerstring
Blockchain address of the wallet signing the order creation request
Example:
0x7589033B994573e8f2B2Fbe0f9F03173D69B0321
expirationDatestring
Offer’s expiration date (0 = no expiration date)
Example:
1688991980
idstring
Order’s ID
Example:
1759915
orderSignaturestring
EIP712 signature of the order
Example:
0xbb5673fc5d20b4f02a1fa6037a8a3118e01894340e1d8e4831429ac0ce151cb50b30b626834a8b673b5de910f0f06a7e388fda90bb0b4e8dce73e2bd861842ed1c
cancelSigantureobject
EIP712 signature of the order cancellation
Example:
0xaa7673fc5d20b4f02a1fa6037a8a3118e01894340e1d8e4831429ac0ce151cb50b30b626834a8b673b5de910f0f06a7e388fda90bb0b4e8dce73e2bd861842ed1c
CancelOrderRequest
{
"order": {
"summary": "Buy 1 TCToken for 3 EUROe",
"orderType": "Buy",
"amount": "120",
"price": "3",
"token": "0xE04e6d4aE5A11DD2440Be1366787d4BBD8D46822",
"signer": "0x7589033B994573e8f2B2Fbe0f9F03173D69B0321",
"expirationDate": "1688991980",
"id": "1759915"
},
"orderSignature": "0xbb5673fc5d20b4f02a1fa6037a8a3118e01894340e1d8e4831429ac0ce151cb50b30b626834a8b673b5de910f0f06a7e388fda90bb0b4e8dce73e2bd861842ed1c",
"cancelSiganture": "0xaa7673fc5d20b4f02a1fa6037a8a3118e01894340e1d8e4831429ac0ce151cb50b30b626834a8b673b5de910f0f06a7e388fda90bb0b4e8dce73e2bd861842ed1c"
}