[CI Skip] 0.40.17
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
|
||||
|
||||
# Type aliases
|
||||
|
||||
<a id="headerandvalidators"></a>
|
||||
|
||||
## HeaderAndValidators
|
||||
|
||||
**Ƭ HeaderAndValidators**: *[`Header`, `Array`<`AccountId`>]*
|
||||
|
||||
*Defined in [chain/subscribeNewHead.ts:13](https://github.com/polkadot-js/api/blob/9373e5d/packages/api-derive/src/chain/subscribeNewHead.ts#L13)*
|
||||
|
||||
___
|
||||
|
||||
# Functions
|
||||
|
||||
<a id="subscribenewhead"></a>
|
||||
|
||||
## subscribeNewHead
|
||||
|
||||
▸ **subscribeNewHead**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/subscribeNewHead.ts:18](https://github.com/polkadot-js/api/blob/9373e5d/packages/api-derive/src/chain/subscribeNewHead.ts#L18)*
|
||||
|
||||
Subscribe to block headers and extend it with the author
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| api | `ApiInterface$Rx` |
|
||||
|
||||
**Returns:** `(Anonymous function)`
|
||||
|
||||
___
|
||||
|
||||
Reference in New Issue
Block a user