* Pull api-* packages into lerna repo * Bootstrap with hoist * Update jest alias config * Add api-jsonrpc * Pull in jsonrpc * Update badges * Don't hoist, use workspaces * .eslintrc to root * Cleanups, build from root * Shorthand commands * Update to @polkadot/dev 0.9.1 * Update description
18 lines
313 B
Markdown
18 lines
313 B
Markdown
# chain
|
|
|
|
Methods to retrieve chain data.
|
|
|
|
- [getHeader](#getheader) Retrieves the header for a specific block.
|
|
|
|
## getHeader
|
|
|
|
Retrieves the header for a specific block.
|
|
|
|
```js
|
|
chain_getHeader (hash: HeaderHash): Header
|
|
```
|
|
|
|
|
|
Given a block header specified by `hash`, return the full block `Header` information.
|
|
|