For the complete documentation index, see llms.txt. This page is also available as Markdown.

getblockchaininfo

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

post

JSON RPC - getblockchaininfo

Authorizations
x-api-keystringRequired
Body
methodstring · enumRequiredPossible values:
Responses
200

Default Response

application/json
resultanyOptional
erroranyOptional
idanyOptional
post/v2/rpc/bitcoin/getblockchaininfo
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