/intents/route endpoint.
To get a quote, you’ll need the destination chain, the token and amount on that chain, and the account address:
Get Quote
intentOp: the list of intent elements for the user to sign, along with intent metadata such as token pricesintentCost: the cost of the intent in input tokenstokenRequirements: the list of token requirements to fulfill
Executions (calls)
You can make executions on behalf of the EOA on the destination chain. Note: the executions run in the context of the multicall contract. If you’re sending any tokens, make sure to add a call to transfer any output back to the EOA.Sponsorship
You can mark the intent as sponsored (covering the gas and bridging costs for the user) by setting thesponsorSettings field:
Sponsor the Intent
Source Chain / Token
You can select which tokens and/or chains to use as the source of funds. To limit the source of funds to specific chains:Select Input Chains
Select Input Tokens
Select Input Chains and Tokens
Select Input Chains and Tokens
Swaps
If the destination token differs from the user’s source token, Warp handles the bridge and swap automatically. No additional parameters are needed — just specify the token you want on the destination chain. In a swap quote,tokensSpent and tokensReceived will show different tokens:
amountSpent minus destinationAmount).
Next Steps
Token Requirements
What the intent requirements are and how to fulfill them