OpenAny
Get API keyAPI Key
APICrypto & DeFi

lifi logo
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
USE THIS API

LI.FI Step Transaction Builder API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
LI.FI Step Transaction Builder API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Object that represents one step of a `Route`
Optional parameters (5)
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.
Parameter to skip transaction simulation. The quote will be returned faster but the transaction gas limit won't be accurate.
Mayan specific option to bridge from non-EVM chain to Hyperliquid
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.
Priority fee level for Solana Virtual Machine (SVM) transactions.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
lifiCurrent
LI.FI — Populate a step with transaction data · POST · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · lifiUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
actionJSON request bodybodyobjectYes

The action of the step

Nested fields and variants
body.action.fromAddress string · Optional

Parent object: body.action

The sending wallet address
body.action.fromAmount string · Required

Parent object: body.action

The amount that should be transferred including all decimals
body.action.fromChainId number · Required

Parent object: body.action

The id of the chain where the transfer should start

format: number

body.action.fromToken object · Required

Parent object: body.action

The sending token
Nested fields and variants
body.action.fromToken.address string · Required

Parent object: body.action.fromToken

Address of the token
body.action.fromToken.chainId number · Required

Parent object: body.action.fromToken

Id of the token's chain

format: number

body.action.fromToken.coinKey string · Optional

Parent object: body.action.fromToken

Identifier for the token
body.action.fromToken.decimals number · Required

Parent object: body.action.fromToken

Number of decimals the token uses

format: number

body.action.fromToken.logoURI string · Optional

Parent object: body.action.fromToken

Logo of the token
body.action.fromToken.name string · Required

Parent object: body.action.fromToken

Name of the token
body.action.fromToken.priceUSD string · Optional

Parent object: body.action.fromToken

Token price in USD
body.action.fromToken.symbol string · Required

Parent object: body.action.fromToken

Symbol of the token
body.action.slippage number · Optional

Parent object: body.action

The maximum allowed slippage

format: double

body.action.toAddress string · Optional

Parent object: body.action

The receiving wallet address
body.action.toChainId number · Required

Parent object: body.action

The id of the chain where the transfer should end

format: number

body.action.toToken object · Required

Parent object: body.action

The token that should be transferred to
Nested fields and variants
body.action.toToken.address string · Required

Parent object: body.action.toToken

Address of the token
body.action.toToken.chainId number · Required

Parent object: body.action.toToken

Id of the token's chain

format: number

body.action.toToken.coinKey string · Optional

Parent object: body.action.toToken

Identifier for the token
body.action.toToken.decimals number · Required

Parent object: body.action.toToken

Number of decimals the token uses

format: number

body.action.toToken.logoURI string · Optional

Parent object: body.action.toToken

Logo of the token
body.action.toToken.name string · Required

Parent object: body.action.toToken

Name of the token
body.action.toToken.priceUSD string · Optional

Parent object: body.action.toToken

Token price in USD
body.action.toToken.symbol string · Required

Parent object: body.action.toToken

Symbol of the token
idJSON request bodybodystringYes

Unique identifier of the step

toolJSON request bodybodystringYes

The tool used for this step. E.g. `relay`

typeJSON request bodybodystringYes

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"

denyPoolsURL query parametersqueryarrayNo

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

query.denyPools[] · Array item · string

skipSimulationURL query parametersquerybooleanNo

Parameter to skip transaction simulation. The quote will be returned faster but the transaction gas limit won't be accurate.

mayanNonEvmPermitSignatureURL query parametersquerybooleanNo

Mayan specific option to bridge from non-EVM chain to Hyperliquid

svmMaxSupportedTransactionVersionURL query parametersquerynumber | nullNo

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

svmPriorityFeeLevelURL query parametersquerystringNo

Priority fee level for Solana Virtual Machine (SVM) transactions.

enum: "NORMAL", "FAST", "ULTRA"

estimateJSON request bodybodyobjectNo

The estimation for the step

Nested fields and variants
body.estimate.approvalAddress string · Required

Parent object: body.estimate

The contract address for the approval
body.estimate.data object · Optional

Parent object: body.estimate

Arbitrary data that depends on the the used tool
Nested fields and variants
body.estimate.data.bid object · Optional

Parent object: body.estimate.data

Nested fields and variants
body.estimate.data.bid.amount string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.amountReceived string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.bidExpiry number · Optional

Parent object: body.estimate.data.bid

format: number

body.estimate.data.bid.callDataHash string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.callTo string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.encryptedCallData string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.expiry number · Optional

Parent object: body.estimate.data.bid

format: number

body.estimate.data.bid.initiator string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.receivingAddress string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.receivingAssetId string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.receivingChainId number · Optional

Parent object: body.estimate.data.bid

format: number

body.estimate.data.bid.receivingChainTxManagerAddress string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.router string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.sendingAssetId string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.sendingChainId number · Optional

Parent object: body.estimate.data.bid

format: number

body.estimate.data.bid.sendingChainTxManagerAddress string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.transactionId string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bid.user string · Optional

