v1
latestOpenAPI 3.0.02026-07-26278284.4 KBDeFi Shortcuts
Get transaction for IPOR shortcut
post/api/v1/shortcuts/static/ipor
Query parameters
chainIdnumber
Chain ID of the network to execute the transaction on
fromAddressstring required
Example:0xd8da6bf26964af9d7eed9e03e53415d37aa96045
Ethereum address of the wallet to send the transaction from
Request body
Example request
{
"amountIn": "1000000000000000",
"tokenIn": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"tokenBToBuy": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"percentageForTokenB": "5000",
"slippage": "300"
}