getBlockCount
Parameters
Returns
Errors
Code
Name
Description
Example
Request
const blockCount = await provider.getBlockCount();Response
5123456最后更新于
Gets the current block count of the connected Neo N3 network.
None.
Promise<number>
10008
RPC_ERROR
The RPC server returned an error.
const blockCount = await provider.getBlockCount();5123456最后更新于