cURL
curl --request POST \ --url https://api.enso.finance/api/v1/shortcuts/static/ipor \ --header 'Content-Type: application/json' \ --data '{ "isRouter": true, "amountIn": "1000000000000000", "tokenIn": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "tokenBToBuy": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "percentageForTokenB": "5000", "slippage": "300", "simulate": false }'
{ "createdAt": 123, "tx": { "data": "<string>", "to": "<string>", "from": "<string>", "value": "<string>" }, "logs": [ "<string>" ], "simulationURL": "<string>" }
Chain ID of the network to execute the transaction on
Ethereum address of the wallet to send the transaction from
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
The response is of type object.
object
Was this page helpful?