Skip to main content

getnettotals

Overview

The 'getnettotals' method returns information about network traffic, including bytes in, bytes out, and current time.

Request

wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'X-CoinAPI-Key: 73034021-THIS-IS-SAMPLE-KE' \
--body-data '{"jsonrpc":"2.0","id":1,"method":"getnettotals","params": [ ]}' \
'https://bitcoin-mainnet.node.coinapi.io'

Request Parameters

Response

{
"result": [
"n",
...
],
"error": null,
"id": 1
}