Parent object: body.estimate.data.bid

body.estimate.data.bidSignature string · Optional

Parent object: body.estimate.data

body.estimate.data.gasFeeInReceivingToken string · Optional

Parent object: body.estimate.data

body.estimate.data.metaTxRelayerFee string · Optional

Parent object: body.estimate.data

body.estimate.data.routerFee string · Optional

Parent object: body.estimate.data

body.estimate.data.totalFee string · Optional

Parent object: body.estimate.data

body.estimate.executionDuration number · Required

Parent object: body.estimate

The time needed to complete the following step
body.estimate.feeCosts array · Optional

Parent object: body.estimate

Fees charged on the transfer. On a `lifi` step this array is the concatenation of the fee costs of every entry in `includedSteps`, so it already contains them. Do not add both together.
Nested fields and variants

body.estimate.feeCosts[] · Array item · object

Nested fields and variants
body.estimate.feeCosts[].amount string · Optional

Parent object: body.estimate.feeCosts[]

The fee amount in the smallest unit of `token`, before decimals are applied. Divide by `10 ** token.decimals` for a human-readable amount.
body.estimate.feeCosts[].amountUSD string · Required

Parent object: body.estimate.feeCosts[]

The amount of fees in USD
body.estimate.feeCosts[].description string · Optional

Parent object: body.estimate.feeCosts[]

Description of the fee costs
body.estimate.feeCosts[].feeSplit object · Optional

Parent object: body.estimate.feeCosts[]

Response-only breakdown of this fee entry's `amount` into the parties that share it. Returned for the LI.FI/integrator fee entry and for a separate `Distributions` entry when distributions are present; omitted for fees such as a relayer or bridge gas fee. For the LI.FI/integrator entry, `lifiFee`, `integratorFee`, and `intermediaryFee` (when present) are disjoint slices of its `amount`. For the `Distributions` entry, `lifiFee` and `integratorFee` are both "0"; its `amount` is the sum of its distribution recipients. `recipients[]` describes only the parent fee entry. It is a breakdown of that entry's `amount`, not an additional charge. This field is returned, not accepted: the API ignores a `feeSplit` posted in a request body, so integrations must read the split from the response instead of echoing back a previously quoted one.
Nested fields and variants
body.estimate.feeCosts[].feeSplit.integratorFee string · Optional

Parent object: body.estimate.feeCosts[].feeSplit

The integrator's slice of `amount`, in the smallest unit of `token`. It excludes intermediary fees (reported separately as `intermediaryFee`) and distributions (reported in a separate `Distributions` fee entry). It is "0" on the `Distributions` entry.
body.estimate.feeCosts[].feeSplit.intermediaryFee string · Optional

Parent object: body.estimate.feeCosts[].feeSplit

The intermediary's slice of `amount`, in the smallest unit of `token`. Present only when an intermediary participates in the split.
body.estimate.feeCosts[].feeSplit.lifiFee string · Optional

Parent object: body.estimate.feeCosts[].feeSplit

LI.FI's slice of `amount`, in the smallest unit of `token`.
body.estimate.feeCosts[].feeSplit.recipients array · Optional

Parent object: body.estimate.feeCosts[].feeSplit

Per-recipient breakdown of this fee entry's `amount`. The LI.FI/integrator entry lists its own recipients, excluding partner-specified distributions. Those are listed in the separate `Distributions` entry's own `feeSplit.recipients[]`, with type `DISTRIBUTION` and one record per distribution.
Nested fields and variants

body.estimate.feeCosts[].feeSplit.recipients[] · Array item · object

Nested fields and variants
body.estimate.feeCosts[].feeSplit.recipients[].fee string · Required

Parent object: body.estimate.feeCosts[].feeSplit.recipients[]

The amount credited to this recipient, in the smallest unit of this fee entry's `token`.
body.estimate.feeCosts[].feeSplit.recipients[].name string · Required

Parent object: body.estimate.feeCosts[].feeSplit.recipients[]

Recipient identifier, to be read together with `type`: `lifi` for the LI.FI platform recipient, the integrator id for the integrator's own fee, the intermediary id for an `INTERMEDIARY` entry, or the recipient wallet address for a `DISTRIBUTION` entry. Do not render it directly in a user-facing UI without type-aware formatting.
body.estimate.feeCosts[].feeSplit.recipients[].type string · Optional

Parent object: body.estimate.feeCosts[].feeSplit.recipients[]

How this recipient's fee was calculated. Currently one of `FIXED`, `SHARED`, `DYNAMIC`, `INTERMEDIARY`, or `DISTRIBUTION`, and deliberately not modelled as an enum because the set can grow without a breaking change. May be absent when the calculation type cannot be determined statically, so null-check before reading and keep a default branch when matching on it. `FIXED` and `SHARED` are the standard fee models. `DYNAMIC` means LI.FI resolved its rate for this quote under approved Dynamic Pricing, so the same integration can report a different rate on another quote. `INTERMEDIARY` marks a third-party recipient carving a configured share, and `DISTRIBUTION` marks a partner-specified recipient within the separate `Distributions` fee entry's own `feeSplit.recipients[]`. To detect Dynamic Pricing on a quote, look for a recipient whose `type` is `DYNAMIC`.
body.estimate.feeCosts[].feeSplit.recipients[].walletAddress string · Optional

