Skip to content

Commit

Permalink
feat: add pool live_pledge to info res
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Kungla <[email protected]>
  • Loading branch information
mkungla committed Apr 10, 2022
1 parent 75b3bfa commit 7f3794c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ type (

// CreationTime of Asset
CreationTime string `json:"creation_time"`

// MintCnt count of mint transactions
MintCnt int `json:"mint_cnt"`

// BurnCnt count of burn transactions
BurnCnt int `json:"burn_cnt"`

// MintingTxHash mint tx
MintingTxHash TxHash `json:"minting_tx_hash"`
}

// AssetTxs Txs info for the given asset (latest first).
Expand Down
3 changes: 3 additions & 0 deletions pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ type (
// LiveStake Pool live stake
LiveStake Lovelace `json:"live_stake"`

// LivePledge Pool live pledge
LivePledge Lovelace `json:"live_pledge"`

// Margin (decimal format)
Margin float32 `json:"margin"`

Expand Down

0 comments on commit 7f3794c

Please sign in to comment.