Bitcoin block header
bitcoin_block_headerHeader of any Bitcoin block by height or hash: hash, previous and next hash, merkle root, time, median time past, bits, difficulty, nonce, version, tx count, confirmations. Paid per call. Price: 2 sats or US$0.002 (USDC) per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| l402 | No | Optional. After paying the Lightning invoice: '<token>:<preimage>'. | |
| block_id | Yes | Block height (for example 974000) or block hash (64 hex characters) | |
| pay_with | No | Optional. 'lightning' returns a BOLT11 invoice and a token instead of the x402 payment request. |