Parent object: body.estimate.feeCosts[].feeSplit.recipients[]

The recipient's wallet address on the source chain.
body.estimate.feeCosts[].included boolean · Required

Parent object: body.estimate.feeCosts[]

`true` means the fee is already accounted for in the quoted amounts and must not be added again as a separate user payment. `false` means the user pays it on top of `fromAmount`.
body.estimate.feeCosts[].name string · Required

Parent object: body.estimate.feeCosts[]

Human-readable name of the fee, for example `LIFI Fixed Fee` or `Relayer Gas fee`. Names are tool-specific free text and are not a stable enum. Do not branch on this value.
body.estimate.feeCosts[].percentage string · Required

Parent object: body.estimate.feeCosts[]

The fee expressed as a fraction of the transferred amount, for example `0.0025` for 0.25%. A fee whose name contains `Fixed` may still report a non-zero fraction; do not infer the fee model from `name` or assume fixed-fee entries report `0`.
body.estimate.feeCosts[].token object · Required

Parent object: body.estimate.feeCosts[]

The `Token` the fee is denominated in. `token.chainId` identifies the chain of that token, not necessarily the chain where the underlying work happens. A destination execution fee is commonly denominated in the source-chain token the user is already sending.
Nested fields and variants
body.estimate.feeCosts[].token.address string · Required

Parent object: body.estimate.feeCosts[].token

Address of the token
body.estimate.feeCosts[].token.chainId number · Required

Parent object: body.estimate.feeCosts[].token

Id of the token's chain

format: number

body.estimate.feeCosts[].token.coinKey string · Optional

Parent object: body.estimate.feeCosts[].token

Identifier for the token
body.estimate.feeCosts[].token.decimals number · Required

Parent object: body.estimate.feeCosts[].token

Number of decimals the token uses

format: number

body.estimate.feeCosts[].token.logoURI string · Optional

Parent object: body.estimate.feeCosts[].token

Logo of the token
body.estimate.feeCosts[].token.name string · Required

Parent object: body.estimate.feeCosts[].token

Name of the token
body.estimate.feeCosts[].token.priceUSD string · Optional

Parent object: body.estimate.feeCosts[].token

Token price in USD
body.estimate.feeCosts[].token.symbol string · Required

Parent object: body.estimate.feeCosts[].token

Symbol of the token
body.estimate.fromAmount string · Required

Parent object: body.estimate

The amount that should be transferred including all decimals
body.estimate.fromAmountUSD string · Optional

Parent object: body.estimate

The amount that should be transferred in USD equivalent
body.estimate.gasCosts array · Optional

Parent object: body.estimate

Estimated network gas for the transfer. On a `lifi` step this is a single estimate for the transaction that is actually submitted. It aggregates raw gas costs from source-chain entries in `includedSteps` and, for EVM transactions, adds estimated LI.FI contract overhead. It may differ from and often exceed the sum of the source-chain per-step entries. Raw destination-chain gas costs are not added directly. Do not add the top-level and included-step arrays together.
Nested fields and variants

body.estimate.gasCosts[] · Array item · object

Nested fields and variants
body.estimate.gasCosts[].amount string · Required

Parent object: body.estimate.gasCosts[]

The estimated total gas cost in the smallest unit of the gas token. For EVM entries this is `estimate` multiplied by `price`. Other ecosystems may use chain-specific units and rounding, so consumers should treat `amount` as authoritative rather than reconstructing it from the other fields. Divide by `10 ** token.decimals` for a human-readable amount.
body.estimate.gasCosts[].amountUSD string · Optional

Parent object: body.estimate.gasCosts[]

Amount of the gas cost in USD
body.estimate.gasCosts[].estimate string · Optional

Parent object: body.estimate.gasCosts[]

Estimated units of gas the transaction consumes
body.estimate.gasCosts[].limit string · Optional

Parent object: body.estimate.gasCosts[]

Suggested gas limit: `estimate` plus a safety buffer. Use this value when submitting the transaction, not `estimate`.
body.estimate.gasCosts[].price string · Optional

Parent object: body.estimate.gasCosts[]

Gas price used for the estimate, in the smallest unit of the gas token per unit of gas (wei per gas on EVM chains).
body.estimate.gasCosts[].token object · Required

Parent object: body.estimate.gasCosts[]

The native gas token of the chain the transaction is sent on. `token.chainId` is the chain that consumes the gas.
Nested fields and variants
body.estimate.gasCosts[].token.address string · Required

Parent object: body.estimate.gasCosts[].token

Address of the token
body.estimate.gasCosts[].token.chainId number · Required

Parent object: body.estimate.gasCosts[].token

Id of the token's chain

format: number

