Integrator Quickstart
Create your first Squid cross-chain route request
Last updated
Create your first Squid cross-chain route request
Last updated
Apply for an.
Check your email for the integrator ID.
Step 2: Make Your First Route Request
Replace YOUR_INTEGRATOR_ID
in the following curl command with your actual integrator ID and replace ADD_EVM_ADDRESS
with an EVM address, then paste it into your terminal and hit enter:
Congrats, you've submitted your first route request!
fromAddress
: The address initiating the swap (replace with your address)
fromChain
: The source chain ID (56 is BNB Chain)
fromToken
: The token address to swap from (USDT on BNB Chain in this example)
fromAmount
: The amount to swap (in the smallest unit of the token)
toChain
: The destination chain ID (42161 is Arbitrum)
toToken
: The token address to swap to (USDC on Arbitrum in this example)
toAddress
: The address receiving the swapped tokens
If successful, you'll receive a JSON response with the optimal route details. Key fields include:
route.estimate.toAmount
: Estimated amount you'll receive
route.estimate.feeCosts
: Breakdown of fees
route.transactionRequest
: Data needed to execute the swap
Now that you've created a route request. Choose how you want to build with Squid.