Bitcoin
Bitcoin
Bitcoin
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
getchaintips lists every block-tree tip the Bitcoin node currently knows about — not just the active chain that carries BTC value, but also stale branches it once considered, headers-only branches it has not fully downloaded, and tips it marked invalid. Each entry reports its height, hash, branchlen (how far the branch diverges from the main chain), and a status. Because Bitcoin resolves competing Proof-of-Work branches by most cumulative work, this method is how you observe forks and reorgs from outside. Call it at https://bitcoin.therpc.io/YOUR_API_KEY with no parameters.
valid-fork tips that can signal a network fork or a deep reorg in progress.active tip alongside any side branches to assess how settled the chain is.此方法不需要任何参数,传入空数组 [] 即可。
| 类型 | 描述 |
|---|---|
| array | Array of { height, hash, branchlen, status } where status is one of active, valid-fork, valid-headers, headers-only, invalid. |
status: active; every other entry is a fork, a headers-only branch, or an invalid branch — do not treat them as confirmed chain.