Documentation ¶
Index ¶
- Variables
- func ToEntireBlocksBatchFromLogProto(obj *XaiSepoliaBlocksBatch) *seer_common.BlocksBatchJson
- func ToEvenFromLogProto(obj *XaiSepoliaEventLog) *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) ([]*XaiSepoliaBlock, 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) ([]*XaiSepoliaEventLog, error)
- func (c *Client) DecodeProtoTransactions(data []string) ([]*XaiSepoliaTransaction, 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) ([]*XaiSepoliaBlock, error)
- func (c *Client) ParseEvents(from, to *big.Int, blocksCache map[uint64]indexer.BlockCache, debug bool) ([]*XaiSepoliaEventLog, 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 XaiSepoliaBlock
- func (*XaiSepoliaBlock) Descriptor() ([]byte, []int)deprecated
- func (x *XaiSepoliaBlock) GetBaseFeePerGas() string
- func (x *XaiSepoliaBlock) GetBlockNumber() uint64
- func (x *XaiSepoliaBlock) GetDifficulty() uint64
- func (x *XaiSepoliaBlock) GetExtraData() string
- func (x *XaiSepoliaBlock) GetGasLimit() uint64
- func (x *XaiSepoliaBlock) GetGasUsed() uint64
- func (x *XaiSepoliaBlock) GetHash() string
- func (x *XaiSepoliaBlock) GetIndexedAt() uint64
- func (x *XaiSepoliaBlock) GetL1BlockNumber() uint64
- func (x *XaiSepoliaBlock) GetLogsBloom() string
- func (x *XaiSepoliaBlock) GetMiner() string
- func (x *XaiSepoliaBlock) GetMixHash() string
- func (x *XaiSepoliaBlock) GetNonce() string
- func (x *XaiSepoliaBlock) GetParentHash() string
- func (x *XaiSepoliaBlock) GetReceiptsRoot() string
- func (x *XaiSepoliaBlock) GetSendCount() string
- func (x *XaiSepoliaBlock) GetSendRoot() string
- func (x *XaiSepoliaBlock) GetSha3Uncles() string
- func (x *XaiSepoliaBlock) GetSize() uint64
- func (x *XaiSepoliaBlock) GetStateRoot() string
- func (x *XaiSepoliaBlock) GetTimestamp() uint64
- func (x *XaiSepoliaBlock) GetTotalDifficulty() string
- func (x *XaiSepoliaBlock) GetTransactions() []*XaiSepoliaTransaction
- func (x *XaiSepoliaBlock) GetTransactionsRoot() string
- func (*XaiSepoliaBlock) ProtoMessage()
- func (x *XaiSepoliaBlock) ProtoReflect() protoreflect.Message
- func (x *XaiSepoliaBlock) Reset()
- func (x *XaiSepoliaBlock) String() string
- type XaiSepoliaBlocksBatch
- func (*XaiSepoliaBlocksBatch) Descriptor() ([]byte, []int)deprecated
- func (x *XaiSepoliaBlocksBatch) GetBlocks() []*XaiSepoliaBlock
- func (x *XaiSepoliaBlocksBatch) GetSeerVersion() string
- func (*XaiSepoliaBlocksBatch) ProtoMessage()
- func (x *XaiSepoliaBlocksBatch) ProtoReflect() protoreflect.Message
- func (x *XaiSepoliaBlocksBatch) Reset()
- func (x *XaiSepoliaBlocksBatch) String() string
- type XaiSepoliaEventLog
- func (*XaiSepoliaEventLog) Descriptor() ([]byte, []int)deprecated
- func (x *XaiSepoliaEventLog) GetAddress() string
- func (x *XaiSepoliaEventLog) GetBlockHash() string
- func (x *XaiSepoliaEventLog) GetBlockNumber() uint64
- func (x *XaiSepoliaEventLog) GetData() string
- func (x *XaiSepoliaEventLog) GetLogIndex() uint64
- func (x *XaiSepoliaEventLog) GetRemoved() bool
- func (x *XaiSepoliaEventLog) GetTopics() []string
- func (x *XaiSepoliaEventLog) GetTransactionHash() string
- func (x *XaiSepoliaEventLog) GetTransactionIndex() uint64
- func (*XaiSepoliaEventLog) ProtoMessage()
- func (x *XaiSepoliaEventLog) ProtoReflect() protoreflect.Message
- func (x *XaiSepoliaEventLog) Reset()
- func (x *XaiSepoliaEventLog) String() string
- type XaiSepoliaTransaction
- func (*XaiSepoliaTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *XaiSepoliaTransaction) GetAccessList() []*XaiSepoliaTransactionAccessList
- func (x *XaiSepoliaTransaction) GetBlockHash() string
- func (x *XaiSepoliaTransaction) GetBlockNumber() uint64
- func (x *XaiSepoliaTransaction) GetBlockTimestamp() uint64
- func (x *XaiSepoliaTransaction) GetChainId() string
- func (x *XaiSepoliaTransaction) GetFromAddress() string
- func (x *XaiSepoliaTransaction) GetGas() string
- func (x *XaiSepoliaTransaction) GetGasPrice() string
- func (x *XaiSepoliaTransaction) GetHash() string
- func (x *XaiSepoliaTransaction) GetIndexedAt() uint64
- func (x *XaiSepoliaTransaction) GetInput() string
- func (x *XaiSepoliaTransaction) GetLogs() []*XaiSepoliaEventLog
- func (x *XaiSepoliaTransaction) GetMaxFeePerGas() string
- func (x *XaiSepoliaTransaction) GetMaxPriorityFeePerGas() string
- func (x *XaiSepoliaTransaction) GetNonce() string
- func (x *XaiSepoliaTransaction) GetR() string
- func (x *XaiSepoliaTransaction) GetS() string
- func (x *XaiSepoliaTransaction) GetToAddress() string
- func (x *XaiSepoliaTransaction) GetTransactionIndex() uint64
- func (x *XaiSepoliaTransaction) GetTransactionType() uint64
- func (x *XaiSepoliaTransaction) GetV() string
- func (x *XaiSepoliaTransaction) GetValue() string
- func (x *XaiSepoliaTransaction) GetYParity() string
- func (*XaiSepoliaTransaction) ProtoMessage()
- func (x *XaiSepoliaTransaction) ProtoReflect() protoreflect.Message
- func (x *XaiSepoliaTransaction) Reset()
- func (x *XaiSepoliaTransaction) String() string
- type XaiSepoliaTransactionAccessList
- func (*XaiSepoliaTransactionAccessList) Descriptor() ([]byte, []int)deprecated
- func (x *XaiSepoliaTransactionAccessList) GetAddress() string
- func (x *XaiSepoliaTransactionAccessList) GetStorageKeys() []string
- func (*XaiSepoliaTransactionAccessList) ProtoMessage()
- func (x *XaiSepoliaTransactionAccessList) ProtoReflect() protoreflect.Message
- func (x *XaiSepoliaTransactionAccessList) Reset()
- func (x *XaiSepoliaTransactionAccessList) String() string
Constants ¶
This section is empty.
Variables ¶
var File_blockchain_xai_sepolia_xai_sepolia_index_types_proto protoreflect.FileDescriptor
Functions ¶
func ToEntireBlocksBatchFromLogProto ¶
func ToEntireBlocksBatchFromLogProto(obj *XaiSepoliaBlocksBatch) *seer_common.BlocksBatchJson
func ToEvenFromLogProto ¶
func ToEvenFromLogProto(obj *XaiSepoliaEventLog) *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) ([]*XaiSepoliaBlock, 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) ([]*XaiSepoliaEventLog, error)
func (*Client) DecodeProtoTransactions ¶
func (c *Client) DecodeProtoTransactions(data []string) ([]*XaiSepoliaTransaction, 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, withTransactions bool) (*seer_common.BlockJson, error)
GetBlockByNumber returns the block with the given number.
func (*Client) GetCode ¶
func (c *Client) GetCode(ctx context.Context, address common.Address, blockNumber uint64) ([]byte, error)
Get bytecode of a contract by address.
func (*Client) GetEventsLabels ¶
func (c *Client) GetEventsLabels(startBlock uint64, endBlock uint64, abiMap map[string]map[string]*indexer.AbiEntry, blocksCache map[uint64]seer_common.BlockWithTransactions) ([]indexer.EventLabel, error)
func (*Client) GetLatestBlockNumber ¶
GetLatestBlockNumber returns the latest block number.
func (*Client) GetTransactionByHash ¶
func (c *Client) GetTransactionByHash(ctx context.Context, hash string) (*seer_common.TransactionJson, error)
func (*Client) GetTransactionsLabels ¶
func (c *Client) GetTransactionsLabels(startBlock uint64, endBlock uint64, abiMap map[string]map[string]*indexer.AbiEntry, threads int) ([]indexer.TransactionLabel, map[uint64]seer_common.BlockWithTransactions, error)
func (*Client) ParseBlocksWithTransactions ¶
func (c *Client) ParseBlocksWithTransactions(from, to *big.Int, debug bool, maxRequests int) ([]*XaiSepoliaBlock, 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 (c *Client) ParseEvents(from, to *big.Int, blocksCache map[uint64]indexer.BlockCache, debug bool) ([]*XaiSepoliaEventLog, error)
func (*Client) ProcessBlocksToBatch ¶
type XaiSepoliaBlock ¶
type XaiSepoliaBlock struct { BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // The block number Difficulty uint64 `protobuf:"varint,2,opt,name=difficulty,proto3" json:"difficulty,omitempty"` // The difficulty of this block ExtraData string `protobuf:"bytes,3,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"` // Extra data included in the block GasLimit uint64 `protobuf:"varint,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // The gas limit for this block GasUsed uint64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // The total gas used by all transactions in this block BaseFeePerGas string `protobuf:"bytes,6,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty"` // The base fee per gas for this block Hash string `protobuf:"bytes,7,opt,name=hash,proto3" json:"hash,omitempty"` // The hash of this block LogsBloom string `protobuf:"bytes,8,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty"` // The logs bloom filter for this block Miner string `protobuf:"bytes,9,opt,name=miner,proto3" json:"miner,omitempty"` // The address of the miner who mined this block Nonce string `protobuf:"bytes,10,opt,name=nonce,proto3" json:"nonce,omitempty"` // The nonce of this block ParentHash string `protobuf:"bytes,11,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` // The hash of the parent block ReceiptsRoot string `protobuf:"bytes,12,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty"` // The root hash of the receipts trie Sha3Uncles string `protobuf:"bytes,13,opt,name=sha3_uncles,json=sha3Uncles,proto3" json:"sha3_uncles,omitempty"` // The SHA3 hash of the uncles data in this block Size uint64 `protobuf:"varint,14,opt,name=size,proto3" json:"size,omitempty"` // The size of this block StateRoot string `protobuf:"bytes,15,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // The root hash of the state trie 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"` // The total difficulty of the chain until this block TransactionsRoot string `protobuf:"bytes,18,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"` // The root hash of the transactions trie IndexedAt uint64 `protobuf:"varint,19,opt,name=indexed_at,json=indexedAt,proto3" json:"indexed_at,omitempty"` // When the block was indexed by crawler Transactions []*XaiSepoliaTransaction `protobuf:"bytes,20,rep,name=transactions,proto3" json:"transactions,omitempty"` // The transactions included in this block MixHash string `protobuf:"bytes,21,opt,name=mix_hash,json=mixHash,proto3" json:"mix_hash,omitempty"` // The timestamp of this block SendCount string `protobuf:"bytes,22,opt,name=send_count,json=sendCount,proto3" json:"send_count,omitempty"` // The number of sends in this block SendRoot string `protobuf:"bytes,23,opt,name=send_root,json=sendRoot,proto3" json:"send_root,omitempty"` // The root hash of the sends trie L1BlockNumber uint64 `protobuf:"varint,24,opt,name=l1_block_number,json=l1BlockNumber,proto3" json:"l1_block_number,omitempty"` // The block number of the corresponding L1 block // contains filtered or unexported fields }
Represents a block in the blockchain
func ToProtoSingleBlock ¶
func ToProtoSingleBlock(obj *seer_common.BlockJson) *XaiSepoliaBlock
func (*XaiSepoliaBlock) Descriptor
deprecated
func (*XaiSepoliaBlock) Descriptor() ([]byte, []int)
Deprecated: Use XaiSepoliaBlock.ProtoReflect.Descriptor instead.
func (*XaiSepoliaBlock) GetBaseFeePerGas ¶
func (x *XaiSepoliaBlock) GetBaseFeePerGas() string
func (*XaiSepoliaBlock) GetBlockNumber ¶
func (x *XaiSepoliaBlock) GetBlockNumber() uint64
func (*XaiSepoliaBlock) GetDifficulty ¶
func (x *XaiSepoliaBlock) GetDifficulty() uint64
func (*XaiSepoliaBlock) GetExtraData ¶
func (x *XaiSepoliaBlock) GetExtraData() string
func (*XaiSepoliaBlock) GetGasLimit ¶
func (x *XaiSepoliaBlock) GetGasLimit() uint64
func (*XaiSepoliaBlock) GetGasUsed ¶
func (x *XaiSepoliaBlock) GetGasUsed() uint64
func (*XaiSepoliaBlock) GetHash ¶
func (x *XaiSepoliaBlock) GetHash() string
func (*XaiSepoliaBlock) GetIndexedAt ¶
func (x *XaiSepoliaBlock) GetIndexedAt() uint64
func (*XaiSepoliaBlock) GetL1BlockNumber ¶
func (x *XaiSepoliaBlock) GetL1BlockNumber() uint64
func (*XaiSepoliaBlock) GetLogsBloom ¶
func (x *XaiSepoliaBlock) GetLogsBloom() string
func (*XaiSepoliaBlock) GetMiner ¶
func (x *XaiSepoliaBlock) GetMiner() string
func (*XaiSepoliaBlock) GetMixHash ¶
func (x *XaiSepoliaBlock) GetMixHash() string
func (*XaiSepoliaBlock) GetNonce ¶
func (x *XaiSepoliaBlock) GetNonce() string
func (*XaiSepoliaBlock) GetParentHash ¶
func (x *XaiSepoliaBlock) GetParentHash() string
func (*XaiSepoliaBlock) GetReceiptsRoot ¶
func (x *XaiSepoliaBlock) GetReceiptsRoot() string
func (*XaiSepoliaBlock) GetSendCount ¶
func (x *XaiSepoliaBlock) GetSendCount() string
func (*XaiSepoliaBlock) GetSendRoot ¶
func (x *XaiSepoliaBlock) GetSendRoot() string
func (*XaiSepoliaBlock) GetSha3Uncles ¶
func (x *XaiSepoliaBlock) GetSha3Uncles() string
func (*XaiSepoliaBlock) GetSize ¶
func (x *XaiSepoliaBlock) GetSize() uint64
func (*XaiSepoliaBlock) GetStateRoot ¶
func (x *XaiSepoliaBlock) GetStateRoot() string
func (*XaiSepoliaBlock) GetTimestamp ¶
func (x *XaiSepoliaBlock) GetTimestamp() uint64
func (*XaiSepoliaBlock) GetTotalDifficulty ¶
func (x *XaiSepoliaBlock) GetTotalDifficulty() string
func (*XaiSepoliaBlock) GetTransactions ¶
func (x *XaiSepoliaBlock) GetTransactions() []*XaiSepoliaTransaction
func (*XaiSepoliaBlock) GetTransactionsRoot ¶
func (x *XaiSepoliaBlock) GetTransactionsRoot() string
func (*XaiSepoliaBlock) ProtoMessage ¶
func (*XaiSepoliaBlock) ProtoMessage()
func (*XaiSepoliaBlock) ProtoReflect ¶
func (x *XaiSepoliaBlock) ProtoReflect() protoreflect.Message
func (*XaiSepoliaBlock) Reset ¶
func (x *XaiSepoliaBlock) Reset()
func (*XaiSepoliaBlock) String ¶
func (x *XaiSepoliaBlock) String() string
type XaiSepoliaBlocksBatch ¶
type XaiSepoliaBlocksBatch struct { Blocks []*XaiSepoliaBlock `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 (*XaiSepoliaBlocksBatch) Descriptor
deprecated
func (*XaiSepoliaBlocksBatch) Descriptor() ([]byte, []int)
Deprecated: Use XaiSepoliaBlocksBatch.ProtoReflect.Descriptor instead.
func (*XaiSepoliaBlocksBatch) GetBlocks ¶
func (x *XaiSepoliaBlocksBatch) GetBlocks() []*XaiSepoliaBlock
func (*XaiSepoliaBlocksBatch) GetSeerVersion ¶
func (x *XaiSepoliaBlocksBatch) GetSeerVersion() string
func (*XaiSepoliaBlocksBatch) ProtoMessage ¶
func (*XaiSepoliaBlocksBatch) ProtoMessage()
func (*XaiSepoliaBlocksBatch) ProtoReflect ¶
func (x *XaiSepoliaBlocksBatch) ProtoReflect() protoreflect.Message
func (*XaiSepoliaBlocksBatch) Reset ¶
func (x *XaiSepoliaBlocksBatch) Reset()
func (*XaiSepoliaBlocksBatch) String ¶
func (x *XaiSepoliaBlocksBatch) String() string
type XaiSepoliaEventLog ¶
type XaiSepoliaEventLog 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) *XaiSepoliaEventLog
func (*XaiSepoliaEventLog) Descriptor
deprecated
func (*XaiSepoliaEventLog) Descriptor() ([]byte, []int)
Deprecated: Use XaiSepoliaEventLog.ProtoReflect.Descriptor instead.
func (*XaiSepoliaEventLog) GetAddress ¶
func (x *XaiSepoliaEventLog) GetAddress() string
func (*XaiSepoliaEventLog) GetBlockHash ¶
func (x *XaiSepoliaEventLog) GetBlockHash() string
func (*XaiSepoliaEventLog) GetBlockNumber ¶
func (x *XaiSepoliaEventLog) GetBlockNumber() uint64
func (*XaiSepoliaEventLog) GetData ¶
func (x *XaiSepoliaEventLog) GetData() string
func (*XaiSepoliaEventLog) GetLogIndex ¶
func (x *XaiSepoliaEventLog) GetLogIndex() uint64
func (*XaiSepoliaEventLog) GetRemoved ¶
func (x *XaiSepoliaEventLog) GetRemoved() bool
func (*XaiSepoliaEventLog) GetTopics ¶
func (x *XaiSepoliaEventLog) GetTopics() []string
func (*XaiSepoliaEventLog) GetTransactionHash ¶
func (x *XaiSepoliaEventLog) GetTransactionHash() string
func (*XaiSepoliaEventLog) GetTransactionIndex ¶
func (x *XaiSepoliaEventLog) GetTransactionIndex() uint64
func (*XaiSepoliaEventLog) ProtoMessage ¶
func (*XaiSepoliaEventLog) ProtoMessage()
func (*XaiSepoliaEventLog) ProtoReflect ¶
func (x *XaiSepoliaEventLog) ProtoReflect() protoreflect.Message
func (*XaiSepoliaEventLog) Reset ¶
func (x *XaiSepoliaEventLog) Reset()
func (*XaiSepoliaEventLog) String ¶
func (x *XaiSepoliaEventLog) String() string
type XaiSepoliaTransaction ¶
type XaiSepoliaTransaction struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The hash of the transaction BlockNumber uint64 `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // The block number the transaction is in FromAddress string `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // The address the transaction is sent from ToAddress string `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` // The address the transaction is sent to Gas string `protobuf:"bytes,5,opt,name=gas,proto3" json:"gas,omitempty"` // The gas limit of the transaction GasPrice string `protobuf:"bytes,6,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // The gas price of the transaction MaxFeePerGas string `protobuf:"bytes,7,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"` // Used as a field to match potential EIP-1559 transaction types MaxPriorityFeePerGas string `` // Used as a field to match potential EIP-1559 transaction types /* 127-byte string literal not displayed */ Input string `protobuf:"bytes,9,opt,name=input,proto3" json:"input,omitempty"` // The input data of the transaction Nonce string `protobuf:"bytes,10,opt,name=nonce,proto3" json:"nonce,omitempty"` // The nonce of the transaction TransactionIndex uint64 `protobuf:"varint,11,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` // The index of the transaction in the block TransactionType uint64 `protobuf:"varint,12,opt,name=transaction_type,json=transactionType,proto3" json:"transaction_type,omitempty"` // Field to match potential EIP-1559 transaction types Value string `protobuf:"bytes,13,opt,name=value,proto3" json:"value,omitempty"` // The value of the transaction IndexedAt uint64 `protobuf:"varint,14,opt,name=indexed_at,json=indexedAt,proto3" json:"indexed_at,omitempty"` // When the transaction was indexed by crawler BlockTimestamp uint64 `protobuf:"varint,15,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"` // The timestamp of this block BlockHash string `protobuf:"bytes,16,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The hash of the block the transaction is in 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 []*XaiSepoliaTransactionAccessList `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 []*XaiSepoliaEventLog `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) *XaiSepoliaTransaction
func (*XaiSepoliaTransaction) Descriptor
deprecated
func (*XaiSepoliaTransaction) Descriptor() ([]byte, []int)
Deprecated: Use XaiSepoliaTransaction.ProtoReflect.Descriptor instead.
func (*XaiSepoliaTransaction) GetAccessList ¶
func (x *XaiSepoliaTransaction) GetAccessList() []*XaiSepoliaTransactionAccessList
func (*XaiSepoliaTransaction) GetBlockHash ¶
func (x *XaiSepoliaTransaction) GetBlockHash() string
func (*XaiSepoliaTransaction) GetBlockNumber ¶
func (x *XaiSepoliaTransaction) GetBlockNumber() uint64
func (*XaiSepoliaTransaction) GetBlockTimestamp ¶
func (x *XaiSepoliaTransaction) GetBlockTimestamp() uint64
func (*XaiSepoliaTransaction) GetChainId ¶
func (x *XaiSepoliaTransaction) GetChainId() string
func (*XaiSepoliaTransaction) GetFromAddress ¶
func (x *XaiSepoliaTransaction) GetFromAddress() string
func (*XaiSepoliaTransaction) GetGas ¶
func (x *XaiSepoliaTransaction) GetGas() string
func (*XaiSepoliaTransaction) GetGasPrice ¶
func (x *XaiSepoliaTransaction) GetGasPrice() string
func (*XaiSepoliaTransaction) GetHash ¶
func (x *XaiSepoliaTransaction) GetHash() string
func (*XaiSepoliaTransaction) GetIndexedAt ¶
func (x *XaiSepoliaTransaction) GetIndexedAt() uint64
func (*XaiSepoliaTransaction) GetInput ¶
func (x *XaiSepoliaTransaction) GetInput() string
func (*XaiSepoliaTransaction) GetLogs ¶
func (x *XaiSepoliaTransaction) GetLogs() []*XaiSepoliaEventLog
func (*XaiSepoliaTransaction) GetMaxFeePerGas ¶
func (x *XaiSepoliaTransaction) GetMaxFeePerGas() string
func (*XaiSepoliaTransaction) GetMaxPriorityFeePerGas ¶
func (x *XaiSepoliaTransaction) GetMaxPriorityFeePerGas() string
func (*XaiSepoliaTransaction) GetNonce ¶
func (x *XaiSepoliaTransaction) GetNonce() string
func (*XaiSepoliaTransaction) GetR ¶
func (x *XaiSepoliaTransaction) GetR() string
func (*XaiSepoliaTransaction) GetS ¶
func (x *XaiSepoliaTransaction) GetS() string
func (*XaiSepoliaTransaction) GetToAddress ¶
func (x *XaiSepoliaTransaction) GetToAddress() string
func (*XaiSepoliaTransaction) GetTransactionIndex ¶
func (x *XaiSepoliaTransaction) GetTransactionIndex() uint64
func (*XaiSepoliaTransaction) GetTransactionType ¶
func (x *XaiSepoliaTransaction) GetTransactionType() uint64
func (*XaiSepoliaTransaction) GetV ¶
func (x *XaiSepoliaTransaction) GetV() string
func (*XaiSepoliaTransaction) GetValue ¶
func (x *XaiSepoliaTransaction) GetValue() string
func (*XaiSepoliaTransaction) GetYParity ¶
func (x *XaiSepoliaTransaction) GetYParity() string
func (*XaiSepoliaTransaction) ProtoMessage ¶
func (*XaiSepoliaTransaction) ProtoMessage()
func (*XaiSepoliaTransaction) ProtoReflect ¶
func (x *XaiSepoliaTransaction) ProtoReflect() protoreflect.Message
func (*XaiSepoliaTransaction) Reset ¶
func (x *XaiSepoliaTransaction) Reset()
func (*XaiSepoliaTransaction) String ¶
func (x *XaiSepoliaTransaction) String() string
type XaiSepoliaTransactionAccessList ¶
type XaiSepoliaTransactionAccessList 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 (*XaiSepoliaTransactionAccessList) Descriptor
deprecated
func (*XaiSepoliaTransactionAccessList) Descriptor() ([]byte, []int)
Deprecated: Use XaiSepoliaTransactionAccessList.ProtoReflect.Descriptor instead.
func (*XaiSepoliaTransactionAccessList) GetAddress ¶
func (x *XaiSepoliaTransactionAccessList) GetAddress() string
func (*XaiSepoliaTransactionAccessList) GetStorageKeys ¶
func (x *XaiSepoliaTransactionAccessList) GetStorageKeys() []string
func (*XaiSepoliaTransactionAccessList) ProtoMessage ¶
func (*XaiSepoliaTransactionAccessList) ProtoMessage()
func (*XaiSepoliaTransactionAccessList) ProtoReflect ¶
func (x *XaiSepoliaTransactionAccessList) ProtoReflect() protoreflect.Message
func (*XaiSepoliaTransactionAccessList) Reset ¶
func (x *XaiSepoliaTransactionAccessList) Reset()
func (*XaiSepoliaTransactionAccessList) String ¶
func (x *XaiSepoliaTransactionAccessList) String() string