mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 04:34:19 +01:00
[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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user