Add blockHeader instructions and examples.
This commit is contained in:
1 parent
47fa100786
commit
4cd7665e8c
3 files changed
+26
No files matched your search
@@ -30,6 +30,9 @@
|
||||
const blockRaw = await blocks.getBlockRaw({ hash });
|
||||
console.log(blockRaw);
|
||||
|
||||
const blockHeader = await blocks.getBlockHeader({ hash });
|
||||
console.log(blockHeader);
|
||||
|
||||
const blockHeight = await blocks.getBlockHeight({ height: 0 });
|
||||
console.log(blockHeight);
|
||||
|
||||
|
||||
Reference in new issue
Block a user