3_example_requests
Env Setup
make install_tools_optionalTest Relay with curl
curlcurl http://localhost:3070/v1 \
-H "Target-Service-Id: eth" \
-H "Authorization: test_api_key" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "eth_blockNumber" }'curl http://eth.localhost:3070/v1 \
-H "Authorization: test_api_key" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "eth_blockNumber" }'{ "id": 1, "jsonrpc": "2.0", "result": "0x2f01a" }Test WebSockets with wscat
wscatLoad Testing Relays with relay-util
relay-utilLoad Testing WebSockets with websocket-load-test
websocket-load-testUsing Portal App ID instead of API Key
Portal App ID instead of API KeyWas this helpful?
