Include a limit order to the 1inch limit orders database
You can send your limit orders to the 1inch database and then your order will participate in the 1inch aggregation protocol.
Supported on: Ethereum Base BNB Chain Optimism Polygon Linea Sonic Unichain Arbitrum Avalanche ZKsync Gnosis
Parameters
chain
* number pathRequest Body
orderHash
* string Hash of the limit order typed data
signature
* string Signature of the limit order typed data (using signTypedData_v4)
data
* any Limit order data
allOf[0]
LimitOrderV4Data object makerAsset
* string Address of the maker asset
takerAsset
* string Address of the taker asset
maker
* string An address of the maker (wallet or contract address)
receiver
string An address of the wallet or contract who will receive filled amount (equals to Zero address for receiver == makerAddress)
makingAmount
* string Order maker's token amount
takingAmount
* string Order taker's token amount
salt
* string Some unique value. It is necessary to be able to create limit orders with the same parameters (so that they have a different hash), Lowest 160 bits of the order salt must be equal to the lowest 160 bits of the extension hash
extension
string An interaction call data. ABI encoded set of makerAssetSuffix, takerAssetSuffix, makingAmountGetter, takingAmountGetter, predicate, permit, preInteraction, postInteraction.If extension exists then lowest 160 bits of the order salt must be equal to the lowest 160 bits of the extension hash
makerTraits
string Includes some flags like, allow multiple fills, is partial fill allowed or not, price improvement, nonce, deadline etc
JavaScript
Copy
1
Returns
201
400
403
success
* boolean JSON
Copy
1