Simulate routing between positions
Returns simulated gas
, amountOut
, priceImpact
and feeAmount
when routing between two positions. This endpoint wokrs for tokenized positions only.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Ordered array of paths that you want to simulate
Chain ID of the network to execute the transaction on
Ethereum address of the wallet to send the transaction from
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
Routing strategy to use
router
, delegate
, ensowallet
Fee in basis points (1/10000) for each route. If specified, this percentage of each amountIn value will be sent to feeReceiver
["100"]
The Ethereum address that will receive the collected fee. Required if fee is provided
"0x220866B1A2219f40e72f5c628B65D54268cA3A9D"
A list of swap aggregators to be ignored from consideration
Hex string of block number
"0x01"
Was this page helpful?