此端点执行多个跨区块链的智能合约调用,支持批量处理复杂的跨链合约交互和交易序列。
The apiKey allows you to authenticate on the API.
Object describing what tokens to transfer and how to interact with the destination contracts.
Object defining instructions on how to perform multiple cross-chain/same-chain calls
The sending chain. Can be the chain id or chain key
The token that should be transferred. Can be the address or the symbol
The wallet that will send the transaction and contains the starting token
The receiving chain. Can be the chain id or chain key
The token required to perform the contract interaction (can be something to stake, donate or to be used as payment)
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.
If the call fails, use this address to send the bridged tokens to. If none is specified, the sending address will be used.
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.
The maximum allowed slippage for the transaction as a decimal value. 0.005 represents 0.5%.
0 <= x <= 1A string containing tracking information about the integrator of the API
A string containing tracking information about the referrer of the integrator
List of bridges that are allowed for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of bridges that are not allowed for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of bridges that should be preferred for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of exchanges that are allowed for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of exchanges that are not allowed for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of exchanges that should be preferred for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
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.
The percent of the integrator's fee that is taken from every transaction. The maximum fee amount should be less than 100%.
0 <= x < 1