Skip to content

Commit ee35150

Browse files
committed
add template to usage manual
1 parent 3256554 commit ee35150

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ Ethereum addresses are checksum checked if they are not lowercased and always le
144144

145145

146146
### Setting options
147+
147148
```
148149
var options = Web3Options.defaultOptions()
149150
// public var to: EthereumAddress? = nil - to what address transaction is aimed
@@ -155,6 +156,18 @@ options.gasPrice = gasPrice
155156
options.gasLimit = gasLimit
156157
options.from = EthereumAddress("0xE6877A4d8806e9A9F12eB2e8561EA6c1db19978d")
157158
```
159+
160+
### Encoding Transaction
161+
162+
```
163+
//TODO
164+
```
165+
166+
### Signing Transaction
167+
168+
```
169+
//TODO
170+
```
158171
### Getting ETH balance
159172
```
160173
let address = EthereumAddress("0xE6877A4d8806e9A9F12eB2e8561EA6c1db19978d")!

0 commit comments

Comments
 (0)