Files
api/packages/api-jsonrpc/docs/chain.md
T
Jaco Greeff e8ccc9aa79 Move to lerna repo (#19)
* 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
2017-11-28 18:03:48 +01:00

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.