fix utxo list response
This commit is contained in:
parent
9a9be92d27
commit
e8b93e3bb1
1 changed files with 12 additions and 9 deletions
|
@ -482,15 +482,18 @@ type StatusResponse struct {
|
||||||
|
|
||||||
type UTXOListResponse struct {
|
type UTXOListResponse struct {
|
||||||
Items []struct {
|
Items []struct {
|
||||||
Address string `json:"address"`
|
Address string `json:"address"`
|
||||||
Amount string `json:"amount"`
|
Amount string `json:"amount"`
|
||||||
Confirmations int `json:"confirmations"`
|
Confirmations int `json:"confirmations"`
|
||||||
Height int `json:"height"`
|
Height int `json:"height"`
|
||||||
IsChange bool `json:"is_change"`
|
IsInternalTransfer bool `json:"is_internal_transfer"`
|
||||||
IsMine bool `json:"is_mine"`
|
IsMyInput bool `json:"is_internal_transfer"`
|
||||||
Nout int `json:"nout"`
|
IsMyOutput bool `json:"is_my_output"`
|
||||||
Txid string `json:"txid"`
|
IsSpent bool `json:"is_spent"`
|
||||||
Type string `json:"type"`
|
Nout int `json:"nout"`
|
||||||
|
Timestamp int64 `json:"timestamp"`
|
||||||
|
Txid string `json:"txid"`
|
||||||
|
Type string `json:"type"`
|
||||||
} `json:"items"`
|
} `json:"items"`
|
||||||
Page uint64 `json:"page"`
|
Page uint64 `json:"page"`
|
||||||
PageSize uint64 `json:"page_size"`
|
PageSize uint64 `json:"page_size"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue