backend

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func NewBackend

func NewBackend(obsClient *obsclient.ObsClient) *Backend

func (*Backend) DecryptTxBlob

func (b *Backend) DecryptTxBlob(payload string) ([]*common.L2Tx, error)

func (*Backend) GetBatchByHash

func (b *Backend) GetBatchByHash(hash gethcommon.Hash) (*common.ExtBatch, error)

func (*Backend) GetBatchByHeight added in v0.24.1

func (b *Backend) GetBatchByHeight(height *big.Int) (*common.PublicBatch, error)

func (*Backend) GetBatchHeader

func (b *Backend) GetBatchHeader(hash gethcommon.Hash) (*common.BatchHeader, error)

func (*Backend) GetBatchTransactions added in v0.24.1

func (b *Backend) GetBatchTransactions(hash gethcommon.Hash) (*common.TransactionListingResponse, error)

func (*Backend) GetBatchesListing

func (b *Backend) GetBatchesListing(offset uint64, size uint64) (*common.BatchListingResponse, error)

func (*Backend) GetBatchesListingDeprecated added in v0.24.0

func (b *Backend) GetBatchesListingDeprecated(offset uint64, size uint64) (*common.BatchListingResponseDeprecated, error)

func (*Backend) GetBlockListing

func (b *Backend) GetBlockListing(offset uint64, size uint64) (*common.BlockListingResponse, error)

func (*Backend) GetConfig

func (b *Backend) GetConfig() (*common.TenNetworkInfo, error)

func (*Backend) GetLatestBatch

func (b *Backend) GetLatestBatch() (*common.BatchHeader, error)

func (*Backend) GetLatestRollup

func (b *Backend) GetLatestRollup() (*common.RollupHeader, error)

func (*Backend) GetLatestRollupHeader

func (b *Backend) GetLatestRollupHeader() (*common.RollupHeader, error)

func (*Backend) GetNodeCount

func (b *Backend) GetNodeCount() (int, error)

func (*Backend) GetPublicTransactions

func (b *Backend) GetPublicTransactions(offset uint64, size uint64) (*common.TransactionListingResponse, error)

func (*Backend) GetRollupBatches added in v0.24.1

func (b *Backend) GetRollupBatches(hash gethcommon.Hash) (*common.BatchListingResponse, error)

func (*Backend) GetRollupByHash added in v0.24.1

func (b *Backend) GetRollupByHash(hash gethcommon.Hash) (*common.PublicRollup, error)

func (*Backend) GetRollupBySeqNo added in v0.24.1

func (b *Backend) GetRollupBySeqNo(seqNo uint64) (*common.PublicRollup, error)

func (*Backend) GetRollupListing added in v0.24.0

func (b *Backend) GetRollupListing(offset uint64, size uint64) (*common.RollupListingResponse, error)

func (*Backend) GetTenNodeHealthStatus

func (b *Backend) GetTenNodeHealthStatus() (bool, error)

func (*Backend) GetTotalContractCount

func (b *Backend) GetTotalContractCount() (int, error)

func (*Backend) GetTotalTransactionCount

func (b *Backend) GetTotalTransactionCount() (int, error)

func (*Backend) GetTransaction

func (b *Backend) GetTransaction(hash gethcommon.Hash) (*common.PublicTransaction, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL