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
最后更新于 7个月前