[SDK] Add boarding txs to history (#306)

* test

* Add onboard tx to tx history

Co-authored-by: Pietralberto Mazza <altafan@users.noreply.github.com>

* add createdAt to onboard UTXO

* show unconfirmed on top

* add new method GetTx to explorer

* fix list of onboarding tx

* ignore not pending

* small refactor

* replicate changes on covenant client

* fix tests

---------

Co-authored-by: Pietralberto Mazza <altafan@users.noreply.github.com>
This commit is contained in:
João Bordalo
2024-09-13 18:19:21 +01:00
committed by GitHub
parent 4304626d08
commit 2174e4b04d
5 changed files with 414 additions and 175 deletions

View File

@@ -131,11 +131,12 @@ const (
type TxType string
type Transaction struct {
RoundTxid string
RedeemTxid string
Amount uint64
Type TxType
Pending bool
Claimed bool
CreatedAt time.Time
BoardingTxid string
RoundTxid string
RedeemTxid string
Amount uint64
Type TxType
Pending bool
Claimed bool
CreatedAt time.Time
}