forked from BuxOrg/bux-models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xpub.go
18 lines (15 loc) · 552 Bytes
/
xpub.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package buxmodels
import "github.com/BuxOrg/bux-models/common"
// Xpub is a model that represents a xpub.
type Xpub struct {
// Model is a common model that contains common fields for all models.
Model common.Model
// ID is a xpub id.
ID string `json:"id"`
// CurrentBalance is a xpub's current balance.
CurrentBalance uint64 `json:"current_balance"`
// NextInternalNum is a next internal num.
NextInternalNum uint32 `json:"next_internal_num"`
// NextExternalNum is a next external num.
NextExternalNum uint32 `json:"next_external_num"`
}