Documentation ¶
Index ¶
- Variables
- func ToEntireBlocksBatchFromLogProto(obj *ImxZkevmSepoliaBlocksBatch) *seer_common.BlocksBatchJson
- func ToEvenFromLogProto(obj *ImxZkevmSepoliaEventLog) *seer_common.EventJson
- type Client
- 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) ([]*ImxZkevmSepoliaBlock, error)
- func (c *Client) DecodeProtoEntireBlockToJson(rawData *bytes.Buffer) (*seer_common.BlocksBatchJson, error)
- func (c *Client) DecodeProtoEntireBlockToLabels(rawData *bytes.Buffer, blocksCache map[uint64]uint64, ...) ([]indexer.EventLabel, []indexer.TransactionLabel, error)
- func (c *Client) DecodeProtoEventLogs(data []string) ([]*ImxZkevmSepoliaEventLog, error)
- func (c *Client) DecodeProtoTransactions(data []string) ([]*ImxZkevmSepoliaTransaction, 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, []indexer.TransactionIndex, ...)
- 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) (*seer_common.BlockJson, error)
- func (c *Client) GetLatestBlockNumber() (*big.Int, error)
- func (c *Client) ParseBlocksWithTransactions(from, to *big.Int, debug bool, maxRequests int) ([]*ImxZkevmSepoliaBlock, error)
- func (c *Client) ParseEvents(from, to *big.Int, blocksCache map[uint64]indexer.BlockCache, debug bool) ([]*ImxZkevmSepoliaEventLog, []indexer.LogIndex, error)
- func (c *Client) ProcessBlocksToBatch(msgs []proto.Message) (proto.Message, error)
- func (c *Client) TransactionReceipt(ctx context.Context, hash common.Hash) (*types.Receipt, error)
- type ImxZkevmSepoliaBlock
- func (*ImxZkevmSepoliaBlock) Descriptor() ([]byte, []int)deprecated
- func (x *ImxZkevmSepoliaBlock) GetBaseFeePerGas() string
- func (x *ImxZkevmSepoliaBlock) GetBlockNumber() uint64
- func (x *ImxZkevmSepoliaBlock) GetDifficulty() uint64
- func (x *ImxZkevmSepoliaBlock) GetExtraData() string
- func (x *ImxZkevmSepoliaBlock) GetGasLimit() uint64
- func (x *ImxZkevmSepoliaBlock) GetGasUsed() uint64
- func (x *ImxZkevmSepoliaBlock) GetHash() string
- func (x *ImxZkevmSepoliaBlock) GetIndexedAt() uint64
- func (x *ImxZkevmSepoliaBlock) GetLogsBloom() string
- func (x *ImxZkevmSepoliaBlock) GetMiner() string
- func (x *ImxZkevmSepoliaBlock) GetNonce() string
- func (x *ImxZkevmSepoliaBlock) GetParentHash() string
- func (x *ImxZkevmSepoliaBlock) GetReceiptsRoot() string
- func (x *ImxZkevmSepoliaBlock) GetSha3Uncles() string
- func (x *ImxZkevmSepoliaBlock) GetSize() uint64
- func (x *ImxZkevmSepoliaBlock) GetStateRoot() string
- func (x *ImxZkevmSepoliaBlock) GetTimestamp() uint64
- func (x *ImxZkevmSepoliaBlock) GetTotalDifficulty() string
- func (x *ImxZkevmSepoliaBlock) GetTransactions() []*ImxZkevmSepoliaTransaction
- func (x *ImxZkevmSepoliaBlock) GetTransactionsRoot() string
- func (*ImxZkevmSepoliaBlock) ProtoMessage()
- func (x *ImxZkevmSepoliaBlock) ProtoReflect() protoreflect.Message
- func (x *ImxZkevmSepoliaBlock) Reset()
- func (x *ImxZkevmSepoliaBlock) String() string
- type ImxZkevmSepoliaBlocksBatch
- func (*ImxZkevmSepoliaBlocksBatch) Descriptor() ([]byte, []int)deprecated
- func (x *ImxZkevmSepoliaBlocksBatch) GetBlocks() []*ImxZkevmSepoliaBlock
- func (x *ImxZkevmSepoliaBlocksBatch) GetSeerVersion() string
- func (*ImxZkevmSepoliaBlocksBatch) ProtoMessage()
- func (x *ImxZkevmSepoliaBlocksBatch) ProtoReflect() protoreflect.Message
- func (x *ImxZkevmSepoliaBlocksBatch) Reset()
- func (x *ImxZkevmSepoliaBlocksBatch) String() string
- type ImxZkevmSepoliaEventLog
- func (*ImxZkevmSepoliaEventLog) Descriptor() ([]byte, []int)deprecated
- func (x *ImxZkevmSepoliaEventLog) GetAddress() string
- func (x *ImxZkevmSepoliaEventLog) GetBlockHash() string
- func (x *ImxZkevmSepoliaEventLog) GetBlockNumber() uint64
- func (x *ImxZkevmSepoliaEventLog) GetData() string
- func (x *ImxZkevmSepoliaEventLog) GetLogIndex() uint64
- func (x *ImxZkevmSepoliaEventLog) GetRemoved() bool
- func (x *ImxZkevmSepoliaEventLog) GetTopics() []string
- func (x *ImxZkevmSepoliaEventLog) GetTransactionHash() string
- func (x *ImxZkevmSepoliaEventLog) GetTransactionIndex() uint64
- func (*ImxZkevmSepoliaEventLog) ProtoMessage()
- func (x *ImxZkevmSepoliaEventLog) ProtoReflect() protoreflect.Message
- func (x *ImxZkevmSepoliaEventLog) Reset()
- func (x *ImxZkevmSepoliaEventLog) String() string
- type ImxZkevmSepoliaTransaction
- func (*ImxZkevmSepoliaTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *ImxZkevmSepoliaTransaction) GetAccessList() []*ImxZkevmSepoliaTransactionAccessList
- func (x *ImxZkevmSepoliaTransaction) GetBlockHash() string
- func (x *ImxZkevmSepoliaTransaction) GetBlockNumber() uint64
- func (x *ImxZkevmSepoliaTransaction) GetBlockTimestamp() uint64
- func (x *ImxZkevmSepoliaTransaction) GetChainId() string
- func (x *ImxZkevmSepoliaTransaction) GetFromAddress() string
- func (x *ImxZkevmSepoliaTransaction) GetGas() string
- func (x *ImxZkevmSepoliaTransaction) GetGasPrice() string
- func (x *ImxZkevmSepoliaTransaction) GetHash() string
- func (x *ImxZkevmSepoliaTransaction) GetIndexedAt() uint64
- func (x *ImxZkevmSepoliaTransaction) GetInput() string
- func (x *ImxZkevmSepoliaTransaction) GetLogs() []*ImxZkevmSepoliaEventLog
- func (x *ImxZkevmSepoliaTransaction) GetMaxFeePerGas() string
- func (x *ImxZkevmSepoliaTransaction) GetMaxPriorityFeePerGas() string
- func (x *ImxZkevmSepoliaTransaction) GetNonce() string
- func (x *ImxZkevmSepoliaTransaction) GetR() string
- func (x *ImxZkevmSepoliaTransaction) GetS() string
- func (x *ImxZkevmSepoliaTransaction) GetToAddress() string
- func (x *ImxZkevmSepoliaTransaction) GetTransactionIndex() uint64
- func (x *ImxZkevmSepoliaTransaction) GetTransactionType() uint64
- func (x *ImxZkevmSepoliaTransaction) GetV() string
- func (x *ImxZkevmSepoliaTransaction) GetValue() string
- func (x *ImxZkevmSepoliaTransaction) GetYParity() string
- func (*ImxZkevmSepoliaTransaction) ProtoMessage()
- func (x *ImxZkevmSepoliaTransaction) ProtoReflect() protoreflect.Message
- func (x *ImxZkevmSepoliaTransaction) Reset()
- func (x *ImxZkevmSepoliaTransaction) String() string
- type ImxZkevmSepoliaTransactionAccessList
- func (*ImxZkevmSepoliaTransactionAccessList) Descriptor() ([]byte, []int)deprecated
- func (x *ImxZkevmSepoliaTransactionAccessList) GetAddress() string
- func (x *ImxZkevmSepoliaTransactionAccessList) GetStorageKeys() []string
- func (*ImxZkevmSepoliaTransactionAccessList) ProtoMessage()
- func (x *ImxZkevmSepoliaTransactionAccessList) ProtoReflect() protoreflect.Message
- func (x *ImxZkevmSepoliaTransactionAccessList) Reset()
- func (x *ImxZkevmSepoliaTransactionAccessList) String() string
Constants ¶
This section is empty.
Variables ¶
var File_blockchain_imx_zkevm_sepolia_imx_zkevm_sepolia_index_types_proto protoreflect.FileDescriptor
Functions ¶
func ToEntireBlocksBatchFromLogProto ¶
func ToEntireBlocksBatchFromLogProto(obj *ImxZkevmSepoliaBlocksBatch) *seer_common.BlocksBatchJson
func ToEvenFromLogProto ¶
func ToEvenFromLogProto(obj *ImxZkevmSepoliaEventLog) *seer_common.EventJson
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BlockByHash ¶
BlockByHash returns the block with the given hash.
func (*Client) ClientFilterLogs ¶
func (*Client) DecodeProtoBlocks ¶
func (c *Client) DecodeProtoBlocks(data []string) ([]*ImxZkevmSepoliaBlock, error)
func (*Client) DecodeProtoEntireBlockToJson ¶
func (c *Client) DecodeProtoEntireBlockToJson(rawData *bytes.Buffer) (*seer_common.BlocksBatchJson, error)
func (*Client) DecodeProtoEntireBlockToLabels ¶
func (*Client) DecodeProtoEventLogs ¶
func (c *Client) DecodeProtoEventLogs(data []string) ([]*ImxZkevmSepoliaEventLog, error)
func (*Client) DecodeProtoTransactions ¶
func (c *Client) DecodeProtoTransactions(data []string) ([]*ImxZkevmSepoliaTransaction, error)
func (*Client) DecodeProtoTransactionsToLabels ¶
func (*Client) FetchAsProtoBlocksWithEvents ¶
func (*Client) FetchBlocksInRange ¶
func (c *Client) FetchBlocksInRange(from, to *big.Int, debug bool) ([]*seer_common.BlockJson, error)
FetchBlocksInRange fetches blocks within a specified range. This could be useful for batch processing or analysis.
func (*Client) FetchBlocksInRangeAsync ¶
func (c *Client) FetchBlocksInRangeAsync(from, to *big.Int, debug bool, maxRequests int) ([]*seer_common.BlockJson, error)
FetchBlocksInRangeAsync fetches blocks within a specified range concurrently.
func (*Client) GetBlockByNumber ¶
func (c *Client) GetBlockByNumber(ctx context.Context, number *big.Int) (*seer_common.BlockJson, error)
BlockByNumber returns the block with the given number.
func (*Client) GetLatestBlockNumber ¶
GetLatestBlockNumber returns the latest block number.
func (*Client) ParseBlocksWithTransactions ¶
func (c *Client) ParseBlocksWithTransactions(from, to *big.Int, debug bool, maxRequests int) ([]*ImxZkevmSepoliaBlock, error)
ParseBlocksWithTransactions parses blocks and their transactions into custom data structure. This method showcases how to handle and transform detailed block and transaction data.
func (*Client) ParseEvents ¶
func (*Client) ProcessBlocksToBatch ¶
type ImxZkevmSepoliaBlock ¶
type ImxZkevmSepoliaBlock struct { BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` Difficulty uint64 `protobuf:"varint,2,opt,name=difficulty,proto3" json:"difficulty,omitempty"` ExtraData string `protobuf:"bytes,3,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"` GasLimit uint64 `protobuf:"varint,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasUsed uint64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` BaseFeePerGas string `protobuf:"bytes,6,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty"` // using string to handle big numeric values Hash string `protobuf:"bytes,7,opt,name=hash,proto3" json:"hash,omitempty"` LogsBloom string `protobuf:"bytes,8,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty"` Miner string `protobuf:"bytes,9,opt,name=miner,proto3" json:"miner,omitempty"` Nonce string `protobuf:"bytes,10,opt,name=nonce,proto3" json:"nonce,omitempty"` ParentHash string `protobuf:"bytes,11,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` ReceiptsRoot string `protobuf:"bytes,12,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty"` Sha3Uncles string `protobuf:"bytes,13,opt,name=sha3_uncles,json=sha3Uncles,proto3" json:"sha3_uncles,omitempty"` Size uint64 `protobuf:"varint,14,opt,name=size,proto3" json:"size,omitempty"` StateRoot string `protobuf:"bytes,15,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` Timestamp uint64 `protobuf:"varint,16,opt,name=timestamp,proto3" json:"timestamp,omitempty"` TotalDifficulty string `protobuf:"bytes,17,opt,name=total_difficulty,json=totalDifficulty,proto3" json:"total_difficulty,omitempty"` TransactionsRoot string `protobuf:"bytes,18,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"` IndexedAt uint64 `protobuf:"varint,19,opt,name=indexed_at,json=indexedAt,proto3" json:"indexed_at,omitempty"` // using uint64 to represent timestamp Transactions []*ImxZkevmSepoliaTransaction `protobuf:"bytes,20,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
Represents a single blockchain block
func ToProtoSingleBlock ¶
func ToProtoSingleBlock(obj *seer_common.BlockJson) *ImxZkevmSepoliaBlock
func (*ImxZkevmSepoliaBlock) Descriptor
deprecated
func (*ImxZkevmSepoliaBlock) Descriptor() ([]byte, []int)
Deprecated: Use ImxZkevmSepoliaBlock.ProtoReflect.Descriptor instead.
func (*ImxZkevmSepoliaBlock) GetBaseFeePerGas ¶
func (x *ImxZkevmSepoliaBlock) GetBaseFeePerGas() string
func (*ImxZkevmSepoliaBlock) GetBlockNumber ¶
func (x *ImxZkevmSepoliaBlock) GetBlockNumber() uint64
func (*ImxZkevmSepoliaBlock) GetDifficulty ¶
func (x *ImxZkevmSepoliaBlock) GetDifficulty() uint64
func (*ImxZkevmSepoliaBlock) GetExtraData ¶
func (x *ImxZkevmSepoliaBlock) GetExtraData() string
func (*ImxZkevmSepoliaBlock) GetGasLimit ¶
func (x *ImxZkevmSepoliaBlock) GetGasLimit() uint64
func (*ImxZkevmSepoliaBlock) GetGasUsed ¶
func (x *ImxZkevmSepoliaBlock) GetGasUsed() uint64
func (*ImxZkevmSepoliaBlock) GetHash ¶
func (x *ImxZkevmSepoliaBlock) GetHash() string
func (*ImxZkevmSepoliaBlock) GetIndexedAt ¶
func (x *ImxZkevmSepoliaBlock) GetIndexedAt() uint64
func (*ImxZkevmSepoliaBlock) GetLogsBloom ¶
func (x *ImxZkevmSepoliaBlock) GetLogsBloom() string
func (*ImxZkevmSepoliaBlock) GetMiner ¶
func (x *ImxZkevmSepoliaBlock) GetMiner() string
func (*ImxZkevmSepoliaBlock) GetNonce ¶
func (x *ImxZkevmSepoliaBlock) GetNonce() string
func (*ImxZkevmSepoliaBlock) GetParentHash ¶
func (x *ImxZkevmSepoliaBlock) GetParentHash() string
func (*ImxZkevmSepoliaBlock) GetReceiptsRoot ¶
func (x *ImxZkevmSepoliaBlock) GetReceiptsRoot() string
func (*ImxZkevmSepoliaBlock) GetSha3Uncles ¶
func (x *ImxZkevmSepoliaBlock) GetSha3Uncles() string
func (*ImxZkevmSepoliaBlock) GetSize ¶
func (x *ImxZkevmSepoliaBlock) GetSize() uint64
func (*ImxZkevmSepoliaBlock) GetStateRoot ¶
func (x *ImxZkevmSepoliaBlock) GetStateRoot() string
func (*ImxZkevmSepoliaBlock) GetTimestamp ¶
func (x *ImxZkevmSepoliaBlock) GetTimestamp() uint64
func (*ImxZkevmSepoliaBlock) GetTotalDifficulty ¶
func (x *ImxZkevmSepoliaBlock) GetTotalDifficulty() string
func (*ImxZkevmSepoliaBlock) GetTransactions ¶
func (x *ImxZkevmSepoliaBlock) GetTransactions() []*ImxZkevmSepoliaTransaction
func (*ImxZkevmSepoliaBlock) GetTransactionsRoot ¶
func (x *ImxZkevmSepoliaBlock) GetTransactionsRoot() string
func (*ImxZkevmSepoliaBlock) ProtoMessage ¶
func (*ImxZkevmSepoliaBlock) ProtoMessage()
func (*ImxZkevmSepoliaBlock) ProtoReflect ¶
func (x *ImxZkevmSepoliaBlock) ProtoReflect() protoreflect.Message
func (*ImxZkevmSepoliaBlock) Reset ¶
func (x *ImxZkevmSepoliaBlock) Reset()
func (*ImxZkevmSepoliaBlock) String ¶
func (x *ImxZkevmSepoliaBlock) String() string
type ImxZkevmSepoliaBlocksBatch ¶
type ImxZkevmSepoliaBlocksBatch struct { Blocks []*ImxZkevmSepoliaBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` SeerVersion string `protobuf:"bytes,2,opt,name=seer_version,json=seerVersion,proto3" json:"seer_version,omitempty"` // contains filtered or unexported fields }
func (*ImxZkevmSepoliaBlocksBatch) Descriptor
deprecated
func (*ImxZkevmSepoliaBlocksBatch) Descriptor() ([]byte, []int)
Deprecated: Use ImxZkevmSepoliaBlocksBatch.ProtoReflect.Descriptor instead.
func (*ImxZkevmSepoliaBlocksBatch) GetBlocks ¶
func (x *ImxZkevmSepoliaBlocksBatch) GetBlocks() []*ImxZkevmSepoliaBlock
func (*ImxZkevmSepoliaBlocksBatch) GetSeerVersion ¶
func (x *ImxZkevmSepoliaBlocksBatch) GetSeerVersion() string
func (*ImxZkevmSepoliaBlocksBatch) ProtoMessage ¶
func (*ImxZkevmSepoliaBlocksBatch) ProtoMessage()
func (*ImxZkevmSepoliaBlocksBatch) ProtoReflect ¶
func (x *ImxZkevmSepoliaBlocksBatch) ProtoReflect() protoreflect.Message
func (*ImxZkevmSepoliaBlocksBatch) Reset ¶
func (x *ImxZkevmSepoliaBlocksBatch) Reset()
func (*ImxZkevmSepoliaBlocksBatch) String ¶
func (x *ImxZkevmSepoliaBlocksBatch) String() string
type ImxZkevmSepoliaEventLog ¶
type ImxZkevmSepoliaEventLog struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The address of the contract that generated the log Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // Topics are indexed parameters during log generation Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // The data field from the log BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // The block number where this log was in TransactionHash string `protobuf:"bytes,5,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` // The hash of the transaction that generated this log BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The hash of the block where this log was in Removed bool `protobuf:"varint,7,opt,name=removed,proto3" json:"removed,omitempty"` // True if the log was reverted due to a chain reorganization LogIndex uint64 `protobuf:"varint,8,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // The index of the log in the block TransactionIndex uint64 `protobuf:"varint,9,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` // The index of the transaction in the block // contains filtered or unexported fields }
func ToProtoSingleEventLog ¶
func ToProtoSingleEventLog(obj *seer_common.EventJson) *ImxZkevmSepoliaEventLog
func (*ImxZkevmSepoliaEventLog) Descriptor
deprecated
func (*ImxZkevmSepoliaEventLog) Descriptor() ([]byte, []int)
Deprecated: Use ImxZkevmSepoliaEventLog.ProtoReflect.Descriptor instead.
func (*ImxZkevmSepoliaEventLog) GetAddress ¶
func (x *ImxZkevmSepoliaEventLog) GetAddress() string
func (*ImxZkevmSepoliaEventLog) GetBlockHash ¶
func (x *ImxZkevmSepoliaEventLog) GetBlockHash() string
func (*ImxZkevmSepoliaEventLog) GetBlockNumber ¶
func (x *ImxZkevmSepoliaEventLog) GetBlockNumber() uint64
func (*ImxZkevmSepoliaEventLog) GetData ¶
func (x *ImxZkevmSepoliaEventLog) GetData() string
func (*ImxZkevmSepoliaEventLog) GetLogIndex ¶
func (x *ImxZkevmSepoliaEventLog) GetLogIndex() uint64
func (*ImxZkevmSepoliaEventLog) GetRemoved ¶
func (x *ImxZkevmSepoliaEventLog) GetRemoved() bool
func (*ImxZkevmSepoliaEventLog) GetTopics ¶
func (x *ImxZkevmSepoliaEventLog) GetTopics() []string
func (*ImxZkevmSepoliaEventLog) GetTransactionHash ¶
func (x *ImxZkevmSepoliaEventLog) GetTransactionHash() string
func (*ImxZkevmSepoliaEventLog) GetTransactionIndex ¶
func (x *ImxZkevmSepoliaEventLog) GetTransactionIndex() uint64
func (*ImxZkevmSepoliaEventLog) ProtoMessage ¶
func (*ImxZkevmSepoliaEventLog) ProtoMessage()
func (*ImxZkevmSepoliaEventLog) ProtoReflect ¶
func (x *ImxZkevmSepoliaEventLog) ProtoReflect() protoreflect.Message
func (*ImxZkevmSepoliaEventLog) Reset ¶
func (x *ImxZkevmSepoliaEventLog) Reset()
func (*ImxZkevmSepoliaEventLog) String ¶
func (x *ImxZkevmSepoliaEventLog) String() string
type ImxZkevmSepoliaTransaction ¶
type ImxZkevmSepoliaTransaction struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` BlockNumber uint64 `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` FromAddress string `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` ToAddress string `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` Gas string `protobuf:"bytes,5,opt,name=gas,proto3" json:"gas,omitempty"` // using string to handle big numeric values GasPrice string `protobuf:"bytes,6,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` MaxFeePerGas string `protobuf:"bytes,7,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"` MaxPriorityFeePerGas string `` /* 127-byte string literal not displayed */ Input string `protobuf:"bytes,9,opt,name=input,proto3" json:"input,omitempty"` // could be a long text Nonce string `protobuf:"bytes,10,opt,name=nonce,proto3" json:"nonce,omitempty"` TransactionIndex uint64 `protobuf:"varint,11,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` TransactionType uint64 `protobuf:"varint,12,opt,name=transaction_type,json=transactionType,proto3" json:"transaction_type,omitempty"` Value string `protobuf:"bytes,13,opt,name=value,proto3" json:"value,omitempty"` // using string to handle big numeric values IndexedAt uint64 `protobuf:"varint,14,opt,name=indexed_at,json=indexedAt,proto3" json:"indexed_at,omitempty"` // using uint64 to represent timestamp BlockTimestamp uint64 `protobuf:"varint,15,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"` // using uint64 to represent timestam BlockHash string `protobuf:"bytes,16,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Added field for block hash ChainId string `protobuf:"bytes,17,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // Used as a field to match potential EIP-1559 transaction types V string `protobuf:"bytes,18,opt,name=v,proto3" json:"v,omitempty"` // Used as a field to match potential EIP-1559 transaction types R string `protobuf:"bytes,19,opt,name=r,proto3" json:"r,omitempty"` // Used as a field to match potential EIP-1559 transaction types S string `protobuf:"bytes,20,opt,name=s,proto3" json:"s,omitempty"` // Used as a field to match potential EIP-1559 transaction types AccessList []*ImxZkevmSepoliaTransactionAccessList `protobuf:"bytes,21,rep,name=access_list,json=accessList,proto3" json:"access_list,omitempty"` YParity string `protobuf:"bytes,22,opt,name=y_parity,json=yParity,proto3" json:"y_parity,omitempty"` // Used as a field to match potential EIP-1559 transaction types Logs []*ImxZkevmSepoliaEventLog `protobuf:"bytes,23,rep,name=logs,proto3" json:"logs,omitempty"` // The logs generated by this transaction // contains filtered or unexported fields }
Represents a single transaction within a block
func ToProtoSingleTransaction ¶
func ToProtoSingleTransaction(obj *seer_common.TransactionJson) *ImxZkevmSepoliaTransaction
func (*ImxZkevmSepoliaTransaction) Descriptor
deprecated
func (*ImxZkevmSepoliaTransaction) Descriptor() ([]byte, []int)
Deprecated: Use ImxZkevmSepoliaTransaction.ProtoReflect.Descriptor instead.
func (*ImxZkevmSepoliaTransaction) GetAccessList ¶
func (x *ImxZkevmSepoliaTransaction) GetAccessList() []*ImxZkevmSepoliaTransactionAccessList
func (*ImxZkevmSepoliaTransaction) GetBlockHash ¶
func (x *ImxZkevmSepoliaTransaction) GetBlockHash() string
func (*ImxZkevmSepoliaTransaction) GetBlockNumber ¶
func (x *ImxZkevmSepoliaTransaction) GetBlockNumber() uint64
func (*ImxZkevmSepoliaTransaction) GetBlockTimestamp ¶
func (x *ImxZkevmSepoliaTransaction) GetBlockTimestamp() uint64
func (*ImxZkevmSepoliaTransaction) GetChainId ¶
func (x *ImxZkevmSepoliaTransaction) GetChainId() string
func (*ImxZkevmSepoliaTransaction) GetFromAddress ¶
func (x *ImxZkevmSepoliaTransaction) GetFromAddress() string
func (*ImxZkevmSepoliaTransaction) GetGas ¶
func (x *ImxZkevmSepoliaTransaction) GetGas() string
func (*ImxZkevmSepoliaTransaction) GetGasPrice ¶
func (x *ImxZkevmSepoliaTransaction) GetGasPrice() string
func (*ImxZkevmSepoliaTransaction) GetHash ¶
func (x *ImxZkevmSepoliaTransaction) GetHash() string
func (*ImxZkevmSepoliaTransaction) GetIndexedAt ¶
func (x *ImxZkevmSepoliaTransaction) GetIndexedAt() uint64
func (*ImxZkevmSepoliaTransaction) GetInput ¶
func (x *ImxZkevmSepoliaTransaction) GetInput() string
func (*ImxZkevmSepoliaTransaction) GetLogs ¶
func (x *ImxZkevmSepoliaTransaction) GetLogs() []*ImxZkevmSepoliaEventLog
func (*ImxZkevmSepoliaTransaction) GetMaxFeePerGas ¶
func (x *ImxZkevmSepoliaTransaction) GetMaxFeePerGas() string
func (*ImxZkevmSepoliaTransaction) GetMaxPriorityFeePerGas ¶
func (x *ImxZkevmSepoliaTransaction) GetMaxPriorityFeePerGas() string
func (*ImxZkevmSepoliaTransaction) GetNonce ¶
func (x *ImxZkevmSepoliaTransaction) GetNonce() string
func (*ImxZkevmSepoliaTransaction) GetR ¶
func (x *ImxZkevmSepoliaTransaction) GetR() string
func (*ImxZkevmSepoliaTransaction) GetS ¶
func (x *ImxZkevmSepoliaTransaction) GetS() string
func (*ImxZkevmSepoliaTransaction) GetToAddress ¶
func (x *ImxZkevmSepoliaTransaction) GetToAddress() string
func (*ImxZkevmSepoliaTransaction) GetTransactionIndex ¶
func (x *ImxZkevmSepoliaTransaction) GetTransactionIndex() uint64
func (*ImxZkevmSepoliaTransaction) GetTransactionType ¶
func (x *ImxZkevmSepoliaTransaction) GetTransactionType() uint64
func (*ImxZkevmSepoliaTransaction) GetV ¶
func (x *ImxZkevmSepoliaTransaction) GetV() string
func (*ImxZkevmSepoliaTransaction) GetValue ¶
func (x *ImxZkevmSepoliaTransaction) GetValue() string
func (*ImxZkevmSepoliaTransaction) GetYParity ¶
func (x *ImxZkevmSepoliaTransaction) GetYParity() string
func (*ImxZkevmSepoliaTransaction) ProtoMessage ¶
func (*ImxZkevmSepoliaTransaction) ProtoMessage()
func (*ImxZkevmSepoliaTransaction) ProtoReflect ¶
func (x *ImxZkevmSepoliaTransaction) ProtoReflect() protoreflect.Message
func (*ImxZkevmSepoliaTransaction) Reset ¶
func (x *ImxZkevmSepoliaTransaction) Reset()
func (*ImxZkevmSepoliaTransaction) String ¶
func (x *ImxZkevmSepoliaTransaction) String() string
type ImxZkevmSepoliaTransactionAccessList ¶
type ImxZkevmSepoliaTransactionAccessList struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storage_keys,omitempty"` // contains filtered or unexported fields }
func (*ImxZkevmSepoliaTransactionAccessList) Descriptor
deprecated
func (*ImxZkevmSepoliaTransactionAccessList) Descriptor() ([]byte, []int)
Deprecated: Use ImxZkevmSepoliaTransactionAccessList.ProtoReflect.Descriptor instead.
func (*ImxZkevmSepoliaTransactionAccessList) GetAddress ¶
func (x *ImxZkevmSepoliaTransactionAccessList) GetAddress() string
func (*ImxZkevmSepoliaTransactionAccessList) GetStorageKeys ¶
func (x *ImxZkevmSepoliaTransactionAccessList) GetStorageKeys() []string
func (*ImxZkevmSepoliaTransactionAccessList) ProtoMessage ¶
func (*ImxZkevmSepoliaTransactionAccessList) ProtoMessage()
func (*ImxZkevmSepoliaTransactionAccessList) ProtoReflect ¶
func (x *ImxZkevmSepoliaTransactionAccessList) ProtoReflect() protoreflect.Message
func (*ImxZkevmSepoliaTransactionAccessList) Reset ¶
func (x *ImxZkevmSepoliaTransactionAccessList) Reset()
func (*ImxZkevmSepoliaTransactionAccessList) String ¶
func (x *ImxZkevmSepoliaTransactionAccessList) String() string