Versions in this module Expand all Collapse all v1 v1.4.0 Apr 21, 2025 Changes in this version + type App struct + Category string + Description string + Explorer string + Github string + Id uint64 + L2Beat string + Links []string + Logo string + Name string + Provider string + Slug string + Stack string + Twitter string + Type string + VM string + Website string + func NewApp(r storage.App) App + type Candle struct + Close string + High string + Low string + Open string + Time time.Time + func NewCandle(candle storage.Candle) Candle + type Price struct + CurrencyPair string + Price string + Time time.Time + func NewPrice(price storage.Price) Price v1.3.0 Dec 16, 2024 Changes in this version + type Asset struct + Asset string + Fee string + FeeCount int + Supply string + TransferCount int + Transferred string + func NewAsset(asset storage.Asset) Asset type Rollup + App *AppWithStats type State + TotalBytes int64 type Tx + Fees []TxFee + type TxFee struct + Amount string + Asset string + func NewTxFee(fee storage.Fee) TxFee v1.2.0 Nov 9, 2024 Changes in this version type Action + func NewActionFromRollupAction(action storage.RollupAction) Action type Address + IsIbcRelayer bool + IsIbcSudo bool + IsSudo bool + type AppWithStats struct + ActionsCount int64 + AvgSize int64 + Category string + Description string + Explorer string + FirstAction time.Time + Github string + Id uint64 + L2Beat string + LastAction time.Time + Links []string + Logo string + MaxSize int64 + MinSize int64 + Name string + NativeBridge string + Provider string + Rollup string + Size int64 + Slug string + Stack string + Twitter string + Type string + VM string + Website string + func NewAppWithStats(r storage.AppWithStats) AppWithStats v1.1.0 Oct 27, 2024 Changes in this version + type Deposit struct + Amount string + Asset string + Bridge string + DestinationChainAddress string + Height pkgTypes.Level + Id uint64 + Rollup []byte + Time time.Time + TxHash string + func NewDeposit(d storage.Deposit) Deposit + type FeeSummary struct + Amount string + Asset string + FeeCount int64 + MaxAmount string + MinAmount string + func NewFeeSummary(summary storage.FeeSummary) FeeSummary + type FullFee struct + Amount string + Asset string + Height pkgTypes.Level + Payer string + Time time.Time + TxHash string + func NewFullFee(fee storage.Fee) FullFee type State + TotalBridges int64 + type TokenTransferDistributionItem struct + Amount string + Asset string + TransfersCount int64 + func NewTokenTransferDistributionItem(summary storage.TokenTransferDistributionItem) TokenTransferDistributionItem v1.0.0 Sep 14, 2024 Changes in this version + type Action struct + Data map[string]any + Fee *Fee + Height pkgTypes.Level + Id uint64 + Position int64 + Time time.Time + TxHash string + Type types.ActionType + func NewAction(action storage.Action) Action + func NewActionWithTx(action storage.ActionWithTx) Action + func NewAddressAction(action storage.AddressAction) Action + type Address struct + ActionsCount int64 + Balance []Balance + Bridge *Bridge + Hash string + Height pkgTypes.Level + Id uint64 + IsBridge bool + Nonce uint32 + SignedTxCount int64 + func NewAddress(addr storage.Address, bridge *storage.Bridge) Address + type Balance struct + Currency string + Value string + type Block struct + ActionTypes []string + AppHash pkgTypes.Hex + ConsensusHash pkgTypes.Hex + DataHash pkgTypes.Hex + EvidenceHash pkgTypes.Hex + Hash pkgTypes.Hex + Height uint64 + Id uint64 + LastCommitHash pkgTypes.Hex + LastResultsHash pkgTypes.Hex + NextValidatorsHash pkgTypes.Hex + ParentHash pkgTypes.Hex + Proposer *ShortValidator + Stats *BlockStats + Time time.Time + ValidatorsHash pkgTypes.Hex + VersionApp string + VersionBlock string + func NewBlock(block storage.Block) Block + type BlockStats struct + BlockTime uint64 + BytesInBlock int64 + Fee string + GasUsed int64 + GasWanted int64 + SupplyChange string + TxCount int64 + func NewBlockStats(stats *storage.BlockStats) *BlockStats + type Bridge struct + Address string + Asset string + FeeAsset string + Rollup []byte + Sudo string + Withdrawer string + func NewBridge(b storage.Bridge) Bridge + type Constants struct + Module map[string]Params + func NewConstants(consts []storage.Constant) Constants + type Enums struct + ActionType []string + Status []string + func NewEnums() Enums + type Fee struct + Amount string + Asset string + func NewFee(fee *storage.Fee) *Fee + type NetworkSummary struct + BPS float64 + BlockTime float64 + BytesInBlock int64 + DataSize int64 + Fee string + RBPS float64 + Supply string + TPS float64 + TxCount int64 + func NewNetworkSummary(summary storage.NetworkSummary) NetworkSummary + type NetworkSummaryWithChange struct + BPS float64 + BPSPct float64 + BlockTime float64 + BlockTimePct float64 + BytesInBlock int64 + BytesInBlockPct float64 + DataSize int64 + DataSizePct float64 + RBPS float64 + RBPSPct float64 + TPS float64 + TPSPct float64 + TxCount int64 + TxCountPct float64 + func NewNetworkSummaryWithChange(summary storage.NetworkSummaryWithChange) NetworkSummaryWithChange + type Params map[string]string + type Rollup struct + ActionsCount int64 + AstriaId []byte + BridgeCount int64 + FirstHeight types.Level + Id uint64 + Size int64 + func NewRollup(rollup *storage.Rollup) Rollup + type RollupAction struct + Rollup *Rollup + func NewRollupAction(action storage.RollupAction) RollupAction + type RollupSeriesItem struct + Time time.Time + Value string + func NewRollupSeriesItem(item storage.SeriesItem) RollupSeriesItem + type SearchResult struct + Body any + Type string + Value string + func NewSearchResult(value, typ string, body any) SearchResult + type SeriesItem struct + Max string + Min string + Time time.Time + Value string + func NewSeriesItem(item storage.SeriesItem) SeriesItem + type ShortValidator struct + ConsAddress string + Id uint64 + Name string + func NewShortValidator(val *storage.Validator) *ShortValidator + type SignedBlocks struct + Height types.Level + Signed bool + type State struct + ChainID string + Id uint64 + LastHash string + LastHeight pkgTypes.Level + LastTime time.Time + Name string + Synced bool + TotalAccounts int64 + TotalFee string + TotalRollups int64 + TotalSupply string + TotalTx int64 + func NewState(state storage.State) State + type Tx struct + ActionTypes []string + Actions []Action + ActionsCount int64 + Codespace string + Error string + GasUsed int64 + GasWanted int64 + Hash string + Height pkgTypes.Level + Id uint64 + Nonce uint32 + Position int64 + Signature string + Signer string + Status types.Status + Time time.Time + func NewTx(tx storage.Tx) Tx + type Validator struct + ConsAddress string + Id uint64 + Name string + Power string + Pubkey string + PubkeyType string + func NewValidator(val *storage.Validator) *Validator + type ValidatorUptime struct + Blocks []SignedBlocks + Uptime string + func NewValidatorUptime(levels []types.Level, currentLevel types.Level, count types.Level) (uptime ValidatorUptime)