mirror of
https://github.com/alexgo-io/gaze-indexer.git
synced 2026-01-12 08:34:28 +08:00
* feat: implement pagination on get balance, get holders * feat: paginate get transactions * fix: remove debug * feat: implement pagination in get utxos * feat: sort response in get holders * feat: cap batch query * feat: add default limits to all endpoints * chore: rename endpoint funcs * fix: parse rune name spacers * chore: use compare.Cmp * feat: handle not found errors on all usecase
19 lines
346 B
Go
19 lines
346 B
Go
package entity
|
|
|
|
import (
|
|
"github.com/btcsuite/btcd/wire"
|
|
"github.com/gaze-network/indexer-network/modules/runes/runes"
|
|
"github.com/gaze-network/uint128"
|
|
)
|
|
|
|
type RunesUTXOBalance struct {
|
|
RuneId runes.RuneId
|
|
Amount uint128.Uint128
|
|
}
|
|
|
|
type RunesUTXO struct {
|
|
PkScript []byte
|
|
OutPoint wire.OutPoint
|
|
RuneBalances []RunesUTXOBalance
|
|
}
|