body.estimate.gasCosts[].token.coinKey string · Optional

Parent object: body.estimate.gasCosts[].token

Identifier for the token
body.estimate.gasCosts[].token.decimals number · Required

Parent object: body.estimate.gasCosts[].token

Number of decimals the token uses

format: number

body.estimate.gasCosts[].token.logoURI string · Optional

Parent object: body.estimate.gasCosts[].token

Logo of the token
body.estimate.gasCosts[].token.name string · Required

Parent object: body.estimate.gasCosts[].token

Name of the token
body.estimate.gasCosts[].token.priceUSD string · Optional

Parent object: body.estimate.gasCosts[].token

Token price in USD
body.estimate.gasCosts[].token.symbol string · Required

Parent object: body.estimate.gasCosts[].token

Symbol of the token
body.estimate.gasCosts[].type string · Required

Parent object: body.estimate.gasCosts[]

The kind of gas cost this entry represents. - `SEND`: estimated network gas for the transaction the sender submits, normally on the source chain. This is the only value the API currently returns. - `APPROVE`: estimated network gas for a separate ERC-20 approval transaction. Reserved; approval gas is not currently returned as its own entry. - `FEE`: an execution cost charged as a fee rather than as a transaction the user signs. Reserved; such costs are currently reported in `feeCosts` instead. - `SUM`: an aggregate of the other entries. Reserved and not currently returned. Treat `APPROVE`, `FEE`, and `SUM` as forward-compatible values: handle them if they appear, but do not build a flow that depends on them.

enum: "SUM", "APPROVE", "SEND", "FEE"

body.estimate.skipApproval boolean · Optional

Parent object: body.estimate

Optional flag indicating that this step needs no token approval, because the executing contract moves funds under the authorization already carried by the signed transaction or message.
body.estimate.toAmount string · Required

Parent object: body.estimate

The estimated resulting amount of the `toToken` including all decimals
body.estimate.toAmountMin string · Required

Parent object: body.estimate

The minimal outcome of the transfer including all decimals. It may reflect applicable slippage and known fee-on-transfer tax adjustments.
body.estimate.toAmountUSD string · Optional

Parent object: body.estimate

The estimated resulting amount of the `toToken` in USD equivalent
body.estimate.tool string · Required

Parent object: body.estimate

The tools that is being used for this step
executionJSON request bodybodyanyNo

An objection containing status information about the execution

includedStepsJSON request bodybodyarrayNo
Nested fields and variants

body.includedSteps[] · Array item · object

Nested fields and variants
body.includedSteps[].action object · Required

Parent object: body.includedSteps[]

Object describing what happens in a `Step`
Nested fields and variants
body.includedSteps[].action.fromAddress string · Optional

Parent object: body.includedSteps[].action

The sending wallet address
body.includedSteps[].action.fromAmount string · Required

Parent object: body.includedSteps[].action

The amount that should be transferred including all decimals
body.includedSteps[].action.fromChainId number · Required

Parent object: body.includedSteps[].action

The id of the chain where the transfer should start

format: number

body.includedSteps[].action.fromToken object · Required

Parent object: body.includedSteps[].action

The sending token
Nested fields and variants
body.includedSteps[].action.fromToken.address string · Required

Parent object: body.includedSteps[].action.fromToken

Address of the token
body.includedSteps[].action.fromToken.chainId number · Required

Parent object: body.includedSteps[].action.fromToken

Id of the token's chain

format: number

body.includedSteps[].action.fromToken.coinKey string · Optional

Parent object: body.includedSteps[].action.fromToken

Identifier for the token
body.includedSteps[].action.fromToken.decimals number · Required

Parent object: body.includedSteps[].action.fromToken

Number of decimals the token uses

format: number

body.includedSteps[].action.fromToken.logoURI string · Optional

Parent object: body.includedSteps[].action.fromToken

Logo of the token
body.includedSteps[].action.fromToken.name string · Required

Parent object: body.includedSteps[].action.fromToken

Name of the token
body.includedSteps[].action.fromToken.priceUSD string · Optional

Parent object: body.includedSteps[].action.fromToken

Token price in USD
body.includedSteps[].action.fromToken.symbol string · Required

Parent object: body.includedSteps[].action.fromToken

Symbol of the token
body.includedSteps[].action.slippage number · Optional

Parent object: body.includedSteps[].action

The maximum allowed slippage

format: double

body.includedSteps[].action.toAddress string · Optional

Parent object: body.includedSteps[].action

The receiving wallet address
body.includedSteps[].action.toChainId number · Required

Parent object: body.includedSteps[].action

The id of the chain where the transfer should end

format: number

body.includedSteps[].action.toToken object · Required

Parent object: body.includedSteps[].action

The token that should be transferred to
Nested fields and variants
body.includedSteps[].action.toToken.address string · Required

Parent object: body.includedSteps[].action.toToken

Address of the token
body.includedSteps[].action.toToken.chainId number · Required

Parent object: body.includedSteps[].action.toToken

Id of the token's chain

format: number

