๐ฐOmni-Fungible-Token
Obtaining support chainsโ
var myHeaders = new Headers();
myHeaders.append("X-Channel-Identifier", "");
myHeaders.append("api-key", "");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.orbiter.finance/sdk/chains", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));Resultsโ
{
"status": "success",
"message": "success",
"params": {
"url": "/sdk/chains",
"method": "GET",
"routes": {
}
},
"result": [
{
"chainId": "1",
"networkId": "1",
"internalId": 1,
"name": "Ethereum",
"contract": {
"0xd9d74a29307cc6fc8bf424ee4217f1a587fbc8dc": "OBSource",
"0x3be8b60ddf9feff6b2426e47a7619d7cbc786d97": "OrbiterRouterV1",
"0xc741900276cd598060b0fe6594fbe977392928f4": "OrbiterRouterV3"
},
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18,
"coinKey": "ETH",
"address": "0x0000000000000000000000000000000000000000"
},
"tokens": [
{
"name": "Ether",
"symbol": "ETH",
"decimals": 18,
"coinKey": "ETH",
"address": "0x0000000000000000000000000000000000000000",
"isNative": true
},
{
"name": "Dai Stablecoin",
"symbol": "DAI",
"decimals": 18,
"coinKey": "DAI",
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"isNative": false
},
{
"name": "USD Coin",
"symbol": "USDC",
"coinKey": "USDC",
"decimals": 6,
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"isNative": false
},
{
"name": "Tether USD",
"symbol": "USDT",
"coinKey": "USDT",
"decimals": 6,
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"isNative": false
},
{
"name": "Wrapped BTC",
"symbol": "BTC",
"coinKey": "BTC",
"decimals": 8,
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
"isNative": false
}
],
"contracts": [
{
"name": "OBSource",
"address": "0xd9d74a29307cc6fc8bf424ee4217f1a587fbc8dc"
},
{
"name": "OrbiterRouterV1",
"address": "0x3be8b60ddf9feff6b2426e47a7619d7cbc786d97"
},
{
"name": "OrbiterRouterV3",
"address": "0xc741900276cd598060b0fe6594fbe977392928f4"
},
{
"name": "TransitFinanceRouterV5",
"address": "0x00000047bb99ea4d791bb749d970de71ee0b1a34"
},
{
"name": "XBridge",
"address": "0xfc99f58a8974a4bc36e60e2d490bb8d72899ee9f"
},
{
"name": "Rubic",
"address": "0x3335733c454805df6a77f825f266e136fb4a3333"
}
]
}
],
..........
}Request all supported routersโ
Resultsโ
Check Transaction Statusโ
Resultsโ
Simulation the amount of the target chainโ
Resultsโ
Last updated