Skip to main content

PutOrderAndDepositRequest

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
permit object
ownerstring

Owner of the tokens/EUROe

Example: 0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826
spenderstring

Address of the smart contract allowed to spend the tokens/EUROe

Example: 0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826
valuestring

Amount of EUROe tokens allowed in the swap transaction processed by the Matching Engine

Example: 2
deadlinestring

Timestamp date when the permit ceases to be valid

Example: 1759915647
signaturestring

EIP712 signature of the owner of the tokens/EUROe

Example: 0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826
PutOrderAndDepositRequest
{
"order": {
"summary": "Buy 1 TCToken for 3 EUROe",
"orderType": "Buy",
"amount": "120",
"price": "3",
"token": "0xE04e6d4aE5A11DD2440Be1366787d4BBD8D46822",
"signer": "0x7589033B994573e8f2B2Fbe0f9F03173D69B0321",
"expirationDate": "1688991980",
"id": "1759915"
},
"orderSignature": "0xbb5673fc5d20b4f02a1fa6037a8a3118e01894340e1d8e4831429ac0ce151cb50b30b626834a8b673b5de910f0f06a7e388fda90bb0b4e8dce73e2bd861842ed1c",
"permit": {
"owner": "0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826",
"spender": "0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826",
"value": "2",
"deadline": "1759915647",
"signature": "0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826"
}
}