## API Methods  

### getAccounts(): Promise&lt;string[]&gt;  
Fetch list of addresses in system  

### getBlockHash(blockNumber: number): Promise&lt;Hash&gt;  
Fetch hash of block by its number  

### subscribeNewBlockHeads(blockHandler: (header: BlockHeader) => Promise&lt;void&gt; | void): UnsubscribePromise  
Retrieves the best finalized header via subscription  

### setSigner(signer: Signer): void  
Sets transaction signer, can be used with [injected wallet](https://github.com/polkadot-js/extension/tree/master/packages/extension-dapp)  

### multi(calls: QueryableStorageMultiArg&lt;"promise"&gt;[], callback: (result: Codec[]) => void | Promise&lt;void&gt;): UnsubscribePromise  
Allows for the querying of multiple storage entries and the combination thereof into a single result. This is a very optimal way to make multiple queries since it only makes a single connection to the node and retrieves the data over one subscription. Refer to [multiple queries section of polkadot.js api docs](https://polkadot.js.org/api/start/api.query.multi.html)  

### getNonce(address: string): Promise&lt;Index&gt;  
Fetch next available nonce for this address  
  