This guide walks you through the process of setting up and using the Skip Go Client to perform a cross-chain from USDC on Noble to TIA on Celestia.
create-next-app
is recommended)Install Library
Initialize Client
setClientOptions
or setApiOptions
. After configuration, you import and call functions like route
and executeRoute
directly.Get a Route
route
function to request a quote and route to swap USDC on Noble to TIA on Celestia.amountOut
: The estimated amount the user will receive after the swap, net of all fees and price impactrequiredChainAddresses
: Chain IDs where you need to provide user addresses when generating the transactionoperations
: Steps involved in moving from the source to the destination tokenGet Required Addresses
routeResult.requiredChainAddresses
array lists the chain IDs for which addresses are needed.getAddress
that retrieves the address based on the chain ID (see an example here).Execute the Route