body.includedSteps[].action.toToken.coinKey string · Optional

Parent object: body.includedSteps[].action.toToken

Identifier for the token
body.includedSteps[].action.toToken.decimals number · Required

Parent object: body.includedSteps[].action.toToken

Number of decimals the token uses

format: number

body.includedSteps[].action.toToken.logoURI string · Optional

Parent object: body.includedSteps[].action.toToken

Logo of the token
body.includedSteps[].action.toToken.name string · Required

Parent object: body.includedSteps[].action.toToken

Name of the token
body.includedSteps[].action.toToken.priceUSD string · Optional

Parent object: body.includedSteps[].action.toToken

Token price in USD
body.includedSteps[].action.toToken.symbol string · Required

Parent object: body.includedSteps[].action.toToken

Symbol of the token
body.includedSteps[].estimate object · Required

Parent object: body.includedSteps[]

An estimate for the current transfer
Nested fields and variants
body.includedSteps[].estimate.approvalAddress string · Required

Parent object: body.includedSteps[].estimate

The contract address for the approval
body.includedSteps[].estimate.data object · Optional

Parent object: body.includedSteps[].estimate

Arbitrary data that depends on the the used tool
Nested fields and variants
body.includedSteps[].estimate.data.bid object · Optional

Parent object: body.includedSteps[].estimate.data

Nested fields and variants
body.includedSteps[].estimate.data.bid.amount string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.amountReceived string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.bidExpiry number · Optional

Parent object: body.includedSteps[].estimate.data.bid

format: number

body.includedSteps[].estimate.data.bid.callDataHash string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.callTo string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.encryptedCallData string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.expiry number · Optional

Parent object: body.includedSteps[].estimate.data.bid

format: number

body.includedSteps[].estimate.data.bid.initiator string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.receivingAddress string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.receivingAssetId string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.receivingChainId number · Optional

Parent object: body.includedSteps[].estimate.data.bid

format: number

body.includedSteps[].estimate.data.bid.receivingChainTxManagerAddress string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.router string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.sendingAssetId string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.sendingChainId number · Optional

Parent object: body.includedSteps[].estimate.data.bid

format: number

body.includedSteps[].estimate.data.bid.sendingChainTxManagerAddress string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.transactionId string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bid.user string · Optional

Parent object: body.includedSteps[].estimate.data.bid

body.includedSteps[].estimate.data.bidSignature string · Optional

Parent object: body.includedSteps[].estimate.data

body.includedSteps[].estimate.data.gasFeeInReceivingToken string · Optional

Parent object: body.includedSteps[].estimate.data

body.includedSteps[].estimate.data.metaTxRelayerFee string · Optional

Parent object: body.includedSteps[].estimate.data

body.includedSteps[].estimate.data.routerFee string · Optional

Parent object: body.includedSteps[].estimate.data

body.includedSteps[].estimate.data.totalFee string · Optional

Parent object: body.includedSteps[].estimate.data

body.includedSteps[].estimate.executionDuration number · Required

Parent object: body.includedSteps[].estimate

The time needed to complete the following step
body.includedSteps[].estimate.feeCosts array · Optional

Parent object: body.includedSteps[].estimate

Fees charged on the transfer. On a `lifi` step this array is the concatenation of the fee costs of every entry in `includedSteps`, so it already contains them. Do not add both together.
Nested fields and variants

body.includedSteps[].estimate.feeCosts[] · Array item · object

Nested fields and variants
body.includedSteps[].estimate.feeCosts[].amount string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[]

The fee amount in the smallest unit of `token`, before decimals are applied. Divide by `10 ** token.decimals` for a human-readable amount.
body.includedSteps[].estimate.feeCosts[].amountUSD string · Required

Parent object: body.includedSteps[].estimate.feeCosts[]

The amount of fees in USD
body.includedSteps[].estimate.feeCosts[].description string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[]

Description of the fee costs
body.includedSteps[].estimate.feeCosts[].feeSplit object · Optional

Parent object: body.includedSteps[].estimate.feeCosts[]

Response-only breakdown of this fee entry's `amount` into the parties that share it. Returned for the LI.FI/integrator fee entry and for a separate `Distributions` entry when distributions are present; omitted for fees such as a relayer or bridge gas fee. For the LI.FI/integrator entry, `lifiFee`, `integratorFee`, and `intermediaryFee` (when present) are disjoint slices of its `amount`. For the `Distributions` entry, `lifiFee` and `integratorFee` are both "0"; its `amount` is the sum of its distribution recipients. `recipients[]` describes only the parent fee entry. It is a breakdown of that entry's `amount`, not an additional charge. This field is returned, not accepted: the API ignores a `feeSplit` posted in a request body, so integrations must read the split from the response instead of echoing back a previously quoted one.
Nested fields and variants
body.includedSteps[].estimate.feeCosts[].feeSplit.integratorFee string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[].feeSplit

