Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitpay/bitcore
/ getBlockHeight
Method
getBlockHeight
packages/bitcore-node/src/rpc.ts:76–78 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
74
}
75
76
getBlockHeight() {
77
return
this.asyncCall(
'getblockcount'
, []);
78
}
79
80
getBlock(hash: string, verbosity: number) {
81
return
this.asyncCall<RPCBlock<RPCTransaction>>(
'getblock'
, [hash, verbosity]);
Callers
1
invalidateTx
Method · 0.80
Calls
1
asyncCall
Method · 0.95
Tested by
no test coverage detected