From e8b93e3bb17584a8c7c2624977780f5ecb683d63 Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Wed, 1 Apr 2020 04:23:59 +0200 Subject: [PATCH] fix utxo list response --- extras/jsonrpc/daemon_types.go | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/extras/jsonrpc/daemon_types.go b/extras/jsonrpc/daemon_types.go index 4d90dd6..b9e34d7 100644 --- a/extras/jsonrpc/daemon_types.go +++ b/extras/jsonrpc/daemon_types.go @@ -482,15 +482,18 @@ type StatusResponse struct { type UTXOListResponse struct { Items []struct { - Address string `json:"address"` - Amount string `json:"amount"` - Confirmations int `json:"confirmations"` - Height int `json:"height"` - IsChange bool `json:"is_change"` - IsMine bool `json:"is_mine"` - Nout int `json:"nout"` - Txid string `json:"txid"` - Type string `json:"type"` + Address string `json:"address"` + Amount string `json:"amount"` + Confirmations int `json:"confirmations"` + Height int `json:"height"` + IsInternalTransfer bool `json:"is_internal_transfer"` + IsMyInput bool `json:"is_internal_transfer"` + IsMyOutput bool `json:"is_my_output"` + IsSpent bool `json:"is_spent"` + Nout int `json:"nout"` + Timestamp int64 `json:"timestamp"` + Txid string `json:"txid"` + Type string `json:"type"` } `json:"items"` Page uint64 `json:"page"` PageSize uint64 `json:"page_size"`