Bridge

We are providing connectivity across multiple chains via Bridges.

Following are the common functions implemented for Bridge Protocol:

NameTypeDescription

getprice

Read

Get the swap quotation for the given token pairs.

getliquidity

Read

Get the balance of a particular token pair of an account.

gettransaction

Read

Get details of a transaction.

chains

Read

Get the list of chains supported by Squid Router, on expand.network.

tokens

Read

Get the list of tokens supported by Squid Router, on the specified chain, on expand.network.

getroute

Read

Get the route details as to how the tokens will be bridged, token amount, etc.

Available on Squid Router

swap

Write

Swap assets across multiple chains.

addliquidity

Write

Loan your assets to the specified bridge.

removeliquidity

Write

Remove user liquidity across multiple chains.

Last updated