Async dApp API
JSON-RPC getActiveNetwork
networkId
Network
curl \ <JSON_RPC_URL> \ -H 'content-type: application/json' \ --data @- <<'EOF' { "jsonrpc": "2.0", "id": 1, "method": "getActiveNetwork" } EOF
{ "networkId": "<string>" }