Stargate V2
/getprice
Get the swap quotation for the given token pairs.
GET
https://api.expand.network/bridge/getprice
Query Parameters
rpc
String
Remote procedural call URL.
amountIn*
String
Address of the pool.
address
String
Sender's public address.
srcChainId
String
bridgeId
String
dstChainId*
String
Destination Chain ID.
srcTokenSymbol*
String
Source token symbol
dstTokenSymbol*
String
Destination token symbol
/getliquidity
Get the balance of a particular token pair of an account.
GET
https://api.expand.network/bridge/getliquidity
Query Parameters
rpc
String
Remote procedural call URL.
srcTokenSymbol*
String
Source Token symbol
address
String
Sender's public address.
srcChainId
String
bridgeId
String
/gettransaction
Get details of a transaction.
GET
https://api.expand.network/bridge/gettransaction
Query Parameters
rpc
String
Remote procedural call URL.
transactionHash*
String
The transaction hash.
bridgeId
String
/swap
Swap assets across multiple chains.
POST
https://api.expand.network/bridge/swap
rpc
String
Remote procedural call URL.
bridgeId
String
srcTokenSymbol*
String
Symbol of token to swap.
dstChainId*
String
amountIn*
String
Amount of token to be swapped.
from*
String
Address of the sender of the token.
amountOutMin*
String
Minimum amount accepted as the result of swap.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
to
String
Address of the recipient of the token.
dstTokenSymbol
String
Symbol of token to be received as a result of swap.
srcChainId
String
srcChainSymbol
String
Source Chain Symbol.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 100
gasPriority
String
low, medium, or high.
transferMode
String
Mode of transport-bus
or taxi
. By default, taxi
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority:
/addliquidity
Loan your assets to the specified bridge.
POST
https://api.expand.network/bridge/addliquidity
Request Body
bridgeId
String
rpc
String
Remote procedural call URL.
srcChainId
String
srcTokenSymbol*
String
Symbol of token to add liquidity.
from*
String
Address of the sender of the token.
amountIn*
String
Amount of token to add liquidity.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority:
/removeliquidity
Remove user liquidity across multiple chains.
POST
https://api.expand.network/bridge/removeliquidity
Request Body
bridgeId
String
rpc
String
Remote procedural call URL.
srcChainId
String
srcTokenSymbol*
String
Symbol of token to add liquidity.
from*
String
Address of the sender of the token.
to*
String
Address of the reciever of the token.
amountOut*
String
Amount of token to remove liquidity.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority:
With ofacCheck:
Last updated