getchaintips

Returns information about all known tips in the block tree, including the active chain tip and orphaned branches.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Response

An array of chain tip information objects.
heightinteger
The height of the chain tip.
hashstring
The block hash of the chain tip.
branchleninteger

Length of the branch connecting the tip to the main chain (0 for main chain).

statusenum

Status of the chain tip: - active: tip of the main chain - valid-fork: fully validated but not active - valid-headers: headers valid but blocks not fully validated - headers-only: only headers are available - invalid: contains at least one invalid block

Allowed values: