Create Signature
buildRFQOrder
Parameters
Field | Type | Description |
---|---|---|
id | Number | It is a pass-through, integer identifier starting at 1 |
expiresInTimestamp | Number | It is the timestamp in seconds when the limit order will no longer be available for execution. For example: 1623166270029 |
takerAddress | String | an address of the maker (wallet address) |
takerAssetAddress | String | the address of taker's asset |
makerAssetAddress | String | the address of maker's asset |
takerAmount | String | The number of taker asset tokens that you want to sell (in token units). For example: 5 DAI = 5000000000000000000 units. |
makerAmount | String | The number of maker asset tokens that you want to receive (in token units). For example: 5 DAI = 5000000000000000000 units. |
makerAddress | String? | The address of the maker for whom the limit order is being created. This is an optional parameter, if it is not specified, then the limit order will be available for execution for everyone. |
feeAmount | String | It is a transaction fee amount. |
feeTokenAddress | String | It is the address of the asset on which the fee is charged. |
frontendAddress | String | It is a referral address. |
Function
Example response
buildRFQOrderTypedData
Parameters
Field | Type | Description |
---|---|---|
order | RFQOrder | It is a RFQOrder created with buildRFQOrder method. |
Function
Example response
buildOrderSignature
Parameters
Field | Type | Description |
---|---|---|
walletAddress | String | An address of the taker (wallet address) |
typedData | EIP712TypedData | It is a RFQOrder created with buildRFQOrderTypedData method. |
Function
Example response
Last updated