The integrator's slice of `amount`, in the smallest unit of `token`. It excludes intermediary fees (reported separately as `intermediaryFee`) and distributions (reported in a separate `Distributions` fee entry). It is "0" on the `Distributions` entry.
body.includedSteps[].estimate.feeCosts[].feeSplit.intermediaryFee string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[].feeSplit

The intermediary's slice of `amount`, in the smallest unit of `token`. Present only when an intermediary participates in the split.
body.includedSteps[].estimate.feeCosts[].feeSplit.lifiFee string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[].feeSplit

LI.FI's slice of `amount`, in the smallest unit of `token`.
body.includedSteps[].estimate.feeCosts[].feeSplit.recipients array · Optional

Parent object: body.includedSteps[].estimate.feeCosts[].feeSplit

Per-recipient breakdown of this fee entry's `amount`. The LI.FI/integrator entry lists its own recipients, excluding partner-specified distributions. Those are listed in the separate `Distributions` entry's own `feeSplit.recipients[]`, with type `DISTRIBUTION` and one record per distribution.
Nested fields and variants

body.includedSteps[].estimate.feeCosts[].feeSplit.recipients[] · Array item · object

Nested fields and variants
body.includedSteps[].estimate.feeCosts[].feeSplit.recipients[].fee string · Required

Parent object: body.includedSteps[].estimate.feeCosts[].feeSplit.recipients[]

The amount credited to this recipient, in the smallest unit of this fee entry's `token`.
body.includedSteps[].estimate.feeCosts[].feeSplit.recipients[].name string · Required

Parent object: body.includedSteps[].estimate.feeCosts[].feeSplit.recipients[]

Recipient identifier, to be read together with `type`: `lifi` for the LI.FI platform recipient, the integrator id for the integrator's own fee, the intermediary id for an `INTERMEDIARY` entry, or the recipient wallet address for a `DISTRIBUTION` entry. Do not render it directly in a user-facing UI without type-aware formatting.
body.includedSteps[].estimate.feeCosts[].feeSplit.recipients[].type string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[].feeSplit.recipients[]

How this recipient's fee was calculated. Currently one of `FIXED`, `SHARED`, `DYNAMIC`, `INTERMEDIARY`, or `DISTRIBUTION`, and deliberately not modelled as an enum because the set can grow without a breaking change. May be absent when the calculation type cannot be determined statically, so null-check before reading and keep a default branch when matching on it. `FIXED` and `SHARED` are the standard fee models. `DYNAMIC` means LI.FI resolved its rate for this quote under approved Dynamic Pricing, so the same integration can report a different rate on another quote. `INTERMEDIARY` marks a third-party recipient carving a configured share, and `DISTRIBUTION` marks a partner-specified recipient within the separate `Distributions` fee entry's own `feeSplit.recipients[]`. To detect Dynamic Pricing on a quote, look for a recipient whose `type` is `DYNAMIC`.
body.includedSteps[].estimate.feeCosts[].feeSplit.recipients[].walletAddress string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[].feeSplit.recipients[]

The recipient's wallet address on the source chain.
body.includedSteps[].estimate.feeCosts[].included boolean · Required

Parent object: body.includedSteps[].estimate.feeCosts[]

`true` means the fee is already accounted for in the quoted amounts and must not be added again as a separate user payment. `false` means the user pays it on top of `fromAmount`.
body.includedSteps[].estimate.feeCosts[].name string · Required

Parent object: body.includedSteps[].estimate.feeCosts[]

Human-readable name of the fee, for example `LIFI Fixed Fee` or `Relayer Gas fee`. Names are tool-specific free text and are not a stable enum. Do not branch on this value.
body.includedSteps[].estimate.feeCosts[].percentage string · Required

Parent object: body.includedSteps[].estimate.feeCosts[]

The fee expressed as a fraction of the transferred amount, for example `0.0025` for 0.25%. A fee whose name contains `Fixed` may still report a non-zero fraction; do not infer the fee model from `name` or assume fixed-fee entries report `0`.
body.includedSteps[].estimate.feeCosts[].token object · Required

Parent object: body.includedSteps[].estimate.feeCosts[]

The `Token` the fee is denominated in. `token.chainId` identifies the chain of that token, not necessarily the chain where the underlying work happens. A destination execution fee is commonly denominated in the source-chain token the user is already sending.
Nested fields and variants
body.includedSteps[].estimate.feeCosts[].token.address string · Required

Parent object: body.includedSteps[].estimate.feeCosts[].token

Address of the token
body.includedSteps[].estimate.feeCosts[].token.chainId number · Required

Parent object: body.includedSteps[].estimate.feeCosts[].token

Id of the token's chain

format: number

body.includedSteps[].estimate.feeCosts[].token.coinKey string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[].token

Identifier for the token
body.includedSteps[].estimate.feeCosts[].token.decimals number · Required

Parent object: body.includedSteps[].estimate.feeCosts[].token

Number of decimals the token uses

format: number

body.includedSteps[].estimate.feeCosts[].token.logoURI string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[].token

Logo of the token
body.includedSteps[].estimate.feeCosts[].token.name string · Required

