LI.FI Step Transaction Builder API
Get LI.FI Step Transaction Builder data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Lifi, pass parameters such as action, estimate, executionType, and retrieve structured data including estimated destination token amount, to amount min, estimated network gas costs, quoted transfer fee components, and prepared transaction data to prepare selected route steps, and preserve routing exclusions.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
LI.FI Step Transaction Builder API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
LI.FI Step Transaction Builder API
POST one Route Step object directly as the JSON body. Pool exclusions are request-scoped: if options.pools.deny constrained the route, repeat the same list in denyPools for each step.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required JSON body: body. Optional: denyPools, skipSimulation, mayanNonEvmPermitSignature, svmMaxSupportedTransactionVersion, svmPriorityFeeLevel |
| Selected implementation | lifi · LI.FI — Populate a step with transaction data |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Prepare selected route steps: Use the chosen Step rather than the entire Route object.
- Preserve routing exclusions: Repeat denyPools explicitly on the builder request.
Returned Data
| Field | Meaning |
|---|---|
action.fromAmount |
Source token amount in base units |
estimate.toAmount |
Estimated destination token amount |
estimate.toAmountMin |
Minimum destination amount for the quoted step |
estimate.gasCosts |
Estimated network gas costs |
estimate.feeCosts |
Quoted transfer fee components |
transactionRequest |
Prepared transaction data |
stepSimulation |
Transaction simulation metadata |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request POST \
https://api.openany.si/v1/agent-apis/lifi/v1/advanced/stepTransaction \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H "Content-Type: application/json" \
--data-raw '{"action":{"fromAddress":"0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0","fromAmount":"100000000","fromChainId":1,"fromToken":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]},"slippage":0.005,"toAddress":"0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0","toChainId":10,"toToken":{"address":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","chainId":10,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0008373187","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]}},"estimate":{"approvalAddress":"0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE","executionDuration":2,"feeCosts":[{"amount":"250000","amountUSD":"0.2501","description":"Fixed LIFI fee, independent of any other fee","feeSplit":{"integratorFee":"0","lifiFee":"250000","recipients":[{"fee":"250000","name":"lifi","type":"FIXED"}]},"included":true,"name":"LIFI Fixed Fee","percentage":"0.0025","token":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]}},{"amount":"9975","amountUSD":"0.0100","description":"The fee taken by the relayer","included":true,"name":"Relayer fee","percentage":"0.000100","token":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]}},{"amount":"296","amountUSD":"0.0003","description":"The gas fee taken by the relayer","included":true,"name":"Relayer gas fee","percentage":"0.000003","token":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]}}],"fromAmount":"100000000","fromAmountUSD":"100.0235","gasCosts":[{"amount":"10257872616000","amountUSD":"0.0237","estimate":"216000","limit":"459000","price":"47490151","token":{"address":"0x0000000000000000000000000000000000000000","chainId":1,"coinKey":"ETH","decimals":18,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png","name":"ETH","priceUSD":"2308.14","symbol":"ETH","tags":["major_asset"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]},"type":"SEND"}],"skipPermit":false,"toAmount":"99739729","toAmountMin":"99739729","toAmountUSD":"99.8232","tool":"across"},"executionType":"transaction","id":"f7623b70-2446-47a7-a306-2f67fa59301f:0","includedSteps":[{"action":{"fromAddress":"0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE","fromAmount":"100000000","fromChainId":1,"fromToken":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]},"slippage":0.005,"toAddress":"0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE","toChainId":1,"toToken":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]}},"estimate":{"approvalAddress":"0xCE40449B773a3E6E5e769ADb4e567179d4828cbd","executionDuration":0,"feeCosts":[{"amount":"250000","amountUSD":"0.2501","description":"Fixed LIFI fee, independent of any other fee","feeSplit":{"integratorFee":"0","lifiFee":"250000","recipients":[{"fee":"250000","name":"lifi","type":"FIXED"}]},"included":true,"name":"LIFI Fixed Fee","percentage":"0.0025","token":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]}}],"fromAmount":"100000000","gasCosts":[{"amount":"6173719630000","amountUSD":"0.0142","estimate":"130000","limit":"169000","price":"47490151","token":{"address":"0x0000000000000000000000000000000000000000","chainId":1,"coinKey":"ETH","decimals":18,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png","name":"ETH","priceUSD":"2308.14","symbol":"ETH","tags":["major_asset"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]},"type":"SEND"}],"toAmount":"99750000","toAmountMin":"99750000","tool":"feeCollection"},"id":"fad92fca-4184-40f8-a88c-7e840f1aceea","tool":"feeCollection","toolDetails":{"key":"feeCollection","logoURI":"https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/protocols/feeCollection.svg","name":"Integrator Fee"},"type":"protocol"},{"action":{"destinationGasConsumption":"0","fromAddress":"0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE","fromAmount":"99750000","fromChainId":1,"fromToken":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]},"slippage":0.005,"toAddress":"0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0","toChainId":10,"toToken":{"address":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","chainId":10,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0008373187","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]}},"estimate":{"approvalAddress":"0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5","executionDuration":2,"feeCosts":[{"amount":"9975","amountUSD":"0.0100","description":"The fee taken by the relayer","included":true,"name":"Relayer fee","percentage":"0.000100","token":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]}},{"amount":"296","amountUSD":"0.0003","description":"The gas fee taken by the relayer","included":true,"name":"Relayer gas fee","percentage":"0.000003","token":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1,"coinKey":"USDC","decimals":6,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png","name":"USD Coin","priceUSD":"1.0002350525","symbol":"USDC","tags":["stablecoin"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]}}],"fromAmount":"99750000","gasCosts":[{"amount":"4084152986000","amountUSD":"0.0094","estimate":"86000","limit":"111800","price":"47490151","token":{"address":"0x0000000000000000000000000000000000000000","chainId":1,"coinKey":"ETH","decimals":18,"logoURI":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png","name":"ETH","priceUSD":"2308.14","symbol":"ETH","tags":["major_asset"],"verificationStatus":"verified","verificationStatusBreakdown":[{"provider":"hypernative","providerResult":"accept","result":"verified"}]},"type":"SEND"}],"toAmount":"99739729","toAmountMin":"99739729","tool":"across"},"id":"3b546a28-939c-406b-a8b1-62214f3f69c8","tool":"across","toolDetails":{"key":"across","logoURI":"https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/across.svg","name":"AcrossV4"},"type":"cross"}],"integrator":"lifi-api","recommendedSlippage":0.01099856322858362,"tool":"across","toolDetails":{"key":"across","logoURI":"https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/across.svg","name":"AcrossV4"},"type":"lifi"}'
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published LI.FI Step Transaction Builder API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
lifiCurrent LI.FI — Populate a step with transaction data · POST · View API reference | $0 / call | 0 | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/lifi/v1/advanced/stepTransaction- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
action | JSON request bodybody | object | Yes | The action of the step Nested fields and variants
|
id | JSON request bodybody | string | Yes | Unique identifier of the step |
tool | JSON request bodybody | string | Yes | The tool used for this step. E.g. `relay` |
type | JSON request bodybody | string | Yes | The type of the step. `swap` executes a DEX swap on a single chain, `cross` bridges assets between chains, `lifi` runs LiFi's internal multi-action logic, and `protocol` represents protocol-level actions such as fee collection or vault interactions executed inside LiFi managed contracts. enum: "swap", "cross", "lifi", "protocol" |
denyPools | URL query parametersquery | array | No | One to 100 AMM pool or Solana venue identifiers to exclude when building transaction data. If the route was requested with `options.pools.deny`, you must pass the same list again for each step: pool exclusions are request-scoped and are not carried in the returned Step. Without it, swaps are re-quoted with no exclusions, so the transaction can use an excluded pool or venue. Repeat the query parameter for multiple entries, as with `/v1/quote`. Each entry is a non-zero Uniswap V2/V3 EVM pool address (`0x` + 40 hex), a Uniswap V4 `-` identifier, where `poolId` is `0x` + 64 hex, or a Solana venue program ID (base58). EVM pool exclusion is supported only by `fly`; Solana venue exclusion only by `jupiter`, `titan` and `okx`. If the list holds a Solana program ID, a step that swaps on Solana through any other exchange is rejected with a 400 error instead of being built without the exclusion. Keep the Step object in the JSON request body. Nested fields and variants
|
skipSimulation | URL query parametersquery | boolean | No | Parameter to skip transaction simulation. The quote will be returned faster but the transaction gas limit won't be accurate. |
mayanNonEvmPermitSignature | URL query parametersquery | boolean | No | Mayan specific option to bridge from non-EVM chain to Hyperliquid |
svmMaxSupportedTransactionVersion | URL query parametersquery | number | null | No | Maximum Solana transaction version the client can sign. Defaults to 0; omission or null uses v0. Set to 1 to allow V1 where enabled for the environment. Jito requests always use v0. Size overflow may fall back to v0. Read transactionRequest.svmTransactionVersion for the version actually built. Ignored for source chains other than Solana. enum: 0, 1, null |
svmPriorityFeeLevel | URL query parametersquery | string | No | Priority fee level for Solana Virtual Machine (SVM) transactions. enum: "NORMAL", "FAST", "ULTRA" |
estimate | JSON request bodybody | object | No | The estimation for the step Nested fields and variants
|
execution | JSON request bodybody | any | No | An objection containing status information about the execution |
includedSteps | JSON request bodybody | array | No | Nested fields and variants
Nested fields and variants
|
integrator | JSON request bodybody | string | No | A string containing tracking information about the integrator of the API |
referrer | JSON request bodybody | string | No | A string containing tracking information about the referrer of the integrator |
toolDetails | JSON request bodybody | object | No | The details of the tool used for this step. E.g. `relay` Nested fields and variants
|
transactionRequest | JSON request bodybody | object | No | An ether.js TransactionRequest that can be triggered using a wallet provider. (https://docs.ethers.io/v5/api/providers/types/#providers-TransactionRequest) Solana responses also include svmTransactionVersion (0 or 1), the version actually built. This may be lower than the requested maximum. Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
actionobjectfromAddressstringfromAmountstringfromChainIdintegerfromTokenobjectaddressstringchainIdintegercoinKeystringdecimalsintegerlogoURIstringnamestringpriceUSDstringsymbolstringtagsunknown[]verificationStatusstringverificationStatusBreakdownunknown[]
slippagenumbertoAddressstringtoChainIdintegertoTokenobjectaddressstringchainIdintegercoinKeystringdecimalsintegerlogoURIstringnamestringpriceUSDstringsymbolstringtagsunknown[]verificationStatusstringverificationStatusBreakdownunknown[]
estimateobjectapprovalAddressstringexecutionDurationintegerfeeCostsobject[]fromAmountstringfromAmountUSDstringgasCostsobject[]toAmountstringtoAmountMinstringtoAmountUSDstringtoolstring
idstringincludedStepsobject[]actionobjectestimateobjectidstringtoolstringtoolDetailsobjecttypestring
integratorstringstepSimulationobjectgasSourcestringstatusstring
toolstringtoolDetailsobjectkeystringlogoURIstringnamestring
transactionIdstringtransactionRequestobjectchainIdintegerdatastringfromstringgasLimitstringgasPricestringtostringvaluestring
typestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example (source abbreviated)
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 6
Review these request fields before running. Keep the published provider and request method unchanged.
denyPools- One to 100 AMM pool or Solana venue identifiers to exclude when building transaction data. If the route was requested with `options.pools.deny`, you must pass the same list again for each step: pool exclusions are request-scoped and are not carried in the returned Step. Without it, swaps are re-quoted with no exclusions, so the transaction can use an excluded pool or venue. Repeat the query parameter for multiple entries, as with `/v1/quote`. Each entry is a non-zero Uniswap V2/V3 EVM pool address (`0x` + 40 hex), a Uniswap V4 `-` identifier, where `poolId` is `0x` + 64 hex, or a Solana venue program ID (base58). EVM pool exclusion is supported only by `fly`; Solana venue exclusion only by `jupiter`, `titan` and `okx`. If the list holds a Solana program ID, a step that swaps on Solana through any other exchange is rejected with a 400 error instead of being built without the exclusion. Keep the Step object in the JSON request body.
skipSimulation- Parameter to skip transaction simulation. The quote will be returned faster but the transaction gas limit won't be accurate.
mayanNonEvmPermitSignature- Mayan specific option to bridge from non-EVM chain to Hyperliquid
svmMaxSupportedTransactionVersion- Maximum Solana transaction version the client can sign. Defaults to 0; omission or null uses v0. Set to 1 to allow V1 where enabled for the environment. Jito requests always use v0. Size overflow may fall back to v0. Read transactionRequest.svmTransactionVersion for the version actually built. Ignored for source chains other than Solana.
svmPriorityFeeLevel- Priority fee level for Solana Virtual Machine (SVM) transactions.
body- Object that represents one step of a `Route`
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/lifi/v1/advanced/stepTransaction' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "action": { "fromAddress": "0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0", "fromAmount": "100000000", "fromChainId": 1, "fromToken": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, "slippage": 0.005, "toAddress": "0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0", "toChainId": 10, "toToken": { "address": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", "chainId": 10, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0008373187", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } }, "estimate": { "approvalAddress": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", "executionDuration": 2, "feeCosts": [ { "amount": "250000", "amountUSD": "0.2501", "description": "Fixed LIFI fee, independent of any other fee", "feeSplit": { "integratorFee": "0", "lifiFee": "250000", "recipients": [ { "fee": "250000", "name": "lifi", "type": "FIXED" } ] }, "included": true, "name": "LIFI Fixed Fee", "percentage": "0.0025", "token": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } }, { "amount": "9975", "amountUSD": "0.0100", "description": "The fee taken by the relayer", "included": true, "name": "Relayer fee", "percentage": "0.000100", "token": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } }, { "amount": "296", "amountUSD": "0.0003", "description": "The gas fee taken by the relayer", "included": true, "name": "Relayer gas fee", "percentage": "0.000003", "token": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } } ], "fromAmount": "100000000", "fromAmountUSD": "100.0235", "gasCosts": [ { "amount": "10257872616000", "amountUSD": "0.0237", "estimate": "216000", "limit": "459000", "price": "47490151", "token": { "address": "0x0000000000000000000000000000000000000000", "chainId": 1, "coinKey": "ETH", "decimals": 18, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png", "name": "ETH", "priceUSD": "2308.14", "symbol": "ETH", "tags": [ "major_asset" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, "type": "SEND" } ], "skipPermit": false, "toAmount": "99739729", "toAmountMin": "99739729", "toAmountUSD": "99.8232", "tool": "across" }, "executionType": "transaction", "id": "f7623b70-2446-47a7-a306-2f67fa59301f:0", "includedSteps": [ { "action": { "fromAddress": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", "fromAmount": "100000000", "fromChainId": 1, "fromToken": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, "slippage": 0.005, "toAddress": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", "toChainId": 1, "toToken": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } }, "estimate": { "approvalAddress": "0xCE40449B773a3E6E5e769ADb4e567179d4828cbd", "executionDuration": 0, "feeCosts": [ { "amount": "250000", "amountUSD": "0.2501", "description": "Fixed LIFI fee, independent of any other fee", "feeSplit": { "integratorFee": "0", "lifiFee": "250000", "recipients": [ { "fee": "250000", "name": "lifi", "type": "FIXED" } ] }, "included": true, "name": "LIFI Fixed Fee", "percentage": "0.0025", "token": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } } ], "fromAmount": "100000000", "gasCosts": [ { "amount": "6173719630000", "amountUSD": "0.0142", "estimate": "130000", "limit": "169000", "price": "47490151", "token": { "address": "0x0000000000000000000000000000000000000000", "chainId": 1, "coinKey": "ETH", "decimals": 18, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png", "name": "ETH", "priceUSD": "2308.14", "symbol": "ETH", "tags": [ "major_asset" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, "type": "SEND" } ], "toAmount": "99750000", "toAmountMin": "99750000", "tool": "feeCollection" }, "id": "fad92fca-4184-40f8-a88c-7e840f1aceea", "tool": "feeCollection", "toolDetails": { "key": "feeCollection", "logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/protocols/feeCollection.svg", "name": "Integrator Fee" }, "type": "protocol" }, { "action": { "destinationGasConsumption": "0", "fromAddress": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", "fromAmount": "99750000", "fromChainId": 1, "fromToken": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, "slippage": 0.005, "toAddress": "0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0", "toChainId": 10, "toToken": { "address": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", "chainId": 10, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0008373187", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } }, "estimate": { "approvalAddress": "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5", "executionDuration": 2, "feeCosts": [ { "amount": "9975", "amountUSD": "0.0100", "description": "The fee taken by the relayer", "included": true, "name": "Relayer fee", "percentage": "0.000100", "token": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } }, { "amount": "296", "amountUSD": "0.0003", "description": "The gas fee taken by the relayer", "included": true, "name": "Relayer gas fee", "percentage": "0.000003", "token": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [ "stablecoin" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } } ], "fromAmount": "99750000", "gasCosts": [ { "amount": "4084152986000", "amountUSD": "0.0094", "estimate": "86000", "limit": "111800", "price": "47490151", "token": { "address": "0x0000000000000000000000000000000000000000", "chainId": 1, "coinKey": "ETH", "decimals": 18, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png", "name": "ETH", "priceUSD": "2308.14", "symbol": "ETH", "tags": [ "major_asset" ], "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, "type": "SEND" } ], "toAmount": "99739729", "toAmountMin": "99739729", "tool": "across" }, "id": "3b546a28-939c-406b-a8b1-62214f3f69c8", "tool": "across", "toolDetails": { "key": "across", "logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/across.svg", "name": "AcrossV4" }, "type": "cross" } ], "integrator": "lifi-api", "recommendedSlippage": 0.01099856322858362, "tool": "across", "toolDetails": { "key": "across", "logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/across.svg", "name": "AcrossV4" }, "type": "lifi" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "action": { "fromAddress": "0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0", "fromAmount": "100000000", "fromChainId": 1, "fromToken": { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "tags": [], "verificationStatus": "verified", "verificationStatusBreakdown": [] }, "slippage": 0.005, "toAddress": "0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0", "toChainId": 10, "toToken": { "address": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", "chainId": 10, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6", "name": "USD Coin", "priceUSD": "1.0008373187", "symbol": "USDC", "tags": [], "verificationStatus": "verified", "verificationStatusBreakdown": [] } }, "estimate": { "approvalAddress": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", "executionDuration": 2, "feeCosts": [ {} ], "fromAmount": "100000000", "fromAmountUSD": "100.0235", "gasCosts": [ {} ], "toAmount": "99739730", "toAmountMin": "99739730", "toAmountUSD": "99.8232", "tool": "across" }, "id": "f7623b70-2446-47a7-a306-2f67fa59301f:0", "includedSteps": [ { "action": {}, "estimate": {}, "id": "fad92fca-4184-40f8-a88c-7e840f1aceea", "tool": "feeCollection", "toolDetails": {}, "type": "protocol" } ], "integrator": "lifi-api", "stepSimulation": { "gasSource": "simulation", "status": "success" }, "tool": "across", "toolDetails": { "key": "across", "logoURI": "https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/across.svg", "name": "AcrossV4" }, "transactionId": "0x5adb1acd899c00f65673bcc10757f4a18281d5d8ad98f8ef29282392d4969639", "transactionRequest": { "chainId": 1, "data": "0x1794958f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000", "from": "0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0", "gasLimit": "0x425c4", "gasPrice": "0x2d4a467", "to": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", "value": "0x0" }, "type": "lifi" }