Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
glossd authored Nov 14, 2021
1 parent 6024b11 commit 234e59f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,13 @@ func main() {
**For testing purposes** I used `netchain.TestNet`. If you want to send real bitcoins to blockchain you need to specify BTC_API_KEY env var for blockcypher or you could pass your own txutil.CreateParams.Fetch function to txutil.Create.

---
#### More options
### More options
`txutil.CreateParams`:

| Field | Type | Usage |
|:-------------:|:--------------------:|------- |
| PrivateKeys | []string | send your bitcoins from multiple wallets |
| Destinations | []txutil.Destination | send your bitcoins to multiple addresses |
| SendAll | bool | send all your bitcoins from your private key or keys, but it only works if you specified just one destination |

For the full list of the transaction parameters look inside `txutil.CreateParams`.

0 comments on commit 234e59f

Please sign in to comment.