shortcuts
Get transaction for IPOR shortcut
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Chain ID of the network to execute the transaction on
Ethereum address of the wallet to send the transaction from
Body
application/json
Amount of tokenIn in wei
Example:
"1000000000000000"
Address of the tokenIn. For ETH, use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Example:
"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
Address of the tokenBToBuy
Example:
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
Percentage of tokenB to buy in basis points (1/10000)
Example:
"5000"
Flag that indicates whether to use the shared router
Slippage in basis points (1/10000). Default is 300
Example:
"300"
Flag that indicates whether to simulate the transaction, verify some assertions, return simulationURL and events
Was this page helpful?