POST
https://nd-202-842-353.p2pify.com
/
788f110831fe13808302bd79796d55e8
curl --request POST \
  --url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "1.0",
  "method": "getchaintips",
  "params": [],
  "id": 1
}'
{
  "result": [
    "<any>"
  ],
  "error": {},
  "id": 123
}

The getchaintips method provides information about the current chain tips, which are the endpoints of the active blockchains in the network.

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • None

Response

  • result — an array containing information about the current chain tips, including details such as block hash, block height, branch length, and whether the tip is valid.
  • error — an object containing an error message if an error occurred, otherwise null.
  • id — an integer representing the ID of the request, used to match requests with responses.

Use case

The getchaintips method is useful for understanding the current state of the blockchain network, including the various chain tips that may exist due to forks or reorganizations. This information can be valuable for monitoring the network’s health and stability.

Body

application/json

Response

200 - application/json

Information about the current chain tips

The response is of type object.