Bridges

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.

getsignature

Read

Retrieves the signature details using the transaction hash of swap.

getsupportedchains

Read

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

getsupportedtokens

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.

unlock

Write

Initiate the transaction to unlock asset on the destination chain.

addliquidity

Write

Loan your assets to the specified bridge.

removeliquidity

Write

Remove user liquidity across multiple chains.

Last updated