Parent object: body.includedSteps[].estimate.feeCosts[].token

Name of the token
body.includedSteps[].estimate.feeCosts[].token.priceUSD string · Optional

Parent object: body.includedSteps[].estimate.feeCosts[].token

Token price in USD
body.includedSteps[].estimate.feeCosts[].token.symbol string · Required

Parent object: body.includedSteps[].estimate.feeCosts[].token

Symbol of the token
body.includedSteps[].estimate.fromAmount string · Required

Parent object: body.includedSteps[].estimate

The amount that should be transferred including all decimals
body.includedSteps[].estimate.fromAmountUSD string · Optional

Parent object: body.includedSteps[].estimate

The amount that should be transferred in USD equivalent
body.includedSteps[].estimate.gasCosts array · Optional

Parent object: body.includedSteps[].estimate

Estimated network gas for the transfer. On a `lifi` step this is a single estimate for the transaction that is actually submitted. It aggregates raw gas costs from source-chain entries in `includedSteps` and, for EVM transactions, adds estimated LI.FI contract overhead. It may differ from and often exceed the sum of the source-chain per-step entries. Raw destination-chain gas costs are not added directly. Do not add the top-level and included-step arrays together.
Nested fields and variants

body.includedSteps[].estimate.gasCosts[] · Array item · object

Nested fields and variants
body.includedSteps[].estimate.gasCosts[].amount string · Required

Parent object: body.includedSteps[].estimate.gasCosts[]

The estimated total gas cost in the smallest unit of the gas token. For EVM entries this is `estimate` multiplied by `price`. Other ecosystems may use chain-specific units and rounding, so consumers should treat `amount` as authoritative rather than reconstructing it from the other fields. Divide by `10 ** token.decimals` for a human-readable amount.
body.includedSteps[].estimate.gasCosts[].amountUSD string · Optional

Parent object: body.includedSteps[].estimate.gasCosts[]

Amount of the gas cost in USD
body.includedSteps[].estimate.gasCosts[].estimate string · Optional

Parent object: body.includedSteps[].estimate.gasCosts[]

Estimated units of gas the transaction consumes
body.includedSteps[].estimate.gasCosts[].limit string · Optional

Parent object: body.includedSteps[].estimate.gasCosts[]

Suggested gas limit: `estimate` plus a safety buffer. Use this value when submitting the transaction, not `estimate`.
body.includedSteps[].estimate.gasCosts[].price string · Optional

Parent object: body.includedSteps[].estimate.gasCosts[]

Gas price used for the estimate, in the smallest unit of the gas token per unit of gas (wei per gas on EVM chains).
body.includedSteps[].estimate.gasCosts[].token object · Required

Parent object: body.includedSteps[].estimate.gasCosts[]

The native gas token of the chain the transaction is sent on. `token.chainId` is the chain that consumes the gas.
Nested fields and variants
body.includedSteps[].estimate.gasCosts[].token.address string · Required

Parent object: body.includedSteps[].estimate.gasCosts[].token

Address of the token
body.includedSteps[].estimate.gasCosts[].token.chainId number · Required

Parent object: body.includedSteps[].estimate.gasCosts[].token

Id of the token's chain

format: number

body.includedSteps[].estimate.gasCosts[].token.coinKey string · Optional

Parent object: body.includedSteps[].estimate.gasCosts[].token

Identifier for the token
body.includedSteps[].estimate.gasCosts[].token.decimals number · Required

Parent object: body.includedSteps[].estimate.gasCosts[].token

Number of decimals the token uses

format: number

body.includedSteps[].estimate.gasCosts[].token.logoURI string · Optional

Parent object: body.includedSteps[].estimate.gasCosts[].token

Logo of the token
body.includedSteps[].estimate.gasCosts[].token.name string · Required

Parent object: body.includedSteps[].estimate.gasCosts[].token

Name of the token
body.includedSteps[].estimate.gasCosts[].token.priceUSD string · Optional

Parent object: body.includedSteps[].estimate.gasCosts[].token

Token price in USD
body.includedSteps[].estimate.gasCosts[].token.symbol string · Required

Parent object: body.includedSteps[].estimate.gasCosts[].token

Symbol of the token
body.includedSteps[].estimate.gasCosts[].type string · Required

Parent object: body.includedSteps[].estimate.gasCosts[]

The kind of gas cost this entry represents. - `SEND`: estimated network gas for the transaction the sender submits, normally on the source chain. This is the only value the API currently returns. - `APPROVE`: estimated network gas for a separate ERC-20 approval transaction. Reserved; approval gas is not currently returned as its own entry. - `FEE`: an execution cost charged as a fee rather than as a transaction the user signs. Reserved; such costs are currently reported in `feeCosts` instead. - `SUM`: an aggregate of the other entries. Reserved and not currently returned. Treat `APPROVE`, `FEE`, and `SUM` as forward-compatible values: handle them if they appear, but do not build a flow that depends on them.

enum: "SUM", "APPROVE", "SEND", "FEE"

