forked from toorop/go-bitcoind
-
Notifications
You must be signed in to change notification settings - Fork 2
/
address.go
39 lines (34 loc) · 944 Bytes
/
address.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package navcoind
type AddressBalance struct {
Balance uint64 `json:"balance"`
Received uint64 `json:"received"`
}
type AddressTxidsRequest struct {
Addresses []string `json:"addresses"`
Start uint64 `json:"start"`
End uint64 `json:"end"`
}
type AddressTxids []string
type AddressHistoryRequest struct {
Addresses []string `json:"addresses"`
Start uint64 `json:"start"`
End uint64 `json:"end"`
}
type AddressHistory struct {
Block uint64 `json:"block"`
TxIndex uint `json:"txindex"`
Time int64 `json:"time"`
TxId string `json:"txid"`
Address string `json:"address"`
Changes struct {
Balance int64 `json:"balance"`
Stakable int64 `json:"stakable"`
VotingWeight int64 `json:"voting_weight"`
Flags uint `json:"flags"`
}
Result struct {
Balance int64 `json:"balance"`
Stakable int64 `json:"stakable"`
VotingWeight int64 `json:"voting_weight"`
}
}