Example
Here’s how you can make a token transfer:Gas Limit
You can override the default gas limit for the target chain execution withgasLimit. Doing this will make the intent better priced, because we can more accurately calculate the fee that a solver needs to be reimbursed with for paying the gas. If this is not provided, we calculate using a gas limit of 1_000_000.
Source Assets
You can specify what token (or tokens) to use as an input asset:Auxiliary Funds
In case you have funds not available immediately for an intent (e.g. locked in a vault or sitting in an exchange), you can specify them as auxiliary funds:Wait for Execution
sendTransaction returns a pending intent. To wait until it gets executed, use waitForExecution: