Home

getnetworkinfo

POST
https://btc-testnet4.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns various state info regarding P2P networking

Body

application/json

Returns various state info regarding P2P networking

Request payload for getnetworkinfo.

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

RPC method name

paramsArray<any>

Method parameters (not required for getnetworkinfo)

Response

200OK

Successful response with network information

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error