Get Block
get_blockRetrieve Bitcoin block data from the Stamps indexer by height or hash, or fetch recent blocks. Returns block time, hashes, and transaction count.
Instructions
A Bitcoin block as the Stamps indexer sees it. block = block index
(height) or block hash; leave it empty and set last (1-50) to get the
most recent N blocks instead. Returns block_time, hashes, tx_count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last | No | ||
| block | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |