getblockchaininfo

This RPC Method returns an object that contains the information regarding blockchain processing in different states.

post

JSON RPC - getblockchaininfo

Authorizations
Body
methodstring · enumRequiredPossible values:
Responses
200

Default Response

application/json
post
POST /v2/rpc/bitcoin/getblockchaininfo HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42

{
  "method": "getblockchaininfo",
  "params": []
}
200

Default Response

{
  "result": null,
  "error": null,
  "id": null
}

Last updated