Superbridge
Start typing to search...

Endpoints

Routes

Get available bridging routes for a token transfer between chains

Get available bridging routes for a token transfer between chains. Returns quotes from multiple bridging providers.

POSThttps://api.superbridge.app/v1/routes

Body

application/json
fromChainUidstring

Chain UUID (internal identifier)

toChainUidstring

Chain UUID (internal identifier)

fromChainIdstring

Native chain ID (e.g. 1 for Ethereum)

toChainIdstring

Native chain ID (e.g. 1 for Ethereum)

fromChainKeystring

Shorthand chain identifier (e.g. eth for Ethereum)

toChainKeystring

Shorthand chain identifier (e.g. eth for Ethereum)

fromTokenAddressstringrequired

0x0000000000000000000000000000000000000000 for native tokens

toTokenAddressstringrequired

0x0000000000000000000000000000000000000000 for native tokens

senderstringrequired
recipientstringrequired
amountstringrequired

Amount in wei (or smallest denomination)

providersstring[]
slippagenumberrequired

You must specify chains using either the Key or Id variants (e.g. fromChainKey or fromChainId).

Response

Returns an object containing an array of route results, one per provider.

requestRouteRequestrequired
resultsRouteResult[]required