We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4bebe1 commit 04a6a87Copy full SHA for 04a6a87
scripts/getBlock.ts
@@ -14,7 +14,7 @@ async function main() {
14
15
let block = await pxe.getBlock(1);
16
console.log(block)
17
- console.log(block?.hash())
+ console.log(await block?.hash())
18
}
19
20
main();
0 commit comments