Skip to main content

ExchangeSwap

sellOrder 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
buyOrder 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
sellerSignaturestring

EIP712 signature of the sell order

Example: 0xbb5673fc5d20b4f02a1fa6037a8a3118e01894340e1d8e4831429ac0ce151cb50b30b626834a8b673b5de910f0f06a7e388fda90bb0b4e8dce73e2bd861842ed1c
buyerSignaturestring

EIP712 signature of the buy order

Example: 0xs65dcfsd32fc5d20b4f02a1fa6037a8a3118e01894340e1d8e4831429ac0ce151cb50b30b626834a8b673b5de910f0f06a7e388fda90bb0b4e8dce73e2bd861842ed1c
tokenAmountstring

Amount of tokens matched

Example: 1
executedPricestring

Price at which the token matched

Example: 1
ExchangeSwap
{
"sellOrder": {
"summary": "Buy 1 TCToken for 3 EUROe",
"orderType": "Buy",
"amount": "120",
"price": "3",
"token": "0xE04e6d4aE5A11DD2440Be1366787d4BBD8D46822",
"signer": "0x7589033B994573e8f2B2Fbe0f9F03173D69B0321",
"expirationDate": "1688991980",
"id": "1759915"
},
"buyOrder": {
"summary": "Buy 1 TCToken for 3 EUROe",
"orderType": "Buy",
"amount": "120",
"price": "3",
"token": "0xE04e6d4aE5A11DD2440Be1366787d4BBD8D46822",
"signer": "0x7589033B994573e8f2B2Fbe0f9F03173D69B0321",
"expirationDate": "1688991980",
"id": "1759915"
},
"sellerSignature": "0xbb5673fc5d20b4f02a1fa6037a8a3118e01894340e1d8e4831429ac0ce151cb50b30b626834a8b673b5de910f0f06a7e388fda90bb0b4e8dce73e2bd861842ed1c",
"buyerSignature": "0xs65dcfsd32fc5d20b4f02a1fa6037a8a3118e01894340e1d8e4831429ac0ce151cb50b30b626834a8b673b5de910f0f06a7e388fda90bb0b4e8dce73e2bd861842ed1c",
"tokenAmount": "1",
"executedPrice": "1"
}