getnetworkinfo RPC Method
Parameters
This method does not accept any parameters
Returns
version
integer
Loading...
subversion
string
Loading...
protocolversion
integer
Loading...
localservices
string
Loading...
timeoffset
integer
Loading...
connections
integer
Loading...
networks
array
Loading...
name
string
Loading...
limited
boolean
Loading...
reachable
boolean
Loading...
proxy
string
Loading...
proxy_randomize_credentials
boolean
Loading...
relayfee
number
Loading...
localaddresses
array
Loading...
warnings
string
Loading...
error
string
Loading...
Request
1curl -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "getnetworkinfo",6"params": [],7"id": 18}'
1curl -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "getnetworkinfo",6"params": [],7"id": 18}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"version": 4030000,6"subversion": "/Zebra:4.3.0/",7"protocolversion": 170140,8"localservices": "0000000000000001",9"timeoffset": 0,10"connections": 199,11"networks": [12{13"name": "ipv4",14"limited": false,15"reachable": true,16"proxy": "",17"proxy_randomize_credentials": false18},19{20"name": "ipv6",21"limited": false,22"reachable": true,23"proxy": "",24"proxy_randomize_credentials": false25},26{27"name": "onion",28"limited": false,29"reachable": false,30"proxy": "",31"proxy_randomize_credentials": false32}33],34"relayfee": 0.000001,35"localaddresses": [],36"warnings": ""37}38}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"version": 4030000,6"subversion": "/Zebra:4.3.0/",7"protocolversion": 170140,8"localservices": "0000000000000001",9"timeoffset": 0,10"connections": 199,11"networks": [12{13"name": "ipv4",14"limited": false,15"reachable": true,16"proxy": "",17"proxy_randomize_credentials": false18},19{20"name": "ipv6",21"limited": false,22"reachable": true,23"proxy": "",24"proxy_randomize_credentials": false25},26{27"name": "onion",28"limited": false,29"reachable": false,30"proxy": "",31"proxy_randomize_credentials": false32}33],34"relayfee": 0.000001,35"localaddresses": [],36"warnings": ""37}38}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free