Versions in this module Expand all Collapse all v0 v0.3.15 Nov 25, 2024 v0.3.14 Nov 25, 2024 v0.3.5 Oct 10, 2024 v0.3.2 Oct 9, 2024 v0.3.1 Oct 8, 2024 v0.3.0 Oct 8, 2024 Changes in this version + var File_blockchain_b3_b3_index_types_proto protoreflect.FileDescriptor + func ToEntireBlocksBatchFromLogProto(obj *B3BlocksBatch) *seer_common.BlocksBatchJson + func ToEvenFromLogProto(obj *B3EventLog) *seer_common.EventJson + type B3Block struct + BaseFeePerGas string + BlockNumber uint64 + Difficulty uint64 + ExtraData string + GasLimit uint64 + GasUsed uint64 + Hash string + IndexedAt uint64 + LogsBloom string + Miner string + Nonce string + ParentHash string + ReceiptsRoot string + Sha3Uncles string + Size uint64 + StateRoot string + Timestamp uint64 + TotalDifficulty string + Transactions []*B3Transaction + TransactionsRoot string + func ToProtoSingleBlock(obj *seer_common.BlockJson) *B3Block + func (*B3Block) Descriptor() ([]byte, []int) + func (*B3Block) ProtoMessage() + func (x *B3Block) GetBaseFeePerGas() string + func (x *B3Block) GetBlockNumber() uint64 + func (x *B3Block) GetDifficulty() uint64 + func (x *B3Block) GetExtraData() string + func (x *B3Block) GetGasLimit() uint64 + func (x *B3Block) GetGasUsed() uint64 + func (x *B3Block) GetHash() string + func (x *B3Block) GetIndexedAt() uint64 + func (x *B3Block) GetLogsBloom() string + func (x *B3Block) GetMiner() string + func (x *B3Block) GetNonce() string + func (x *B3Block) GetParentHash() string + func (x *B3Block) GetReceiptsRoot() string + func (x *B3Block) GetSha3Uncles() string + func (x *B3Block) GetSize() uint64 + func (x *B3Block) GetStateRoot() string + func (x *B3Block) GetTimestamp() uint64 + func (x *B3Block) GetTotalDifficulty() string + func (x *B3Block) GetTransactions() []*B3Transaction + func (x *B3Block) GetTransactionsRoot() string + func (x *B3Block) ProtoReflect() protoreflect.Message + func (x *B3Block) Reset() + func (x *B3Block) String() string + type B3BlocksBatch struct + Blocks []*B3Block + SeerVersion string + func (*B3BlocksBatch) Descriptor() ([]byte, []int) + func (*B3BlocksBatch) ProtoMessage() + func (x *B3BlocksBatch) GetBlocks() []*B3Block + func (x *B3BlocksBatch) GetSeerVersion() string + func (x *B3BlocksBatch) ProtoReflect() protoreflect.Message + func (x *B3BlocksBatch) Reset() + func (x *B3BlocksBatch) String() string + type B3EventLog struct + Address string + BlockHash string + BlockNumber uint64 + Data string + LogIndex uint64 + Removed bool + Topics []string + TransactionHash string + TransactionIndex uint64 + func ToProtoSingleEventLog(obj *seer_common.EventJson) *B3EventLog + func (*B3EventLog) Descriptor() ([]byte, []int) + func (*B3EventLog) ProtoMessage() + func (x *B3EventLog) GetAddress() string + func (x *B3EventLog) GetBlockHash() string + func (x *B3EventLog) GetBlockNumber() uint64 + func (x *B3EventLog) GetData() string + func (x *B3EventLog) GetLogIndex() uint64 + func (x *B3EventLog) GetRemoved() bool + func (x *B3EventLog) GetTopics() []string + func (x *B3EventLog) GetTransactionHash() string + func (x *B3EventLog) GetTransactionIndex() uint64 + func (x *B3EventLog) ProtoReflect() protoreflect.Message + func (x *B3EventLog) Reset() + func (x *B3EventLog) String() string + type B3Transaction struct + AccessList []*B3TransactionAccessList + BlockHash string + BlockNumber uint64 + BlockTimestamp uint64 + ChainId string + FromAddress string + Gas string + GasPrice string + Hash string + IndexedAt uint64 + Input string + Logs []*B3EventLog + MaxFeePerGas string + MaxPriorityFeePerGas string + Nonce string + R string + S string + ToAddress string + TransactionIndex uint64 + TransactionType uint64 + V string + Value string + YParity string + func ToProtoSingleTransaction(obj *seer_common.TransactionJson) *B3Transaction + func (*B3Transaction) Descriptor() ([]byte, []int) + func (*B3Transaction) ProtoMessage() + func (x *B3Transaction) GetAccessList() []*B3TransactionAccessList + func (x *B3Transaction) GetBlockHash() string + func (x *B3Transaction) GetBlockNumber() uint64 + func (x *B3Transaction) GetBlockTimestamp() uint64 + func (x *B3Transaction) GetChainId() string + func (x *B3Transaction) GetFromAddress() string + func (x *B3Transaction) GetGas() string + func (x *B3Transaction) GetGasPrice() string + func (x *B3Transaction) GetHash() string + func (x *B3Transaction) GetIndexedAt() uint64 + func (x *B3Transaction) GetInput() string + func (x *B3Transaction) GetLogs() []*B3EventLog + func (x *B3Transaction) GetMaxFeePerGas() string + func (x *B3Transaction) GetMaxPriorityFeePerGas() string + func (x *B3Transaction) GetNonce() string + func (x *B3Transaction) GetR() string + func (x *B3Transaction) GetS() string + func (x *B3Transaction) GetToAddress() string + func (x *B3Transaction) GetTransactionIndex() uint64 + func (x *B3Transaction) GetTransactionType() uint64 + func (x *B3Transaction) GetV() string + func (x *B3Transaction) GetValue() string + func (x *B3Transaction) GetYParity() string + func (x *B3Transaction) ProtoReflect() protoreflect.Message + func (x *B3Transaction) Reset() + func (x *B3Transaction) String() string + type B3TransactionAccessList struct + Address string + StorageKeys []string + func (*B3TransactionAccessList) Descriptor() ([]byte, []int) + func (*B3TransactionAccessList) ProtoMessage() + func (x *B3TransactionAccessList) GetAddress() string + func (x *B3TransactionAccessList) GetStorageKeys() []string + func (x *B3TransactionAccessList) ProtoReflect() protoreflect.Message + func (x *B3TransactionAccessList) Reset() + func (x *B3TransactionAccessList) String() string + type Client struct + func NewClient(url string, timeout int) (*Client, error) + func (c *Client) BlockByHash(ctx context.Context, hash common.Hash) (*seer_common.BlockJson, error) + func (c *Client) ChainType() string + func (c *Client) ClientFilterLogs(ctx context.Context, q ethereum.FilterQuery, debug bool) ([]*seer_common.EventJson, error) + func (c *Client) Close() + func (c *Client) DecodeProtoBlocks(data []string) ([]*B3Block, error) + func (c *Client) DecodeProtoEntireBlockToJson(rawData *bytes.Buffer) (*seer_common.BlocksBatchJson, error) + func (c *Client) DecodeProtoEntireBlockToLabels(rawData *bytes.Buffer, abiMap map[string]map[string]*indexer.AbiEntry, ...) ([]indexer.EventLabel, []indexer.TransactionLabel, error) + func (c *Client) DecodeProtoEventLogs(data []string) ([]*B3EventLog, error) + func (c *Client) DecodeProtoTransactions(data []string) ([]*B3Transaction, error) + func (c *Client) DecodeProtoTransactionsToLabels(transactions []string, blocksCache map[uint64]uint64, ...) ([]indexer.TransactionLabel, error) + func (c *Client) FetchAsProtoBlocksWithEvents(from, to *big.Int, debug bool, maxRequests int) ([]proto.Message, []indexer.BlockIndex, uint64, error) + func (c *Client) FetchBlocksInRange(from, to *big.Int, debug bool) ([]*seer_common.BlockJson, error) + func (c *Client) FetchBlocksInRangeAsync(from, to *big.Int, debug bool, maxRequests int) ([]*seer_common.BlockJson, error) + func (c *Client) GetBlockByNumber(ctx context.Context, number *big.Int, withTransactions bool) (*seer_common.BlockJson, error) + func (c *Client) GetCode(ctx context.Context, address common.Address, blockNumber uint64) ([]byte, error) + func (c *Client) GetEventsLabels(startBlock uint64, endBlock uint64, ...) ([]indexer.EventLabel, error) + func (c *Client) GetLatestBlockNumber() (*big.Int, error) + func (c *Client) GetTransactionByHash(ctx context.Context, hash string) (*seer_common.TransactionJson, error) + func (c *Client) GetTransactionsLabels(startBlock uint64, endBlock uint64, ...) ([]indexer.TransactionLabel, map[uint64]seer_common.BlockWithTransactions, ...) + func (c *Client) ParseBlocksWithTransactions(from, to *big.Int, debug bool, maxRequests int) ([]*B3Block, error) + func (c *Client) ParseEvents(from, to *big.Int, blocksCache map[uint64]indexer.BlockCache, debug bool) ([]*B3EventLog, error) + func (c *Client) ProcessBlocksToBatch(msgs []proto.Message) (proto.Message, error) + func (c *Client) TransactionReceipt(ctx context.Context, hash common.Hash) (*types.Receipt, error)