mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-24 09:28:11 -07:00
docs: update generated docs
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
# Class: BrkClient
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:7895](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L7895)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:7895](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L7895)
|
||||
|
||||
Main BRK client with series tree and API methods
|
||||
|
||||
@@ -20,7 +20,7 @@ Main BRK client with series tree and API methods
|
||||
|
||||
> **new BrkClient**(`options`): `BrkClient`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:9088](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L9088)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:9088](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L9088)
|
||||
|
||||
#### Parameters
|
||||
|
||||
@@ -42,7 +42,7 @@ Defined in: [Developer/brk/modules/brk-client/index.js:9088](https://github.com/
|
||||
|
||||
> **\_browserCache**: `Cache` \| `null`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1865](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1865)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1865](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L1865)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
@@ -54,7 +54,7 @@ Defined in: [Developer/brk/modules/brk-client/index.js:1865](https://github.com/
|
||||
|
||||
> **\_browserCachePromise**: `Promise`\<`Cache` \| `null`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1863](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1863)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1863](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L1863)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
@@ -66,7 +66,7 @@ Defined in: [Developer/brk/modules/brk-client/index.js:1863](https://github.com/
|
||||
|
||||
> **\_memCache**: `Map`\<`string`, [`_MemEntry`](../type-aliases/MemEntry.md)\<`unknown`\>\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1872](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1872)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1872](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L1872)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
@@ -78,7 +78,7 @@ Defined in: [Developer/brk/modules/brk-client/index.js:1872](https://github.com/
|
||||
|
||||
> **series**: [`SeriesTree`](../interfaces/SeriesTree.md)
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:9091](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L9091)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:9091](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L9091)
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -86,7 +86,7 @@ Defined in: [Developer/brk/modules/brk-client/index.js:9091](https://github.com/
|
||||
|
||||
> **\_fetchSeriesData**\<`T`\>(`path`, `onValue?`): `Promise`\<[`DateSeriesData`](../type-aliases/DateSeriesData.md)\<`T`\>\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2111](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L2111)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2111](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L2111)
|
||||
|
||||
Fetch series data and wrap with helper methods (internal)
|
||||
|
||||
@@ -120,7 +120,7 @@ Fetch series data and wrap with helper methods (internal)
|
||||
|
||||
> **\_getCached**\<`T`\>(`path`, `parse`, `options?`): `Promise`\<`T`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1939](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1939)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1939](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L1939)
|
||||
|
||||
Make a GET request with layered caching.
|
||||
|
||||
@@ -179,7 +179,7 @@ Response body reader
|
||||
|
||||
> **\_memGet**\<`T`\>(`key`): [`_MemEntry`](../type-aliases/MemEntry.md)\<`T`\> \| `undefined`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1880](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1880)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1880](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L1880)
|
||||
|
||||
#### Type Parameters
|
||||
|
||||
@@ -207,7 +207,7 @@ Defined in: [Developer/brk/modules/brk-client/index.js:1880](https://github.com/
|
||||
|
||||
> **\_memSet**(`key`, `etag`, `value`): `void`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1894](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1894)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1894](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L1894)
|
||||
|
||||
#### Parameters
|
||||
|
||||
@@ -237,7 +237,7 @@ Defined in: [Developer/brk/modules/brk-client/index.js:1894](https://github.com/
|
||||
|
||||
> **dateToIndex**(`index`, `d`): `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:9080](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L9080)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:9080](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L9080)
|
||||
|
||||
Convert a Date to an index value for date-based indexes.
|
||||
|
||||
@@ -265,7 +265,7 @@ The date to convert
|
||||
|
||||
> **get**(`path`, `options?`): `Promise`\<`Response`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1909](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1909)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1909](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L1909)
|
||||
|
||||
#### Parameters
|
||||
|
||||
@@ -297,7 +297,7 @@ Defined in: [Developer/brk/modules/brk-client/index.js:1909](https://github.com/
|
||||
|
||||
> **getAddress**(`address`, `options?`): `Promise`\<[`AddrStats`](../interfaces/AddrStats.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11530](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11530)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11530](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11530)
|
||||
|
||||
Address information
|
||||
|
||||
@@ -337,7 +337,7 @@ Endpoint: `GET /api/address/{address}`
|
||||
|
||||
> **getAddressConfirmedTxs**(`address`, `options?`): `Promise`\<[`Transaction`](../interfaces/Transaction.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11566](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11566)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11566](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11566)
|
||||
|
||||
Address confirmed transactions
|
||||
|
||||
@@ -377,7 +377,7 @@ Endpoint: `GET /api/address/{address}/txs/chain`
|
||||
|
||||
> **getAddressConfirmedTxsAfter**(`address`, `after_txid`, `options?`): `Promise`\<[`Transaction`](../interfaces/Transaction.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11585](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11585)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11585](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11585)
|
||||
|
||||
Address confirmed transactions (paginated)
|
||||
|
||||
@@ -423,7 +423,7 @@ Last txid from the previous page (return transactions strictly older than this)
|
||||
|
||||
> **getAddressHashPrefixMatches**(`addr_type`, `prefix`, `options?`): `Promise`\<[`AddrHashPrefixMatches`](../interfaces/AddrHashPrefixMatches.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11512](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11512)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11512](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11512)
|
||||
|
||||
Address hash-prefix matches
|
||||
|
||||
@@ -465,7 +465,7 @@ Endpoint: `GET /api/address/hash-prefix/{addr_type}/{prefix}`
|
||||
|
||||
> **getAddressMempoolTxs**(`address`, `options?`): `Promise`\<[`Transaction`](../interfaces/Transaction.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11603](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11603)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11603](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11603)
|
||||
|
||||
Address mempool transactions
|
||||
|
||||
@@ -505,7 +505,7 @@ Endpoint: `GET /api/address/{address}/txs/mempool`
|
||||
|
||||
> **getAddressTxs**(`address`, `options?`): `Promise`\<[`Transaction`](../interfaces/Transaction.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11548](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11548)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11548](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11548)
|
||||
|
||||
Address transactions
|
||||
|
||||
@@ -545,7 +545,7 @@ Endpoint: `GET /api/address/{address}/txs`
|
||||
|
||||
> **getAddressUtxos**(`address`, `options?`): `Promise`\<[`Utxo`](../interfaces/Utxo.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11621](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11621)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11621](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11621)
|
||||
|
||||
Address UTXOs
|
||||
|
||||
@@ -585,7 +585,7 @@ Endpoint: `GET /api/address/{address}/utxo`
|
||||
|
||||
> **getApi**(`options?`): `Promise`\<`any`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12762](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12762)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12762](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12762)
|
||||
|
||||
Compact OpenAPI specification
|
||||
|
||||
@@ -619,7 +619,7 @@ Endpoint: `GET /api.json`
|
||||
|
||||
> **getBlock**(`hash`, `options?`): `Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11657](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11657)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11657](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11657)
|
||||
|
||||
Block information
|
||||
|
||||
@@ -659,7 +659,7 @@ Endpoint: `GET /api/block/{hash}`
|
||||
|
||||
> **getBlockByHeight**(`height`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11711](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11711)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11711](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11711)
|
||||
|
||||
Block hash by height
|
||||
|
||||
@@ -699,7 +699,7 @@ Endpoint: `GET /api/block-height/{height}`
|
||||
|
||||
> **getBlockByTimestamp**(`timestamp`, `options?`): `Promise`\<[`BlockTimestamp`](../interfaces/BlockTimestamp.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11729](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11729)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11729](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11729)
|
||||
|
||||
Block by timestamp
|
||||
|
||||
@@ -739,7 +739,7 @@ Endpoint: `GET /api/v1/mining/blocks/timestamp/{timestamp}`
|
||||
|
||||
> **getBlockFeeRates**(`time_period`, `options?`): `Promise`\<[`BlockFeeRatesEntry`](../interfaces/BlockFeeRatesEntry.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12220](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12220)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12220](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12220)
|
||||
|
||||
Block fee rates
|
||||
|
||||
@@ -779,7 +779,7 @@ Endpoint: `GET /api/v1/mining/blocks/fee-rates/{time_period}`
|
||||
|
||||
> **getBlockFees**(`time_period`, `options?`): `Promise`\<[`BlockFeesEntry`](../interfaces/BlockFeesEntry.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12184](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12184)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12184](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12184)
|
||||
|
||||
Block fees
|
||||
|
||||
@@ -819,7 +819,7 @@ Endpoint: `GET /api/v1/mining/blocks/fees/{time_period}`
|
||||
|
||||
> **getBlockHeader**(`hash`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11693](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11693)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11693](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11693)
|
||||
|
||||
Block header
|
||||
|
||||
@@ -859,7 +859,7 @@ Endpoint: `GET /api/block/{hash}/header`
|
||||
|
||||
> **getBlockRaw**(`hash`, `options?`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11747](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11747)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11747](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11747)
|
||||
|
||||
Raw block
|
||||
|
||||
@@ -899,7 +899,7 @@ Endpoint: `GET /api/block/{hash}/raw`
|
||||
|
||||
> **getBlockRewards**(`time_period`, `options?`): `Promise`\<[`BlockRewardsEntry`](../interfaces/BlockRewardsEntry.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12202](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12202)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12202](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12202)
|
||||
|
||||
Block rewards
|
||||
|
||||
@@ -939,7 +939,7 @@ Endpoint: `GET /api/v1/mining/blocks/rewards/{time_period}`
|
||||
|
||||
> **getBlocks**(`options?`): `Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11887](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11887)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11887](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11887)
|
||||
|
||||
Recent blocks
|
||||
|
||||
@@ -975,7 +975,7 @@ Endpoint: `GET /api/blocks`
|
||||
|
||||
> **getBlocksFromHeight**(`height`, `options?`): `Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11905](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11905)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11905](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11905)
|
||||
|
||||
Blocks from height
|
||||
|
||||
@@ -1015,7 +1015,7 @@ Endpoint: `GET /api/blocks/{height}`
|
||||
|
||||
> **getBlockSizesWeights**(`time_period`, `options?`): `Promise`\<[`BlockSizesWeights`](../interfaces/BlockSizesWeights.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12238](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12238)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12238](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12238)
|
||||
|
||||
Block sizes and weights
|
||||
|
||||
@@ -1055,7 +1055,7 @@ Endpoint: `GET /api/v1/mining/blocks/sizes-weights/{time_period}`
|
||||
|
||||
> **getBlockStatus**(`hash`, `options?`): `Promise`\<[`BlockStatus`](../interfaces/BlockStatus.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11765](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11765)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11765](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11765)
|
||||
|
||||
Block status
|
||||
|
||||
@@ -1095,7 +1095,7 @@ Endpoint: `GET /api/block/{hash}/status`
|
||||
|
||||
> **getBlocksV1**(`options?`): `Promise`\<[`BlockInfoV1`](../interfaces/BlockInfoV1.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11921](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11921)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11921](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11921)
|
||||
|
||||
Recent blocks with extras
|
||||
|
||||
@@ -1131,7 +1131,7 @@ Endpoint: `GET /api/v1/blocks`
|
||||
|
||||
> **getBlocksV1FromHeight**(`height`, `options?`): `Promise`\<[`BlockInfoV1`](../interfaces/BlockInfoV1.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11939](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11939)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11939](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11939)
|
||||
|
||||
Blocks from height with extras
|
||||
|
||||
@@ -1171,7 +1171,7 @@ Endpoint: `GET /api/v1/blocks/{height}`
|
||||
|
||||
> **getBlockTemplate**(`options?`): `Promise`\<[`BlockTemplate`](../interfaces/BlockTemplate.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12394](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12394)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12394](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12394)
|
||||
|
||||
Projected next block template
|
||||
|
||||
@@ -1205,7 +1205,7 @@ Endpoint: `GET /api/v1/mempool/block-template`
|
||||
|
||||
> **getBlockTemplateDiff**(`hash`, `options?`): `Promise`\<[`BlockTemplateDiff`](../interfaces/BlockTemplateDiff.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12410](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12410)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12410](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12410)
|
||||
|
||||
Block template diff since hash
|
||||
|
||||
@@ -1243,7 +1243,7 @@ Endpoint: `GET /api/v1/mempool/block-template/diff/{hash}`
|
||||
|
||||
> **getBlockTipHash**(`options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11797](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11797)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11797](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11797)
|
||||
|
||||
Block tip hash
|
||||
|
||||
@@ -1279,7 +1279,7 @@ Endpoint: `GET /api/blocks/tip/hash`
|
||||
|
||||
> **getBlockTipHeight**(`options?`): `Promise`\<`number`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11781](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11781)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11781](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11781)
|
||||
|
||||
Block tip height
|
||||
|
||||
@@ -1315,7 +1315,7 @@ Endpoint: `GET /api/blocks/tip/height`
|
||||
|
||||
> **getBlockTxid**(`hash`, `index`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11816](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11816)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11816](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11816)
|
||||
|
||||
Transaction ID at index
|
||||
|
||||
@@ -1363,7 +1363,7 @@ Transaction index within the block (0-based)
|
||||
|
||||
> **getBlockTxids**(`hash`, `options?`): `Promise`\<`string`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11834](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11834)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11834](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11834)
|
||||
|
||||
Block transaction IDs
|
||||
|
||||
@@ -1403,7 +1403,7 @@ Endpoint: `GET /api/block/{hash}/txids`
|
||||
|
||||
> **getBlockTxs**(`hash`, `options?`): `Promise`\<[`Transaction`](../interfaces/Transaction.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11852](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11852)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11852](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11852)
|
||||
|
||||
Block transactions
|
||||
|
||||
@@ -1443,7 +1443,7 @@ Endpoint: `GET /api/block/{hash}/txs`
|
||||
|
||||
> **getBlockTxsFromIndex**(`hash`, `start_index`, `options?`): `Promise`\<[`Transaction`](../interfaces/Transaction.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11871](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11871)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11871](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11871)
|
||||
|
||||
Block transactions (paginated)
|
||||
|
||||
@@ -1491,7 +1491,7 @@ Starting transaction index within the block (0-based)
|
||||
|
||||
> **getBlockV1**(`hash`, `options?`): `Promise`\<[`BlockInfoV1`](../interfaces/BlockInfoV1.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11675](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11675)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11675](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11675)
|
||||
|
||||
Block (v1)
|
||||
|
||||
@@ -1531,7 +1531,7 @@ Endpoint: `GET /api/v1/block/{hash}`
|
||||
|
||||
> **getBytes**(`path`, `options?`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2039](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L2039)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2039](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L2039)
|
||||
|
||||
Make a GET request expecting binary data (application/octet-stream).
|
||||
Cached and supports `onValue`, same as `getJson`.
|
||||
@@ -1570,7 +1570,7 @@ Cached and supports `onValue`, same as `getJson`.
|
||||
|
||||
> **getCpfp**(`txid`, `options?`): `Promise`\<[`CpfpInfo`](../interfaces/CpfpInfo.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12532](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12532)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12532](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12532)
|
||||
|
||||
CPFP info
|
||||
|
||||
@@ -1610,7 +1610,7 @@ Endpoint: `GET /api/v1/cpfp/{txid}`
|
||||
|
||||
> **getDifficultyAdjustment**(`options?`): `Promise`\<[`DifficultyAdjustment`](../interfaces/DifficultyAdjustment.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11458](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11458)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11458](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11458)
|
||||
|
||||
Difficulty adjustment
|
||||
|
||||
@@ -1646,7 +1646,7 @@ Endpoint: `GET /api/v1/difficulty-adjustment`
|
||||
|
||||
> **getDifficultyAdjustments**(`options?`): `Promise`\<[`DifficultyAdjustmentEntry`](../interfaces/DifficultyAdjustmentEntry.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12130](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12130)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12130](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12130)
|
||||
|
||||
Difficulty adjustments (all time)
|
||||
|
||||
@@ -1682,7 +1682,7 @@ Endpoint: `GET /api/v1/mining/difficulty-adjustments`
|
||||
|
||||
> **getDifficultyAdjustmentsByPeriod**(`time_period`, `options?`): `Promise`\<[`DifficultyAdjustmentEntry`](../interfaces/DifficultyAdjustmentEntry.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12148](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12148)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12148](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12148)
|
||||
|
||||
Difficulty adjustments
|
||||
|
||||
@@ -1722,7 +1722,7 @@ Endpoint: `GET /api/v1/mining/difficulty-adjustments/{time_period}`
|
||||
|
||||
> **getDiskUsage**(`options?`): `Promise`\<[`DiskUsage`](../interfaces/DiskUsage.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11130](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11130)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11130](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11130)
|
||||
|
||||
Disk usage
|
||||
|
||||
@@ -1756,7 +1756,7 @@ Endpoint: `GET /api/server/disk`
|
||||
|
||||
> **getFullrbfReplacements**(`options?`): `Promise`\<[`ReplacementNode`](../interfaces/ReplacementNode.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12380](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12380)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12380](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12380)
|
||||
|
||||
Recent full-RBF replacements
|
||||
|
||||
@@ -1792,7 +1792,7 @@ Endpoint: `GET /api/v1/fullrbf/replacements`
|
||||
|
||||
> **getHashrate**(`options?`): `Promise`\<[`HashrateSummary`](../interfaces/HashrateSummary.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12096](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12096)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12096](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12096)
|
||||
|
||||
Network hashrate (all time)
|
||||
|
||||
@@ -1828,7 +1828,7 @@ Endpoint: `GET /api/v1/mining/hashrate`
|
||||
|
||||
> **getHashrateByPeriod**(`time_period`, `options?`): `Promise`\<[`HashrateSummary`](../interfaces/HashrateSummary.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12114](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12114)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12114](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12114)
|
||||
|
||||
Network hashrate
|
||||
|
||||
@@ -1868,7 +1868,7 @@ Endpoint: `GET /api/v1/mining/hashrate/{time_period}`
|
||||
|
||||
> **getHealth**(`options?`): `Promise`\<[`Health`](../interfaces/Health.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11088](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11088)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11088](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11088)
|
||||
|
||||
Health check
|
||||
|
||||
@@ -1902,7 +1902,7 @@ Endpoint: `GET /health`
|
||||
|
||||
> **getHistoricalPrice**(`timestamp?`, `options?`): `Promise`\<[`HistoricalPrice`](../interfaces/HistoricalPrice.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11492](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11492)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11492](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11492)
|
||||
|
||||
Historical price
|
||||
|
||||
@@ -1942,7 +1942,7 @@ Endpoint: `GET /api/v1/historical-price`
|
||||
|
||||
> **getIndexes**(`options?`): `Promise`\<[`IndexInfo`](../interfaces/IndexInfo.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11172](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11172)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11172](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11172)
|
||||
|
||||
List available indexes
|
||||
|
||||
@@ -1976,7 +1976,7 @@ Endpoint: `GET /api/series/indexes`
|
||||
|
||||
> **getJson**\<`T`\>(`path`, `options?`): `Promise`\<`T`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2017](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L2017)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2017](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L2017)
|
||||
|
||||
Make a GET request expecting a JSON response. Cached and supports `onValue`.
|
||||
|
||||
@@ -2020,7 +2020,7 @@ Make a GET request expecting a JSON response. Cached and supports `onValue`.
|
||||
|
||||
> **getLivePrice**(`options?`): `Promise`\<`number`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12424](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12424)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12424](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12424)
|
||||
|
||||
Live BTC/USD price
|
||||
|
||||
@@ -2054,7 +2054,7 @@ Endpoint: `GET /api/mempool/price`
|
||||
|
||||
> **getMempool**(`options?`): `Promise`\<[`MempoolInfo`](../interfaces/MempoolInfo.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12302](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12302)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12302](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12302)
|
||||
|
||||
Mempool statistics
|
||||
|
||||
@@ -2090,7 +2090,7 @@ Endpoint: `GET /api/mempool`
|
||||
|
||||
> **getMempoolBlocks**(`options?`): `Promise`\<[`MempoolBlock`](../interfaces/MempoolBlock.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12254](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12254)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12254](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12254)
|
||||
|
||||
Projected mempool blocks
|
||||
|
||||
@@ -2126,7 +2126,7 @@ Endpoint: `GET /api/v1/fees/mempool-blocks`
|
||||
|
||||
> **getMempoolHash**(`options?`): `Promise`\<`number`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12316](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12316)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12316](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12316)
|
||||
|
||||
Mempool content hash
|
||||
|
||||
@@ -2160,7 +2160,7 @@ Endpoint: `GET /api/mempool/hash`
|
||||
|
||||
> **getMempoolRecent**(`options?`): `Promise`\<[`MempoolRecentTx`](../interfaces/MempoolRecentTx.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12348](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12348)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12348](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12348)
|
||||
|
||||
Recent mempool transactions
|
||||
|
||||
@@ -2196,7 +2196,7 @@ Endpoint: `GET /api/mempool/recent`
|
||||
|
||||
> **getMempoolTxids**(`options?`): `Promise`\<`string`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12332](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12332)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12332](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12332)
|
||||
|
||||
Mempool transaction IDs
|
||||
|
||||
@@ -2232,7 +2232,7 @@ Endpoint: `GET /api/mempool/txids`
|
||||
|
||||
> **getOpenapi**(`options?`): `Promise`\<`any`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12748](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12748)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12748](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12748)
|
||||
|
||||
OpenAPI specification
|
||||
|
||||
@@ -2266,7 +2266,7 @@ Endpoint: `GET /openapi.json`
|
||||
|
||||
> **getOracleHistogramOutputs**(`point`, `options?`): `Promise`\<`number`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12498](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12498)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12498](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12498)
|
||||
|
||||
Output value histogram at height or day
|
||||
|
||||
@@ -2304,7 +2304,7 @@ Endpoint: `GET /api/oracle/histogram/outputs/{point}`
|
||||
|
||||
> **getOracleHistogramOutputsLive**(`options?`): `Promise`\<`number`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12482](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12482)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12482](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12482)
|
||||
|
||||
Live output value histogram
|
||||
|
||||
@@ -2338,7 +2338,7 @@ Endpoint: `GET /api/oracle/histogram/outputs/live`
|
||||
|
||||
> **getOracleHistogramPayments**(`point`, `options?`): `Promise`\<`number`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12468](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12468)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12468](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12468)
|
||||
|
||||
Payment output histogram at height or day
|
||||
|
||||
@@ -2376,7 +2376,7 @@ Endpoint: `GET /api/oracle/histogram/payments/{point}`
|
||||
|
||||
> **getOracleHistogramPaymentsLive**(`options?`): `Promise`\<`number`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12452](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12452)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12452](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12452)
|
||||
|
||||
Live payment output histogram
|
||||
|
||||
@@ -2410,7 +2410,7 @@ Endpoint: `GET /api/oracle/histogram/payments/live`
|
||||
|
||||
> **getOraclePrice**(`options?`): `Promise`\<`number`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12438](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12438)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12438](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12438)
|
||||
|
||||
Live BTC/USD price
|
||||
|
||||
@@ -2444,7 +2444,7 @@ Endpoint: `GET /api/oracle/price`
|
||||
|
||||
> **getPool**(`slug`, `options?`): `Promise`\<[`PoolDetail`](../interfaces/PoolDetail.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11991](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11991)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11991](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11991)
|
||||
|
||||
Mining pool details
|
||||
|
||||
@@ -2484,7 +2484,7 @@ Endpoint: `GET /api/v1/mining/pool/{slug}`
|
||||
|
||||
> **getPoolBlocks**(`slug`, `options?`): `Promise`\<[`BlockInfoV1`](../interfaces/BlockInfoV1.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12061](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12061)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12061](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12061)
|
||||
|
||||
Mining pool blocks
|
||||
|
||||
@@ -2524,7 +2524,7 @@ Endpoint: `GET /api/v1/mining/pool/{slug}/blocks`
|
||||
|
||||
> **getPoolBlocksFrom**(`slug`, `height`, `options?`): `Promise`\<[`BlockInfoV1`](../interfaces/BlockInfoV1.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12080](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12080)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12080](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12080)
|
||||
|
||||
Mining pool blocks from height
|
||||
|
||||
@@ -2568,7 +2568,7 @@ Endpoint: `GET /api/v1/mining/pool/{slug}/blocks/{height}`
|
||||
|
||||
> **getPoolHashrate**(`slug`, `options?`): `Promise`\<[`PoolHashrateEntry`](../interfaces/PoolHashrateEntry.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12043](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12043)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12043](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12043)
|
||||
|
||||
Mining pool hashrate
|
||||
|
||||
@@ -2608,7 +2608,7 @@ Endpoint: `GET /api/v1/mining/pool/{slug}/hashrate`
|
||||
|
||||
> **getPools**(`options?`): `Promise`\<[`PoolInfo`](../interfaces/PoolInfo.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11955](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11955)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11955](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11955)
|
||||
|
||||
List all mining pools
|
||||
|
||||
@@ -2644,7 +2644,7 @@ Endpoint: `GET /api/v1/mining/pools`
|
||||
|
||||
> **getPoolsHashrate**(`options?`): `Promise`\<[`PoolHashrateEntry`](../interfaces/PoolHashrateEntry.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12007](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12007)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12007](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12007)
|
||||
|
||||
All pools hashrate (all time)
|
||||
|
||||
@@ -2680,7 +2680,7 @@ Endpoint: `GET /api/v1/mining/hashrate/pools`
|
||||
|
||||
> **getPoolsHashrateByPeriod**(`time_period`, `options?`): `Promise`\<[`PoolHashrateEntry`](../interfaces/PoolHashrateEntry.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12025](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12025)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12025](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12025)
|
||||
|
||||
All pools hashrate
|
||||
|
||||
@@ -2720,7 +2720,7 @@ Endpoint: `GET /api/v1/mining/hashrate/pools/{time_period}`
|
||||
|
||||
> **getPoolStats**(`time_period`, `options?`): `Promise`\<[`PoolsSummary`](../interfaces/PoolsSummary.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11973](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11973)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11973](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11973)
|
||||
|
||||
Mining pool statistics
|
||||
|
||||
@@ -2760,7 +2760,7 @@ Endpoint: `GET /api/v1/mining/pools/{time_period}`
|
||||
|
||||
> **getPreciseFees**(`options?`): `Promise`\<[`RecommendedFees`](../interfaces/RecommendedFees.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12286](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12286)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12286](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12286)
|
||||
|
||||
Precise recommended fees
|
||||
|
||||
@@ -2796,7 +2796,7 @@ Endpoint: `GET /api/v1/fees/precise`
|
||||
|
||||
> **getPrices**(`options?`): `Promise`\<[`Prices`](../interfaces/Prices.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11474](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11474)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11474](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11474)
|
||||
|
||||
Current BTC price
|
||||
|
||||
@@ -2832,7 +2832,7 @@ Endpoint: `GET /api/v1/prices`
|
||||
|
||||
> **getRecommendedFees**(`options?`): `Promise`\<[`RecommendedFees`](../interfaces/RecommendedFees.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12270](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12270)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12270](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12270)
|
||||
|
||||
Recommended fees
|
||||
|
||||
@@ -2868,7 +2868,7 @@ Endpoint: `GET /api/v1/fees/recommended`
|
||||
|
||||
> **getReplacements**(`options?`): `Promise`\<[`ReplacementNode`](../interfaces/ReplacementNode.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12364](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12364)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12364](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12364)
|
||||
|
||||
Recent RBF replacements
|
||||
|
||||
@@ -2904,7 +2904,7 @@ Endpoint: `GET /api/v1/replacements`
|
||||
|
||||
> **getRewardStats**(`block_count`, `options?`): `Promise`\<[`RewardStats`](../interfaces/RewardStats.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12166](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12166)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12166](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12166)
|
||||
|
||||
Mining reward statistics
|
||||
|
||||
@@ -2946,7 +2946,7 @@ Number of recent blocks to include
|
||||
|
||||
> **getSeries**(`series`, `index`, `start?`, `end?`, `limit?`, `format?`, `options?`): `Promise`\<`string` \| [`AnySeriesData`](../type-aliases/AnySeriesData.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11251](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11251)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11251](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11251)
|
||||
|
||||
Get series data
|
||||
|
||||
@@ -3016,7 +3016,7 @@ Format of the output
|
||||
|
||||
> **getSeriesBulk**(`series`, `index`, `start?`, `end?`, `limit?`, `format?`, `options?`): `Promise`\<`string` \| [`AnySeriesData`](../type-aliases/AnySeriesData.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11358](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11358)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11358](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11358)
|
||||
|
||||
Bulk series data
|
||||
|
||||
@@ -3086,7 +3086,7 @@ Format of the output
|
||||
|
||||
> **getSeriesCount**(`options?`): `Promise`\<[`SeriesCount`](../interfaces/SeriesCount.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11158](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11158)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11158](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11158)
|
||||
|
||||
Series count
|
||||
|
||||
@@ -3120,7 +3120,7 @@ Endpoint: `GET /api/series/count`
|
||||
|
||||
> **getSeriesData**(`series`, `index`, `start?`, `end?`, `limit?`, `format?`, `options?`): `Promise`\<`string` \| `boolean`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11279](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11279)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11279](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11279)
|
||||
|
||||
Get raw series data
|
||||
|
||||
@@ -3190,7 +3190,7 @@ Format of the output
|
||||
|
||||
> **getSeriesInfo**(`series`, `options?`): `Promise`\<[`SeriesInfo`](../interfaces/SeriesInfo.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11230](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11230)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11230](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11230)
|
||||
|
||||
Get series info
|
||||
|
||||
@@ -3228,7 +3228,7 @@ Endpoint: `GET /api/series/{series}`
|
||||
|
||||
> **getSeriesLatest**(`series`, `index`, `options?`): `Promise`\<`any`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11303](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11303)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11303](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11303)
|
||||
|
||||
Get latest series value
|
||||
|
||||
@@ -3274,7 +3274,7 @@ Aggregation index
|
||||
|
||||
> **getSeriesLen**(`series`, `index`, `options?`): `Promise`\<`number`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11320](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11320)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11320](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11320)
|
||||
|
||||
Get series data length
|
||||
|
||||
@@ -3320,7 +3320,7 @@ Aggregation index
|
||||
|
||||
> **getSeriesTree**(`options?`): `Promise`\<[`TreeNode`](../type-aliases/TreeNode.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11144](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11144)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11144](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11144)
|
||||
|
||||
Series catalog
|
||||
|
||||
@@ -3354,7 +3354,7 @@ Endpoint: `GET /api/series`
|
||||
|
||||
> **getSeriesVersion**(`series`, `index`, `options?`): `Promise`\<`number`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11337](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11337)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11337](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11337)
|
||||
|
||||
Get series version
|
||||
|
||||
@@ -3400,7 +3400,7 @@ Aggregation index
|
||||
|
||||
> **getSyncStatus**(`options?`): `Promise`\<[`SyncStatus`](../interfaces/SyncStatus.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11116](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11116)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11116](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11116)
|
||||
|
||||
Sync status
|
||||
|
||||
@@ -3434,7 +3434,7 @@ Endpoint: `GET /api/server/sync`
|
||||
|
||||
> **getText**(`path`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2028](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L2028)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2028](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L2028)
|
||||
|
||||
Make a GET request expecting a text response (text/plain, text/csv, ...).
|
||||
Cached and supports `onValue`, same as `getJson`.
|
||||
@@ -3473,7 +3473,7 @@ Cached and supports `onValue`, same as `getJson`.
|
||||
|
||||
> **getTransactionTimes**(`txId`, `options?`): `Promise`\<`number`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12713](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12713)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12713](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12713)
|
||||
|
||||
Transaction first-seen times
|
||||
|
||||
@@ -3515,7 +3515,7 @@ Transaction IDs to look up (max 250 per request).
|
||||
|
||||
> **getTx**(`txid`, `options?`): `Promise`\<[`Transaction`](../interfaces/Transaction.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12568](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12568)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12568](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12568)
|
||||
|
||||
Transaction information
|
||||
|
||||
@@ -3555,7 +3555,7 @@ Endpoint: `GET /api/tx/{txid}`
|
||||
|
||||
> **getTxByIndex**(`index`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12514](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12514)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12514](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12514)
|
||||
|
||||
Txid by index
|
||||
|
||||
@@ -3593,7 +3593,7 @@ Endpoint: `GET /api/tx-index/{index}`
|
||||
|
||||
> **getTxHex**(`txid`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12586](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12586)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12586](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12586)
|
||||
|
||||
Transaction hex
|
||||
|
||||
@@ -3633,7 +3633,7 @@ Endpoint: `GET /api/tx/{txid}/hex`
|
||||
|
||||
> **getTxMerkleblockProof**(`txid`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12604](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12604)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12604](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12604)
|
||||
|
||||
Transaction merkleblock proof
|
||||
|
||||
@@ -3673,7 +3673,7 @@ Endpoint: `GET /api/tx/{txid}/merkleblock-proof`
|
||||
|
||||
> **getTxMerkleProof**(`txid`, `options?`): `Promise`\<[`MerkleProof`](../interfaces/MerkleProof.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12622](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12622)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12622](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12622)
|
||||
|
||||
Transaction merkle proof
|
||||
|
||||
@@ -3713,7 +3713,7 @@ Endpoint: `GET /api/tx/{txid}/merkle-proof`
|
||||
|
||||
> **getTxOutspend**(`txid`, `vout`, `options?`): `Promise`\<[`TxOutspend`](../interfaces/TxOutspend.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12641](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12641)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12641](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12641)
|
||||
|
||||
Output spend status
|
||||
|
||||
@@ -3761,7 +3761,7 @@ Output index
|
||||
|
||||
> **getTxOutspends**(`txid`, `options?`): `Promise`\<[`TxOutspend`](../interfaces/TxOutspend.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12659](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12659)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12659](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12659)
|
||||
|
||||
All output spend statuses
|
||||
|
||||
@@ -3801,7 +3801,7 @@ Endpoint: `GET /api/tx/{txid}/outspends`
|
||||
|
||||
> **getTxRaw**(`txid`, `options?`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12677](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12677)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12677](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12677)
|
||||
|
||||
Transaction raw
|
||||
|
||||
@@ -3841,7 +3841,7 @@ Endpoint: `GET /api/tx/{txid}/raw`
|
||||
|
||||
> **getTxRbf**(`txid`, `options?`): `Promise`\<[`RbfResponse`](../interfaces/RbfResponse.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12550](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12550)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12550](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12550)
|
||||
|
||||
RBF replacement history
|
||||
|
||||
@@ -3881,7 +3881,7 @@ Endpoint: `GET /api/v1/tx/{txid}/rbf`
|
||||
|
||||
> **getTxStatus**(`txid`, `options?`): `Promise`\<[`TxStatus`](../interfaces/TxStatus.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12695](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12695)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12695](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12695)
|
||||
|
||||
Transaction status
|
||||
|
||||
@@ -3921,7 +3921,7 @@ Endpoint: `GET /api/tx/{txid}/status`
|
||||
|
||||
> **getUrpd**(`cohort`, `agg?`, `options?`): `Promise`\<[`Urpd`](../interfaces/Urpd.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11416](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11416)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11416](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11416)
|
||||
|
||||
Latest URPD
|
||||
|
||||
@@ -3967,7 +3967,7 @@ Aggregation strategy. Default: raw (no aggregation). Accepts `bucket` as alias.
|
||||
|
||||
> **getUrpdAt**(`cohort`, `date`, `agg?`, `options?`): `Promise`\<[`Urpd`](../interfaces/Urpd.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11439](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11439)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11439](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11439)
|
||||
|
||||
URPD at date
|
||||
|
||||
@@ -4017,7 +4017,7 @@ Aggregation strategy. Default: raw (no aggregation). Accepts `bucket` as alias.
|
||||
|
||||
> **getVersion**(`options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11102](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11102)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11102](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11102)
|
||||
|
||||
API version
|
||||
|
||||
@@ -4051,7 +4051,7 @@ Endpoint: `GET /version`
|
||||
|
||||
> **indexToDate**(`index`, `i`): `Date`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:9070](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L9070)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:9070](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L9070)
|
||||
|
||||
Convert an index value to a Date for date-based indexes.
|
||||
|
||||
@@ -4079,7 +4079,7 @@ The index value
|
||||
|
||||
> **listSeries**(`page?`, `per_page?`, `options?`): `Promise`\<[`PaginatedSeries`](../interfaces/PaginatedSeries.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11189](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11189)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11189](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11189)
|
||||
|
||||
Series list
|
||||
|
||||
@@ -4125,7 +4125,7 @@ Results per page (default: 1000, max: 1000)
|
||||
|
||||
> **listUrpdCohorts**(`options?`): `Promise`\<[`Cohort`](../type-aliases/Cohort.md)[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11381](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11381)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11381](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11381)
|
||||
|
||||
Available URPD cohorts
|
||||
|
||||
@@ -4159,7 +4159,7 @@ Endpoint: `GET /api/urpd`
|
||||
|
||||
> **listUrpdDates**(`cohort`, `options?`): `Promise`\<`number`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11397](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11397)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11397](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11397)
|
||||
|
||||
Available URPD dates
|
||||
|
||||
@@ -4197,7 +4197,7 @@ Endpoint: `GET /api/urpd/{cohort}/dates`
|
||||
|
||||
> **post**(`path`, `body`, `options?`): `Promise`\<`Response`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2054](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L2054)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2054](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L2054)
|
||||
|
||||
Make a POST request with a string body.
|
||||
|
||||
@@ -4234,7 +4234,7 @@ the network with the same body and returns the upstream response.
|
||||
|
||||
> **postBytes**(`path`, `body`, `options?`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2099](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L2099)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2099](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L2099)
|
||||
|
||||
Make a POST request expecting binary data (application/octet-stream).
|
||||
|
||||
@@ -4268,7 +4268,7 @@ Make a POST request expecting binary data (application/octet-stream).
|
||||
|
||||
> **postJson**\<`T`\>(`path`, `body`, `options?`): `Promise`\<`T`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2075](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L2075)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2075](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L2075)
|
||||
|
||||
Make a POST request expecting a JSON response.
|
||||
|
||||
@@ -4308,7 +4308,7 @@ Make a POST request expecting a JSON response.
|
||||
|
||||
> **postText**(`path`, `body`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2087](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L2087)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:2087](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L2087)
|
||||
|
||||
Make a POST request expecting a text response.
|
||||
|
||||
@@ -4342,7 +4342,7 @@ Make a POST request expecting a text response.
|
||||
|
||||
> **postTx**(`body`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12734](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L12734)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:12734](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L12734)
|
||||
|
||||
Broadcast transaction
|
||||
|
||||
@@ -4376,7 +4376,7 @@ Request body
|
||||
|
||||
> **searchSeries**(`q`, `limit?`, `options?`): `Promise`\<`string`[]\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11210](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11210)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11210](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11210)
|
||||
|
||||
Search series
|
||||
|
||||
@@ -4422,7 +4422,7 @@ Maximum number of results
|
||||
|
||||
> **seriesEndpoint**(`series`, `index`): [`SeriesEndpoint`](../interfaces/SeriesEndpoint.md)\<`unknown`\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11075](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11075)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11075](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11075)
|
||||
|
||||
Create a dynamic series endpoint builder for any series/index combination.
|
||||
|
||||
@@ -4453,7 +4453,7 @@ The index name
|
||||
|
||||
> **validateAddress**(`address`, `options?`): `Promise`\<[`AddrValidation`](../interfaces/AddrValidation.md)\>
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11639](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L11639)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:11639](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L11639)
|
||||
|
||||
Validate address
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
# Class: BrkError
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1509](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1509)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1509](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L1509)
|
||||
|
||||
Custom error class for BRK client errors
|
||||
|
||||
@@ -20,7 +20,7 @@ Custom error class for BRK client errors
|
||||
|
||||
> **new BrkError**(`message`, `status?`): `BrkError`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1514](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1514)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:1514](https://github.com/bitcoinresearchkit/brk/blob/7a718293c0ddbae305c8352474c81c0e99fe1200/modules/brk-client/index.js#L1514)
|
||||
|
||||
#### Parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user