Cross-chain Metaspace Interface
RPC QueryTry API
POST
chain_dexSwap
(RPC Query)
Example Code
{
"jsonrpc": "3.0",
"method": "chain_dexSwap",
"params": [
"opcode=ActiveRobot&subcode=RPCList",
"encryp=none"
],
"id": "aa80aa0c6bb0c7d81ac7e5b3"
}{
"jsonrpc": "3.0",
"id": "346bf4166a2c32cb6af02e57",
"result": {
"ret": "0",
"err": "",
"content": [
{
"chain_symbol": "ETH",
"rpc_host": "https://ethereum-sepolia-rpc.publicnode.com/"
},
{
"chain_symbol": "BNB",
"rpc_host": "https://bsc-testnet-dataseed.bnbchain.org"
}
]
}
}