Chain
id
stringslug
stringExample:
ethereum
name
stringExample:
Ethereum
logo
stringExample:
https://raw.githubusercontent.com/swing-xyz/assets/master/blockchains/ethereum/info/logo.png
type
stringAllowed values:
evmibcsolanamultiversxbitcointontronfuelsui
singleChainSwap
booleanSingle chain swapping is supported for this chain.
singleChainStaking
booleanSingle chain staking is supported for this chain.
crossChainSwap
booleanCross chain swapping is supported for this chain.
crossChainStaking
booleanCross chain staking is supported for this chain.
nativeToken
Tokensymbol
stringExample:
ETH
address
stringExample:
0x000000000000000
logo
stringExample:
https://raw.githubusercontent.com/swing-xyz/assets/master/blockchains/ethereum/assets/0x0000000000000000000000000000000000000000/logo.png
decimals
numberExample:
18
chain
stringChain unique identifier.
Example:
ethereum
price
number or null
Estimated token price in USD (if available).
Example:
420.69
txExplorer
stringURL template to transaction details.
Example:
https://etherscan.io/tx/{txHash}
tokenExplorer
stringURL template to token details.
Example:
https://etherscan.io/tokens/{address}
rpcUrl
stringURL template to RPC endpoint.
Example:
https://eth-mainnet.g.alchemy.com/v2/xxx
preparing...