{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"2deb86b7-8e4a-464f-9a30-fe90449aeb47","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"lifi","dataPlatformLogoUrl":"https://framerusercontent.com/images/qaMImANIDMfsz5uKFRTTXjZ1g4c.png","dataPlatformTranslations":{"ar":"LI.FI","ja":"LI.FI","zh":"LI.FI"},"dataProduct":"cross-chain-data","description":"Get LI.FI Contract Calls Quote data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Lifi, pass parameters such as fromAddress, fromChain, fromToken, 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 review contract-call quotes, and separate simulation and execution.","descriptionTranslations":{"ar":"جهز عرضا لتعليمات استدعاء العقود عبر OpenAny REST لفحص تقديرات التحويل والمعاملة قبل تدفق توقيع محفظة منفصل. أرسل JSON يصف الأصول والاستدعاءات المقصودة لاستلام action وestimate والمحاكاة وبيانات المعاملة المعدة مع اعتبارها بيانات بناء لا إثبات تنفيذ.","ja":"OpenAny REST でコントラクト呼出指示の見積を準備し、別の署名フロー前に転送・取引内容を確認できます。送受信資産と予定する呼出を JSON で送り、action、estimate、シミュレーション、取引データを取得し、実行済みの証拠とは区別します。","zh":"通过 OpenAny REST 为合约调用指令准备报价，在独立钱包签名前查看转账及交易估算。发送描述来源、目标资产和预期合约调用的 JSON 对象，获取 action、estimate、模拟信息和待签交易数据；结果不等于调用已执行。"},"effectContentHtml":"","executionMode":"sync","id":"7dd239de-ff7b-4969-b948-bb03a4aec71e","includedContentHtml":"","inputs":[{"description":"Object defining instructions on how to perform multiple cross-chain/same-chain calls","json_schema":{"description":"Object defining instructions on how to perform multiple cross-chain/same-chain calls","examples":[{"contractCalls":[],"fromAddress":"0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0","fromChain":1,"fromToken":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","toAmount":"100000000","toChain":10,"toToken":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"}],"properties":{"allowBridges":{"description":"List of bridges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","items":{"type":"string"},"type":"array"},"allowDestinationCall":{"description":"Whether swaps or other contract calls should be allowed as part of the destination transaction of a bridge transfer. Separate swap transactions on the destination chain are not affected by this flag. By default, parameter is `true`.","type":"boolean"},"allowExchanges":{"description":"List of exchanges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","items":{"type":"string"},"type":"array"},"contractCalls":{"example":[],"items":{"description":"Object defining a single arbitrary contract call","properties":{"fromAmount":{"description":"The amount that will feed into this contract call. This is not dependent on how much was bridged or deposited before - it's the *expected* amount of token available on order to execute the call.","type":"string"},"fromTokenAddress":{"description":"The token that will feed into this contract call. E.g. a ETH staking transaction would expect to have ETH available.","type":"string"},"toApprovalAddress":{"description":"If the approval address is different thant the contract to call, specify that address here","type":"string"},"toContractAddress":{"description":"The address of the contract to interact with.","type":"string"},"toContractCallData":{"description":"The calldata to be sent to the contract for the interaction on the destination chain.","type":"string"},"toContractGasLimit":{"description":"The estimated gas used by the destination call. If this value is incorrect, the interaction may fail -- choose this carefully!","type":"string"},"toTokenAddress":{"description":"If the contract outputs a token, specify its address here. (E.g. staking ETH produces stETH)","type":"string"}},"required":["fromAmount","fromTokenAddress","toContractAddress","toContractCallData","toContractGasLimit"],"title":"Root Type for ContractCall","type":"object"},"type":"array"},"contractOutputsToken":{"description":"Some contract interactions will output a token. This is the case in things like staking. Omit this parameter if no token should be returned to the user.","type":"string"},"denyBridges":{"description":"List of bridges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","items":{"type":"string"},"type":"array"},"denyExchanges":{"description":"List of exchanges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","items":{"type":"string"},"type":"array"},"fee":{"description":"The percent of the integrator's fee that is taken from every transaction. The maximum fee amount should be less than 100%.","exclusiveMaximum":1,"format":"double","minimum":0,"type":"number"},"fromAddress":{"description":"The wallet that will send the transaction and contains the starting token","example":"0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0","type":"string"},"fromChain":{"description":"The sending chain. Can be the chain id or chain key","example":1,"type":"number"},"fromToken":{"description":"The token that should be transferred. Can be the address or the symbol","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","type":"string"},"integrator":{"description":"A string containing tracking information about the integrator of the API","type":"string"},"preferBridges":{"description":"List of bridges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","items":{"type":"string"},"type":"array"},"preferExchanges":{"description":"List of exchanges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","items":{"type":"string"},"type":"array"},"referrer":{"description":"A string containing tracking information about the referrer of the integrator","type":"string"},"slippage":{"description":"The maximum allowed slippage for the transaction as a decimal value. 0.005 represents 0.5%.","format":"double","maximum":1,"minimum":0,"type":"number"},"toAmount":{"description":"The amount of token required by the contract interaction. The LI.FI API will try and generate a quote that guarantees at least that amount on the destination chain.","example":"100000000","type":"string"},"toChain":{"description":"The receiving chain. Can be the chain id or chain key","example":10,"type":"number"},"toFallbackAddress":{"description":"If the call fails, use this address to send the bridged tokens to. If none is specified, the sending address will be used.","type":"string"},"toToken":{"description":"The token required to perform the contract interaction (can be something to stake, donate or to be used as payment)","example":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","type":"string"}},"required":["fromChain","fromToken","fromAddress","toChain","toToken","toAmount","contractCalls"],"title":"Root type for ContractCallsRequest","type":"object"},"location":"body","name":"body","nullable":false,"pointer":"","required":true,"type":"object"}],"logoUrl":"https://framerusercontent.com/images/qaMImANIDMfsz5uKFRTTXjZ1g4c.png","method":"POST","name":"LI.FI — Perform multiple contract calls across blockchains (BETA)","nameTranslations":{"ar":"LI.FI — تنفيذ استدعاءات متعددة للعقود عبر البلوكشين (تجريبي)","ja":"LI.FI — ブロックチェーン間で複数のコントラクト呼び出しを実行（ベータ版）","zh":"LI.FI — 跨区块链执行多个合约调用（测试版）"},"overviewHtml":"\u003ch2\u003eLI.FI Contract Calls Quote API\u003c/h2\u003e\n\u003cp\u003ePOST the contract-call request object directly as JSON. The beta operation constructs a quote and transactionRequest; inspect stepSimulation and estimates before any separate execution.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired JSON body: body\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003elifi · LI.FI — Perform multiple contract calls across blockchains (BETA)\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eReview contract-call quotes\u003c/strong\u003e: Inspect action and fee estimates together.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eSeparate simulation and execution\u003c/strong\u003e: Read simulation status without treating it as a completed on-chain call.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eaction.fromAmount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource token amount in base units\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eestimate.toAmount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eEstimated destination token amount\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eestimate.toAmountMin\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMinimum destination amount for the quoted step\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eestimate.gasCosts\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eEstimated network gas costs\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eestimate.feeCosts\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eQuoted transfer fee components\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etransactionRequest\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrepared transaction data\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003estepSimulation\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTransaction simulation metadata\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request POST \\\n  https://api.openany.si/v1/agent-apis/lifi/v1/quote/contractCalls \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#34;Content-Type: application/json\u0026#34; \\\n  --data-raw \u0026#39;{\u0026#34;fromAddress\u0026#34;:\u0026#34;0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0\u0026#34;,\u0026#34;fromChain\u0026#34;:1,\u0026#34;fromToken\u0026#34;:\u0026#34;0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\u0026#34;,\u0026#34;toAmount\u0026#34;:\u0026#34;100000000\u0026#34;,\u0026#34;toChain\u0026#34;:10,\u0026#34;toToken\u0026#34;:\u0026#34;0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85\u0026#34;}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe 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.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/7dd239de-ff7b-4969-b948-bb03a4aec71e\"\u003ePublished LI.FI Contract Calls Quote API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eShould the request be wrapped in a body field?\u003c/h3\u003e\n\u003cp\u003eNo. Send the request object directly as the JSON POST body.\u003c/p\u003e\n\u003ch3\u003eIs this operation beta?\u003c/h3\u003e\n\u003cp\u003eYes. The published operation is marked beta.\u003c/p\u003e\n\u003ch3\u003eDoes stepSimulation prove the transaction was mined?\u003c/h3\u003e\n\u003cp\u003eNo. Simulation metadata is separate from execution and confirmation.\u003c/p\u003e\n\u003ch3\u003eWhat does transactionRequest contain?\u003c/h3\u003e\n\u003cp\u003ePrepared transaction data for a separate signing flow; validate the returned fields for the relevant chain.\u003c/p\u003e\n\u003ch3\u003eDoes this send or sign a transaction?\u003c/h3\u003e\n\u003cp\u003eNo. This endpoint returns quote or transaction-construction data. Signing and broadcasting occur separately, and a returned object is not a completed transfer.\u003c/p\u003e\n\u003ch3\u003eAre network fees the OpenAny API call price?\u003c/h3\u003e\n\u003cp\u003eNo. Gas and transfer fee estimates describe the on-chain operation. Review the selected implementation pricing separately for the OpenAny request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/lifi/lifi-li-fi-check-the-status-of-a-cross-chain-transfer\"\u003eLI.FI — Check the status of a cross chain transfer\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/lifi/lifi-li-fi-fetch-all-known-tokens\"\u003eLI.FI — Fetch all known tokens\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/lifi/lifi-li-fi-fetch-information-about-a-token\"\u003eLI.FI — Fetch information about a Token\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/lifi/lifi-li-fi-perform-multiple-contract-calls-across-blockchains-beta?offering=7dd239de-ff7b-4969-b948-bb03a4aec71e","providerId":"lifi","publicPath":"/v1/agent-apis/lifi/v1/quote/contractCalls","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Documentation example (source abbreviated)","request":{"body":{"contractCalls":[],"fromAddress":"0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0","fromChain":1,"fromToken":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","toAmount":"100000000","toChain":10,"toToken":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"},"headers":{},"path":{},"query":{}},"response_body":{"action":{"fromAddress":"0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0","fromAmount":"100762253","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":"100762253","fromAmountUSD":"100.7859","gasCosts":[{}],"toAmount":"100500002","toAmountMin":"100500002","toAmountUSD":"100.5842","tool":"across"},"id":"73954de5-7a05-41bc-b646-a5efc485d2ca:0","includedSteps":[{"action":{},"estimate":{},"id":"7139794b-096f-4a12-9010-d201c3cf4fb8","tool":"feeCollection","toolDetails":{},"type":"protocol"}],"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":"0x032bc7a418167823b1132dca3b8621f59daf55ce89df59ba1ecc28301e705e2d","transactionRequest":{"chainId":1,"data":"0x1794958f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000","from":"0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0","gasLimit":"0x422c7","gasPrice":"0x2d4a467","to":"0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE","value":"0x0"},"type":"lifi"}}],"seoDescription":"Get LI.FI Contract Calls Quote data via REST or MCP powered by Lifi. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:43:33.046Z","usageInstructionsHtml":""}}