[CI Skip] 0.33.5
This commit is contained in:
+15
-18
@@ -39,8 +39,8 @@ _Retrieval of chain data_
|
||||
▸ **getBlockHash**(blockNumber?: `BlockNumber`): `Hash`
|
||||
- **summary**: Get the block hash for a specific block
|
||||
|
||||
▸ **getHead**(): `Hash`
|
||||
- **summary**: Retrieves the best headerHash
|
||||
▸ **getFinalisedHead**(): `Hash`
|
||||
- **summary**: Get hash of the last finalised block in the canon chain
|
||||
|
||||
▸ **getHeader**(hash?: `Hash`): `Header`
|
||||
- **summary**: Retrieves the header for a specific block
|
||||
@@ -48,9 +48,15 @@ _Retrieval of chain data_
|
||||
▸ **getRuntimeVersion**(hash?: `Hash`): `RuntimeVersion`
|
||||
- **summary**: Get the runtime version
|
||||
|
||||
▸ **subscribeFinalisedHeads**()**.subscribe**(CALLBACK): `Header`
|
||||
- **summary**: Retrieves the best finalised header via subscription
|
||||
|
||||
▸ **subscribeNewHead**()**.subscribe**(CALLBACK): `Header`
|
||||
- **summary**: Retrieves the best header via subscription
|
||||
|
||||
▸ **subscribeRuntimeVersion**()**.subscribe**(CALLBACK): `RuntimeVersion`
|
||||
- **summary**: Retrieves the runtime version via subscription
|
||||
|
||||
___
|
||||
<a href='#top' style='float: right; font-size: 1.6rem; font-weight: bold;'>Back To Top</a>
|
||||
|
||||
@@ -58,33 +64,21 @@ ___
|
||||
|
||||
_Query of state_
|
||||
|
||||
▸ **call**(method: `Text`, data: `Bytes`): `Bytes`
|
||||
▸ **call**(method: `Text`, data: `Bytes`, block?: `Hash`): `Bytes`
|
||||
- **summary**: Perform a call to a builtin on the chain
|
||||
|
||||
▸ **callAt**(method: `Text`, data: `Bytes`, block: `Hash`): `Bytes`
|
||||
- **summary**: Perform a call to a builtin on the chain (At block)
|
||||
|
||||
▸ **getMetadata**(block?: `Hash`): `Metadata`
|
||||
- **summary**: Returns the runtime metadata
|
||||
|
||||
▸ **getStorage**(key: `StorageKey`): `StorageData`
|
||||
▸ **getStorage**(key: `StorageKey`, block?: `Hash`): `StorageData`
|
||||
- **summary**: Retrieves the storage for a key
|
||||
|
||||
▸ **getStorageAt**(key: `Bytes`, block: `Hash`): `Bytes`
|
||||
- **summary**: Retrieves the storage for a key at a specific block
|
||||
|
||||
▸ **getStorageHash**(key: `Bytes`): `Hash`
|
||||
▸ **getStorageHash**(key: `StorageKey`, block?: `Hash`): `Hash`
|
||||
- **summary**: Retrieves the storage hash
|
||||
|
||||
▸ **getStorageHashAt**(key: `Bytes`, block: `Hash`): `Hash`
|
||||
- **summary**: Retrieves the storage hash at a specific block
|
||||
|
||||
▸ **getStorageSize**(key: `Bytes`): `u64`
|
||||
▸ **getStorageSize**(key: `StorageKey`, block?: `Hash`): `u64`
|
||||
- **summary**: Retrieves the storage size
|
||||
|
||||
▸ **getStorageSizeAt**(key: `Bytes`, block: `Hash`): `u64`
|
||||
- **summary**: Retrieves the storage size at a specific block
|
||||
|
||||
▸ **queryStorage**(keys: `Vec<StorageKey>`, startBlock: `Hash`, block?: `Hash`): `Vec<StorageChangeSet>`
|
||||
- **summary**: Query historical storage entries (by key) starting from a start block
|
||||
|
||||
@@ -104,5 +98,8 @@ _Methods to retrieve system info_
|
||||
▸ **name**(): `Text`
|
||||
- **summary**: Retrieves the node name
|
||||
|
||||
▸ **properties**(): `ChainProperties`
|
||||
- **summary**: Get a custom set of properties as a JSON object, defined in the chain spec
|
||||
|
||||
▸ **version**(): `Text`
|
||||
- **summary**: Retrieves the version of the node
|
||||
|
||||
Reference in New Issue
Block a user