MCPcopy Index your code
hub / github.com/bitpay/bitcore / verbose_block

Method verbose_block

packages/bitcore-node/src/rpc.ts:167–169  ·  view source on GitHub ↗
(hash: string)

Source from the content-addressed store, hash-verified

165 }
166
167 async verbose_block(hash: string): Promise<RPCBlock<RPCTransaction>> {
168 return (await this.call('getblock', [hash, 2])) as RPCBlock<RPCTransaction>;
169 }
170
171 async getnewaddress(account: string): Promise<string> {
172 await this.setWallet();

Callers 1

blocksFunction · 0.95

Calls 1

callMethod · 0.95

Tested by

no test coverage detected