Skip to content

Commit c41cdb9

Browse files
committed
block digest object
1 parent 82b6764 commit c41cdb9

File tree

1 file changed

+12
-1
lines changed
  • docs/tools/clients/fcl-js

1 file changed

+12
-1
lines changed

docs/tools/clients/fcl-js/api.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -2007,6 +2007,17 @@ The subset of the [BlockObject](#blockobject) containing only the header values
20072007
| `height` | number | The height of the block. |
20082008
| `timestamp` | object | Contains time related fields. |
20092009
2010+
### `BlockDigestObject`
2011+
2012+
A lightweight subset of the [BlockObject](#blockobject) containing only the id, height, and timestamp of a block.
2013+
2014+
| Key | Value Type | Description |
2015+
| ----------- | ---------- | ----------------------------- |
2016+
| `id` | string | The id of the block. |
2017+
| `height` | number | The height of the block. |
2018+
| `timestamp` | string | The timestamp of the block. |
2019+
2020+
20102021
### `CollectionGuaranteeObject`
20112022
20122023
A collection that has been included in a block.
@@ -2249,7 +2260,7 @@ interface SubscriptionParams<T extends SubscriptionTopic> {
22492260
|-------------------------|----------------------------------------|-----------------------|
22502261
| `"blocks"` | [`SubscriptionArgs<"blocks">`](#blocks-blockheaders-blockdigests) | [`Block`](#blockobject) |
22512262
| `"block_headers"` | [`SubscriptionArgs<"block_headers">`](#blocks-blockheaders-blockdigests) | [`BlockHeader`](#blockheaderobject) |
2252-
| `"block_digests"` | [`SubscriptionArgs<"block_digests">`](#blocks-blockheaders-blockdigests) | `BlockDigest` |
2263+
| `"block_digests"` | [`SubscriptionArgs<"block_digests">`](#blocks-blockheaders-blockdigests) | [`BlockDigest`](#blockdigestobject) |
22532264
| `"account_statuses"` | [`SubscriptionArgs<"account_statuses">`](#accountstatuses) | [`AccountStatus`] |
22542265
| `"transaction_statuses"`| [`SubscriptionArgs<"transaction_statuses">`](#transaction-statuses-2) | [`TransactionStatus`](#transactionstatusobject) |
22552266
| `"events"` | [`SubscriptionArgs<"events">`](#events-2) | [`Event`] |

0 commit comments

Comments
 (0)