body.includedSteps[].estimate.skipApproval boolean · Optional

Parent object: body.includedSteps[].estimate

Optional flag indicating that this step needs no token approval, because the executing contract moves funds under the authorization already carried by the signed transaction or message.
body.includedSteps[].estimate.toAmount string · Required

Parent object: body.includedSteps[].estimate

The estimated resulting amount of the `toToken` including all decimals
body.includedSteps[].estimate.toAmountMin string · Required

Parent object: body.includedSteps[].estimate

The minimal outcome of the transfer including all decimals. It may reflect applicable slippage and known fee-on-transfer tax adjustments.
body.includedSteps[].estimate.toAmountUSD string · Optional

Parent object: body.includedSteps[].estimate

The estimated resulting amount of the `toToken` in USD equivalent
body.includedSteps[].estimate.tool string · Required

Parent object: body.includedSteps[].estimate

The tools that is being used for this step
body.includedSteps[].id string · Required

Parent object: body.includedSteps[]

Unique identifier of the step
body.includedSteps[].tool string · Required

Parent object: body.includedSteps[]

The tool used for this step. E.g. `allbridge`
body.includedSteps[].toolDetails object · Required

Parent object: body.includedSteps[]

The details of the tool used for this step. E.g. `allbridge`
Nested fields and variants
body.includedSteps[].toolDetails.key string · Optional

Parent object: body.includedSteps[].toolDetails

The tool key
body.includedSteps[].toolDetails.logoURI string · Optional

Parent object: body.includedSteps[].toolDetails

The tool logo URL
body.includedSteps[].toolDetails.name string · Optional

Parent object: body.includedSteps[].toolDetails

The tool name
body.includedSteps[].type string · Required

Parent object: body.includedSteps[]

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"

integratorJSON request bodybodystringNo

A string containing tracking information about the integrator of the API

referrerJSON request bodybodystringNo

A string containing tracking information about the referrer of the integrator

toolDetailsJSON request bodybodyobjectNo

The details of the tool used for this step. E.g. `relay`

Nested fields and variants
body.toolDetails.key string · Optional

Parent object: body.toolDetails

The tool key
body.toolDetails.logoURI string · Optional

Parent object: body.toolDetails

The tool logo URL
body.toolDetails.name string · Optional

Parent object: body.toolDetails

The tool name
transactionRequestJSON request bodybodyobjectNo

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
body.transactionRequest.svmTransactionVersion number · Optional

Parent object: body.transactionRequest

Solana transaction version actually built; Jito always uses 0.

enum: 0, 1

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • actionobject
    • fromAddressstring
    • fromAmountstring
    • fromChainIdinteger
    • fromTokenobject
      • addressstring
      • chainIdinteger
      • coinKeystring
      • decimalsinteger
      • logoURIstring
      • namestring
      • priceUSDstring
      • symbolstring
      • tagsunknown[]
      • verificationStatusstring
      • verificationStatusBreakdownunknown[]
    • slippagenumber
    • toAddressstring
    • toChainIdinteger
    • toTokenobject
      • addressstring
      • chainIdinteger
      • coinKeystring
      • decimalsinteger
      • logoURIstring
      • namestring
      • priceUSDstring
      • symbolstring
      • tagsunknown[]
      • verificationStatusstring
      • verificationStatusBreakdownunknown[]
  • estimateobject
    • approvalAddressstring
    • executionDurationinteger
    • feeCostsobject[]
    • fromAmountstring
    • fromAmountUSDstring
    • gasCostsobject[]
    • toAmountstring
    • toAmountMinstring
    • toAmountUSDstring
    • toolstring
  • idstring
  • includedStepsobject[]
    • actionobject
    • estimateobject
    • idstring
    • toolstring
    • toolDetailsobject
    • typestring
  • integratorstring
  • stepSimulationobject
    • gasSourcestring
    • statusstring
  • toolstring
  • toolDetailsobject
    • keystring
    • logoURIstring
    • namestring
  • transactionIdstring
  • transactionRequestobject
    • chainIdinteger
    • datastring
    • fromstring
    • gasLimitstring
    • gasPricestring
    • tostring
    • valuestring
  • typestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    curl \
      '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"
    }'
  3. 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"
    }

Common questions

Do I send a Step or the whole Route?

Send one Step object directly as the JSON body.

Are pool exclusions carried inside the returned Step?

No. Repeat the original exclusion list in denyPools for each step request.

How do I send several denyPools values?

Repeat the denyPools query parameter using supported pool or venue identifiers.

Does skipSimulation preserve an accurate gas limit?

Skipping simulation can make gas-limit estimates less accurate; inspect the returned simulation and transaction fields.

Does this send or sign a transaction?

No. This endpoint returns quote or transaction-construction data. Signing and broadcasting occur separately, and a returned object is not a completed transfer.

Are network fees the OpenAny API call price?

No. Gas and transfer fee estimates describe the on-chain operation. Review the selected implementation pricing separately for the OpenAny request.

Use LI.FI Step Transaction Builder API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.