ORIGIN_CHAIN swap flow end-to-end: find a token, request a quote, send your deposit, and poll status until it settles.
1
Query supported tokens
Fetch available tokens to find the The response includes tokens with their
assetId values you will need.assetId in this format:- NEAR tokens:
nep141:wrap.near - Bridged tokens:
nep141:eth-0xdac17f958d2ee523a2206206994597c13d831ec7.omft.near
Example response
Example response
2
Request a quote
Request a quote with your swap parameters. Include your JWT token to avoid the 0.2% fee.
Key parameters
Key parameters
3
Send tokens
For
ORIGIN_CHAIN quotes, transfer tokens to the depositAddress from the quote response. The swap begins automatically upon receipt.Save the deposit address and your transaction hash for tracking.If your quote uses depositType: INTENTS or depositType: CONFIDENTIAL_INTENTS, skip the on-chain transfer and use Signed Intent Execution instead.4
Submit transaction hash (optional)
Speed up processing by notifying 1Click of your deposit.
5
Monitor status
Check swap progress using the deposit address.
Status response
Status response
View detailed transaction info on the NEAR Intents Explorer by searching for your deposit address.
6
Celebrate! 🎉
You just completed your first intent-based cross-chain swap!