Documentation ¶
Index ¶
- Variables
- func ToEntireBlocksBatchFromLogProto(obj *Game7TestnetBlocksBatch) *seer_common.BlocksBatchJson
- func ToEvenFromLogProto(obj *Game7TestnetEventLog) *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) ([]*Game7TestnetBlock, 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) ([]*Game7TestnetEventLog, error)
- func (c *Client) DecodeProtoTransactions(data []string) ([]*Game7TestnetTransaction, 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) ([]*Game7TestnetBlock, error)
- func (c *Client) ParseEvents(from, to *big.Int, blocksCache map[uint64]indexer.BlockCache, debug bool) ([]*Game7TestnetEventLog, 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 Game7TestnetBlock
- func (*Game7TestnetBlock) Descriptor() ([]byte, []int)deprecated
- func (x *Game7TestnetBlock) GetBaseFeePerGas() string
- func (x *Game7TestnetBlock) GetBlockNumber() uint64
- func (x *Game7TestnetBlock) GetDifficulty() uint64
- func (x *Game7TestnetBlock) GetExtraData() string
- func (x *Game7TestnetBlock) GetGasLimit() uint64
- func (x *Game7TestnetBlock) GetGasUsed() uint64
- func (x *Game7TestnetBlock) GetHash() string
- func (x *Game7TestnetBlock) GetIndexedAt() uint64
- func (x *Game7TestnetBlock) GetL1BlockNumber() uint64
- func (x *Game7TestnetBlock) GetLogsBloom() string
- func (x *Game7TestnetBlock) GetMiner() string
- func (x *Game7TestnetBlock) GetMixHash() string
- func (x *Game7TestnetBlock) GetNonce() string
- func (x *Game7TestnetBlock) GetParentHash() string
- func (x *Game7TestnetBlock) GetReceiptsRoot() string
- func (x *Game7TestnetBlock) GetSendCount() string
- func (x *Game7TestnetBlock) GetSendRoot() string
- func (x *Game7TestnetBlock) GetSha3Uncles() string
- func (x *Game7TestnetBlock) GetSize() uint64
- func (x *Game7TestnetBlock) GetStateRoot() string
- func (x *Game7TestnetBlock) GetTimestamp() uint64
- func (x *Game7TestnetBlock) GetTotalDifficulty() string
- func (x *Game7TestnetBlock) GetTransactions() []*Game7TestnetTransaction
- func (x *Game7TestnetBlock) GetTransactionsRoot() string
- func (*Game7TestnetBlock) ProtoMessage()
- func (x *Game7TestnetBlock) ProtoReflect() protoreflect.Message
- func (x *Game7TestnetBlock) Reset()
- func (x *Game7TestnetBlock) String() string
- type Game7TestnetBlocksBatch
- func (*Game7TestnetBlocksBatch) Descriptor() ([]byte, []int)deprecated
- func (x *Game7TestnetBlocksBatch) GetBlocks() []*Game7TestnetBlock
- func (x *Game7TestnetBlocksBatch) GetSeerVersion() string
- func (*Game7TestnetBlocksBatch) ProtoMessage()
- func (x *Game7TestnetBlocksBatch) ProtoReflect() protoreflect.Message
- func (x *Game7TestnetBlocksBatch) Reset()
- func (x *Game7TestnetBlocksBatch) String() string
- type Game7TestnetEventLog
- func (*Game7TestnetEventLog) Descriptor() ([]byte, []int)deprecated
- func (x *Game7TestnetEventLog) GetAddress() string
- func (x *Game7TestnetEventLog) GetBlockHash() string
- func (x *Game7TestnetEventLog) GetBlockNumber() uint64
- func (x *Game7TestnetEventLog) GetData() string
- func (x *Game7TestnetEventLog) GetLogIndex() uint64
- func (x *Game7TestnetEventLog) GetRemoved() bool
- func (x *Game7TestnetEventLog) GetTopics() []string
- func (x *Game7TestnetEventLog) GetTransactionHash() string
- func (x *Game7TestnetEventLog) GetTransactionIndex() uint64
- func (*Game7TestnetEventLog) ProtoMessage()
- func (x *Game7TestnetEventLog) ProtoReflect() protoreflect.Message
- func (x *Game7TestnetEventLog) Reset()
- func (x *Game7TestnetEventLog) String() string
- type Game7TestnetTransaction
- func (*Game7TestnetTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *Game7TestnetTransaction) GetAccessList() []*Game7TestnetTransactionAccessList
- func (x *Game7TestnetTransaction) GetBlockHash() string
- func (x *Game7TestnetTransaction) GetBlockNumber() uint64
- func (x *Game7TestnetTransaction) GetBlockTimestamp() uint64
- func (x *Game7TestnetTransaction) GetChainId() string
- func (x *Game7TestnetTransaction) GetFromAddress() string
- func (x *Game7TestnetTransaction) GetGas() string
- func (x *Game7TestnetTransaction) GetGasPrice() string
- func (x *Game7TestnetTransaction) GetHash() string
- func (x *Game7TestnetTransaction) GetIndexedAt() uint64
- func (x *Game7TestnetTransaction) GetInput() string
- func (x *Game7TestnetTransaction) GetLogs() []*Game7TestnetEventLog
- func (x *Game7TestnetTransaction) GetMaxFeePerGas() string
- func (x *Game7TestnetTransaction) GetMaxPriorityFeePerGas() string
- func (x *Game7TestnetTransaction) GetNonce() string
- func (x *Game7TestnetTransaction) GetR() string
- func (x *Game7TestnetTransaction) GetS() string
- func (x *Game7TestnetTransaction) GetToAddress() string
- func (x *Game7TestnetTransaction) GetTransactionIndex() uint64
- func (x *Game7TestnetTransaction) GetTransactionType() uint64
- func (x *Game7TestnetTransaction) GetV() string
- func (x *Game7TestnetTransaction) GetValue() string
- func (x *Game7TestnetTransaction) GetYParity() string
- func (*Game7TestnetTransaction) ProtoMessage()
- func (x *Game7TestnetTransaction) ProtoReflect() protoreflect.Message
- func (x *Game7TestnetTransaction) Reset()
- func (x *Game7TestnetTransaction) String() string
- type Game7TestnetTransactionAccessList
- func (*Game7TestnetTransactionAccessList) Descriptor() ([]byte, []int)deprecated
- func (x *Game7TestnetTransactionAccessList) GetAddress() string
- func (x *Game7TestnetTransactionAccessList) GetStorageKeys() []string
- func (*Game7TestnetTransactionAccessList) ProtoMessage()
- func (x *Game7TestnetTransactionAccessList) ProtoReflect() protoreflect.Message
- func (x *Game7TestnetTransactionAccessList) Reset()
- func (x *Game7TestnetTransactionAccessList) String() string
Constants ¶
This section is empty.
Variables ¶
var File_blockchain_game7_testnet_game7_testnet_index_types_proto protoreflect.FileDescriptor
Functions ¶
func ToEntireBlocksBatchFromLogProto ¶
func ToEntireBlocksBatchFromLogProto(obj *Game7TestnetBlocksBatch) *seer_common.BlocksBatchJson
func ToEvenFromLogProto ¶
func ToEvenFromLogProto(obj *Game7TestnetEventLog) *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) ([]*Game7TestnetBlock, 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) ([]*Game7TestnetEventLog, error)
func (*Client) DecodeProtoTransactions ¶
func (c *Client) DecodeProtoTransactions(data []string) ([]*Game7TestnetTransaction, 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) ([]*Game7TestnetBlock, 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) ([]*Game7TestnetEventLog, error)
func (*Client) ProcessBlocksToBatch ¶
type Game7TestnetBlock ¶
type Game7TestnetBlock 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 []*Game7TestnetTransaction `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) *Game7TestnetBlock
func (*Game7TestnetBlock) Descriptor
deprecated
func (*Game7TestnetBlock) Descriptor() ([]byte, []int)
Deprecated: Use Game7TestnetBlock.ProtoReflect.Descriptor instead.
func (*Game7TestnetBlock) GetBaseFeePerGas ¶
func (x *Game7TestnetBlock) GetBaseFeePerGas() string
func (*Game7TestnetBlock) GetBlockNumber ¶
func (x *Game7TestnetBlock) GetBlockNumber() uint64
func (*Game7TestnetBlock) GetDifficulty ¶
func (x *Game7TestnetBlock) GetDifficulty() uint64
func (*Game7TestnetBlock) GetExtraData ¶
func (x *Game7TestnetBlock) GetExtraData() string
func (*Game7TestnetBlock) GetGasLimit ¶
func (x *Game7TestnetBlock) GetGasLimit() uint64
func (*Game7TestnetBlock) GetGasUsed ¶
func (x *Game7TestnetBlock) GetGasUsed() uint64
func (*Game7TestnetBlock) GetHash ¶
func (x *Game7TestnetBlock) GetHash() string
func (*Game7TestnetBlock) GetIndexedAt ¶
func (x *Game7TestnetBlock) GetIndexedAt() uint64
func (*Game7TestnetBlock) GetL1BlockNumber ¶
func (x *Game7TestnetBlock) GetL1BlockNumber() uint64
func (*Game7TestnetBlock) GetLogsBloom ¶
func (x *Game7TestnetBlock) GetLogsBloom() string
func (*Game7TestnetBlock) GetMiner ¶
func (x *Game7TestnetBlock) GetMiner() string
func (*Game7TestnetBlock) GetMixHash ¶
func (x *Game7TestnetBlock) GetMixHash() string
func (*Game7TestnetBlock) GetNonce ¶
func (x *Game7TestnetBlock) GetNonce() string
func (*Game7TestnetBlock) GetParentHash ¶
func (x *Game7TestnetBlock) GetParentHash() string
func (*Game7TestnetBlock) GetReceiptsRoot ¶
func (x *Game7TestnetBlock) GetReceiptsRoot() string
func (*Game7TestnetBlock) GetSendCount ¶
func (x *Game7TestnetBlock) GetSendCount() string
func (*Game7TestnetBlock) GetSendRoot ¶
func (x *Game7TestnetBlock) GetSendRoot() string
func (*Game7TestnetBlock) GetSha3Uncles ¶
func (x *Game7TestnetBlock) GetSha3Uncles() string
func (*Game7TestnetBlock) GetSize ¶
func (x *Game7TestnetBlock) GetSize() uint64
func (*Game7TestnetBlock) GetStateRoot ¶
func (x *Game7TestnetBlock) GetStateRoot() string
func (*Game7TestnetBlock) GetTimestamp ¶
func (x *Game7TestnetBlock) GetTimestamp() uint64
func (*Game7TestnetBlock) GetTotalDifficulty ¶
func (x *Game7TestnetBlock) GetTotalDifficulty() string
func (*Game7TestnetBlock) GetTransactions ¶
func (x *Game7TestnetBlock) GetTransactions() []*Game7TestnetTransaction
func (*Game7TestnetBlock) GetTransactionsRoot ¶
func (x *Game7TestnetBlock) GetTransactionsRoot() string
func (*Game7TestnetBlock) ProtoMessage ¶
func (*Game7TestnetBlock) ProtoMessage()
func (*Game7TestnetBlock) ProtoReflect ¶
func (x *Game7TestnetBlock) ProtoReflect() protoreflect.Message
func (*Game7TestnetBlock) Reset ¶
func (x *Game7TestnetBlock) Reset()
func (*Game7TestnetBlock) String ¶
func (x *Game7TestnetBlock) String() string
type Game7TestnetBlocksBatch ¶
type Game7TestnetBlocksBatch struct { Blocks []*Game7TestnetBlock `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 (*Game7TestnetBlocksBatch) Descriptor
deprecated
func (*Game7TestnetBlocksBatch) Descriptor() ([]byte, []int)
Deprecated: Use Game7TestnetBlocksBatch.ProtoReflect.Descriptor instead.
func (*Game7TestnetBlocksBatch) GetBlocks ¶
func (x *Game7TestnetBlocksBatch) GetBlocks() []*Game7TestnetBlock
func (*Game7TestnetBlocksBatch) GetSeerVersion ¶
func (x *Game7TestnetBlocksBatch) GetSeerVersion() string
func (*Game7TestnetBlocksBatch) ProtoMessage ¶
func (*Game7TestnetBlocksBatch) ProtoMessage()
func (*Game7TestnetBlocksBatch) ProtoReflect ¶
func (x *Game7TestnetBlocksBatch) ProtoReflect() protoreflect.Message
func (*Game7TestnetBlocksBatch) Reset ¶
func (x *Game7TestnetBlocksBatch) Reset()
func (*Game7TestnetBlocksBatch) String ¶
func (x *Game7TestnetBlocksBatch) String() string
type Game7TestnetEventLog ¶
type Game7TestnetEventLog 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) *Game7TestnetEventLog
func (*Game7TestnetEventLog) Descriptor
deprecated
func (*Game7TestnetEventLog) Descriptor() ([]byte, []int)
Deprecated: Use Game7TestnetEventLog.ProtoReflect.Descriptor instead.
func (*Game7TestnetEventLog) GetAddress ¶
func (x *Game7TestnetEventLog) GetAddress() string
func (*Game7TestnetEventLog) GetBlockHash ¶
func (x *Game7TestnetEventLog) GetBlockHash() string
func (*Game7TestnetEventLog) GetBlockNumber ¶
func (x *Game7TestnetEventLog) GetBlockNumber() uint64
func (*Game7TestnetEventLog) GetData ¶
func (x *Game7TestnetEventLog) GetData() string
func (*Game7TestnetEventLog) GetLogIndex ¶
func (x *Game7TestnetEventLog) GetLogIndex() uint64
func (*Game7TestnetEventLog) GetRemoved ¶
func (x *Game7TestnetEventLog) GetRemoved() bool
func (*Game7TestnetEventLog) GetTopics ¶
func (x *Game7TestnetEventLog) GetTopics() []string
func (*Game7TestnetEventLog) GetTransactionHash ¶
func (x *Game7TestnetEventLog) GetTransactionHash() string
func (*Game7TestnetEventLog) GetTransactionIndex ¶
func (x *Game7TestnetEventLog) GetTransactionIndex() uint64
func (*Game7TestnetEventLog) ProtoMessage ¶
func (*Game7TestnetEventLog) ProtoMessage()
func (*Game7TestnetEventLog) ProtoReflect ¶
func (x *Game7TestnetEventLog) ProtoReflect() protoreflect.Message
func (*Game7TestnetEventLog) Reset ¶
func (x *Game7TestnetEventLog) Reset()
func (*Game7TestnetEventLog) String ¶
func (x *Game7TestnetEventLog) String() string
type Game7TestnetTransaction ¶
type Game7TestnetTransaction 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 []*Game7TestnetTransactionAccessList `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 []*Game7TestnetEventLog `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) *Game7TestnetTransaction
func (*Game7TestnetTransaction) Descriptor
deprecated
func (*Game7TestnetTransaction) Descriptor() ([]byte, []int)
Deprecated: Use Game7TestnetTransaction.ProtoReflect.Descriptor instead.
func (*Game7TestnetTransaction) GetAccessList ¶
func (x *Game7TestnetTransaction) GetAccessList() []*Game7TestnetTransactionAccessList
func (*Game7TestnetTransaction) GetBlockHash ¶
func (x *Game7TestnetTransaction) GetBlockHash() string
func (*Game7TestnetTransaction) GetBlockNumber ¶
func (x *Game7TestnetTransaction) GetBlockNumber() uint64
func (*Game7TestnetTransaction) GetBlockTimestamp ¶
func (x *Game7TestnetTransaction) GetBlockTimestamp() uint64
func (*Game7TestnetTransaction) GetChainId ¶
func (x *Game7TestnetTransaction) GetChainId() string
func (*Game7TestnetTransaction) GetFromAddress ¶
func (x *Game7TestnetTransaction) GetFromAddress() string
func (*Game7TestnetTransaction) GetGas ¶
func (x *Game7TestnetTransaction) GetGas() string
func (*Game7TestnetTransaction) GetGasPrice ¶
func (x *Game7TestnetTransaction) GetGasPrice() string
func (*Game7TestnetTransaction) GetHash ¶
func (x *Game7TestnetTransaction) GetHash() string
func (*Game7TestnetTransaction) GetIndexedAt ¶
func (x *Game7TestnetTransaction) GetIndexedAt() uint64
func (*Game7TestnetTransaction) GetInput ¶
func (x *Game7TestnetTransaction) GetInput() string
func (*Game7TestnetTransaction) GetLogs ¶
func (x *Game7TestnetTransaction) GetLogs() []*Game7TestnetEventLog
func (*Game7TestnetTransaction) GetMaxFeePerGas ¶
func (x *Game7TestnetTransaction) GetMaxFeePerGas() string
func (*Game7TestnetTransaction) GetMaxPriorityFeePerGas ¶
func (x *Game7TestnetTransaction) GetMaxPriorityFeePerGas() string
func (*Game7TestnetTransaction) GetNonce ¶
func (x *Game7TestnetTransaction) GetNonce() string
func (*Game7TestnetTransaction) GetR ¶
func (x *Game7TestnetTransaction) GetR() string
func (*Game7TestnetTransaction) GetS ¶
func (x *Game7TestnetTransaction) GetS() string
func (*Game7TestnetTransaction) GetToAddress ¶
func (x *Game7TestnetTransaction) GetToAddress() string
func (*Game7TestnetTransaction) GetTransactionIndex ¶
func (x *Game7TestnetTransaction) GetTransactionIndex() uint64
func (*Game7TestnetTransaction) GetTransactionType ¶
func (x *Game7TestnetTransaction) GetTransactionType() uint64
func (*Game7TestnetTransaction) GetV ¶
func (x *Game7TestnetTransaction) GetV() string
func (*Game7TestnetTransaction) GetValue ¶
func (x *Game7TestnetTransaction) GetValue() string
func (*Game7TestnetTransaction) GetYParity ¶
func (x *Game7TestnetTransaction) GetYParity() string
func (*Game7TestnetTransaction) ProtoMessage ¶
func (*Game7TestnetTransaction) ProtoMessage()
func (*Game7TestnetTransaction) ProtoReflect ¶
func (x *Game7TestnetTransaction) ProtoReflect() protoreflect.Message
func (*Game7TestnetTransaction) Reset ¶
func (x *Game7TestnetTransaction) Reset()
func (*Game7TestnetTransaction) String ¶
func (x *Game7TestnetTransaction) String() string
type Game7TestnetTransactionAccessList ¶
type Game7TestnetTransactionAccessList 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 (*Game7TestnetTransactionAccessList) Descriptor
deprecated
func (*Game7TestnetTransactionAccessList) Descriptor() ([]byte, []int)
Deprecated: Use Game7TestnetTransactionAccessList.ProtoReflect.Descriptor instead.
func (*Game7TestnetTransactionAccessList) GetAddress ¶
func (x *Game7TestnetTransactionAccessList) GetAddress() string
func (*Game7TestnetTransactionAccessList) GetStorageKeys ¶
func (x *Game7TestnetTransactionAccessList) GetStorageKeys() []string
func (*Game7TestnetTransactionAccessList) ProtoMessage ¶
func (*Game7TestnetTransactionAccessList) ProtoMessage()
func (*Game7TestnetTransactionAccessList) ProtoReflect ¶
func (x *Game7TestnetTransactionAccessList) ProtoReflect() protoreflect.Message
func (*Game7TestnetTransactionAccessList) Reset ¶
func (x *Game7TestnetTransactionAccessList) Reset()
func (*Game7TestnetTransactionAccessList) String ¶
func (x *Game7TestnetTransactionAccessList) String() string