Add Chain.network_id

This commit is contained in:
Hans Svensson
2023-06-22 09:13:49 +02:00
parent c3788b2b5a
commit 527bca4917
6 changed files with 20 additions and 3 deletions
+8
View File
@@ -734,6 +734,14 @@ Chain.gas_limit : int
The gas limit of the current block.
##### network\_id
```
Chain.network\_id : string
```
The network id of the chain.
##### spend
```
Chain.spend(to : address, amount : int) : unit