Documentation ¶
Index ¶
- Variables
- type Access
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetBaseFeePerGas() string
- func (x *Block) GetDifficulty() string
- func (x *Block) GetExtraData() string
- func (x *Block) GetGasLimit() string
- func (x *Block) GetGasUsed() string
- func (x *Block) GetHash() string
- func (x *Block) GetLogsBloom() string
- func (x *Block) GetMiner() string
- func (x *Block) GetMixHash() string
- func (x *Block) GetNonce() string
- func (x *Block) GetNumber() string
- func (x *Block) GetParentHash() string
- func (x *Block) GetReceiptsRoot() string
- func (x *Block) GetSha3Uncles() string
- func (x *Block) GetSize() string
- func (x *Block) GetStateRoot() string
- func (x *Block) GetTimestamp() string
- func (x *Block) GetTotalDifficulty() string
- func (x *Block) GetTransactions() []*Transaction
- func (x *Block) GetTransactionsRoot() string
- func (x *Block) GetUncles() []string
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type CallTrace
- func (*CallTrace) Descriptor() ([]byte, []int)deprecated
- func (x *CallTrace) GetCalls() []*CallTrace
- func (x *CallTrace) GetError() string
- func (x *CallTrace) GetFrom() string
- func (x *CallTrace) GetGas() string
- func (x *CallTrace) GetGasUsed() string
- func (x *CallTrace) GetInput() string
- func (x *CallTrace) GetOutput() string
- func (x *CallTrace) GetRevertReason() string
- func (x *CallTrace) GetTime() string
- func (x *CallTrace) GetTo() string
- func (x *CallTrace) GetType() string
- func (x *CallTrace) GetValue() string
- func (*CallTrace) ProtoMessage()
- func (x *CallTrace) ProtoReflect() protoreflect.Message
- func (x *CallTrace) Reset()
- func (x *CallTrace) String() string
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetBlock() *Block
- func (x *Data) GetCallTraces() []*CallTrace
- func (x *Data) GetTransactionReceipts() []*TransactionReceipt
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAddress() string
- func (x *Log) GetBlockHash() string
- func (x *Log) GetBlockNumber() string
- func (x *Log) GetData() string
- func (x *Log) GetLogIndex() string
- func (x *Log) GetRemoved() bool
- func (x *Log) GetTopics() []string
- func (x *Log) GetTransactionHash() string
- func (x *Log) GetTransactionIndex() string
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetAccessList() []*Access
- func (x *Transaction) GetBlockHash() string
- func (x *Transaction) GetBlockNumber() string
- func (x *Transaction) GetChainId() string
- func (x *Transaction) GetFrom() string
- func (x *Transaction) GetGas() string
- func (x *Transaction) GetGasPrice() string
- func (x *Transaction) GetHash() string
- func (x *Transaction) GetInput() string
- func (x *Transaction) GetMaxFeePerGas() string
- func (x *Transaction) GetMaxPriorityFeePerGas() string
- func (x *Transaction) GetNonce() string
- func (x *Transaction) GetR() string
- func (x *Transaction) GetS() string
- func (x *Transaction) GetTo() string
- func (x *Transaction) GetTransactionIndex() string
- func (x *Transaction) GetType() string
- func (x *Transaction) GetV() string
- func (x *Transaction) GetValue() string
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionReceipt
- func (*TransactionReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionReceipt) GetBlockHash() string
- func (x *TransactionReceipt) GetBlockNumber() string
- func (x *TransactionReceipt) GetContractAddress() string
- func (x *TransactionReceipt) GetCumulativeGasUsed() string
- func (x *TransactionReceipt) GetEffectiveGasPrice() string
- func (x *TransactionReceipt) GetFrom() string
- func (x *TransactionReceipt) GetGasUsed() string
- func (x *TransactionReceipt) GetLogs() []*Log
- func (x *TransactionReceipt) GetLogsBloom() string
- func (x *TransactionReceipt) GetRoot() string
- func (x *TransactionReceipt) GetStatus() string
- func (x *TransactionReceipt) GetTo() string
- func (x *TransactionReceipt) GetTransactionHash() string
- func (x *TransactionReceipt) GetTransactionIndex() string
- func (x *TransactionReceipt) GetType() string
- func (*TransactionReceipt) ProtoMessage()
- func (x *TransactionReceipt) ProtoReflect() protoreflect.Message
- func (x *TransactionReceipt) Reset()
- func (x *TransactionReceipt) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protos_chains_polygon_raw_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Access ¶
type Access 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 (*Access) Descriptor
deprecated
func (*Access) GetAddress ¶
func (*Access) GetStorageKeys ¶
func (*Access) ProtoMessage ¶
func (*Access) ProtoMessage()
func (*Access) ProtoReflect ¶
func (x *Access) ProtoReflect() protoreflect.Message
type Block ¶
type Block struct { Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` // hex string Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` ParentHash string `protobuf:"bytes,3,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` Sha3Uncles string `protobuf:"bytes,5,opt,name=sha3_uncles,json=sha3Uncles,proto3" json:"sha3_uncles,omitempty"` LogsBloom string `protobuf:"bytes,6,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty"` TransactionsRoot string `protobuf:"bytes,7,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"` StateRoot string `protobuf:"bytes,8,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` ReceiptsRoot string `protobuf:"bytes,9,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty"` Miner string `protobuf:"bytes,10,opt,name=miner,proto3" json:"miner,omitempty"` Difficulty string `protobuf:"bytes,11,opt,name=difficulty,proto3" json:"difficulty,omitempty"` // hex string TotalDifficulty string `protobuf:"bytes,12,opt,name=total_difficulty,json=totalDifficulty,proto3" json:"total_difficulty,omitempty"` // hex string ExtraData string `protobuf:"bytes,13,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"` Size string `protobuf:"bytes,14,opt,name=size,proto3" json:"size,omitempty"` // hex string GasLimit string `protobuf:"bytes,15,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // hex string GasUsed string `protobuf:"bytes,16,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // hex string Timestamp string `protobuf:"bytes,17,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // hex string Transactions []*Transaction `protobuf:"bytes,18,rep,name=transactions,proto3" json:"transactions,omitempty"` Uncles []string `protobuf:"bytes,19,rep,name=uncles,proto3" json:"uncles,omitempty"` // extra fields from alchemy and quicknode BaseFeePerGas string `protobuf:"bytes,20,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty"` // hex string MixHash string `protobuf:"bytes,21,opt,name=mix_hash,json=mixHash,proto3" json:"mix_hash,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetBaseFeePerGas ¶
func (*Block) GetDifficulty ¶
func (*Block) GetExtraData ¶
func (*Block) GetGasLimit ¶
func (*Block) GetGasUsed ¶
func (*Block) GetLogsBloom ¶
func (*Block) GetMixHash ¶
func (*Block) GetParentHash ¶
func (*Block) GetReceiptsRoot ¶
func (*Block) GetSha3Uncles ¶
func (*Block) GetStateRoot ¶
func (*Block) GetTimestamp ¶
func (*Block) GetTotalDifficulty ¶
func (*Block) GetTransactions ¶
func (x *Block) GetTransactions() []*Transaction
func (*Block) GetTransactionsRoot ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type CallTrace ¶
type CallTrace struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // hex string Gas string `protobuf:"bytes,5,opt,name=gas,proto3" json:"gas,omitempty"` // hex string GasUsed string `protobuf:"bytes,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // hex string Input string `protobuf:"bytes,7,opt,name=input,proto3" json:"input,omitempty"` Output string `protobuf:"bytes,8,opt,name=output,proto3" json:"output,omitempty"` Time string `protobuf:"bytes,9,opt,name=time,proto3" json:"time,omitempty"` Error string `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"` RevertReason string `protobuf:"bytes,11,opt,name=revert_reason,json=revertReason,proto3" json:"revert_reason,omitempty"` Calls []*CallTrace `protobuf:"bytes,12,rep,name=calls,proto3" json:"calls,omitempty"` // contains filtered or unexported fields }
quicknode structure
func (*CallTrace) Descriptor
deprecated
func (*CallTrace) GetGasUsed ¶
func (*CallTrace) GetRevertReason ¶
func (*CallTrace) ProtoMessage ¶
func (*CallTrace) ProtoMessage()
func (*CallTrace) ProtoReflect ¶
func (x *CallTrace) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` TransactionReceipts []*TransactionReceipt `protobuf:"bytes,2,rep,name=transaction_receipts,json=transactionReceipts,proto3" json:"transaction_receipts,omitempty"` CallTraces []*CallTrace `protobuf:"bytes,3,rep,name=call_traces,json=callTraces,proto3" json:"call_traces,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetCallTraces ¶
func (*Data) GetTransactionReceipts ¶
func (x *Data) GetTransactionReceipts() []*TransactionReceipt
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Log ¶
type Log struct { Removed bool `protobuf:"varint,1,opt,name=removed,proto3" json:"removed,omitempty"` LogIndex string `protobuf:"bytes,2,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // hex string TransactionIndex string `protobuf:"bytes,3,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` // hex string TransactionHash string `protobuf:"bytes,4,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` BlockNumber string `protobuf:"bytes,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // hex string BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` Data string `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` Topics []string `protobuf:"bytes,9,rep,name=topics,proto3" json:"topics,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetAddress ¶
func (*Log) GetBlockHash ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetLogIndex ¶
func (*Log) GetRemoved ¶
func (*Log) GetTransactionHash ¶
func (*Log) GetTransactionIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Transaction ¶
type Transaction struct { BlockHash string `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // hex string BlockNumber string `protobuf:"bytes,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // hex string From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` Gas string `protobuf:"bytes,4,opt,name=gas,proto3" json:"gas,omitempty"` // hex string GasPrice string `protobuf:"bytes,5,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // hex string Hash string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"` Input string `protobuf:"bytes,7,opt,name=input,proto3" json:"input,omitempty"` Nonce string `protobuf:"bytes,8,opt,name=nonce,proto3" json:"nonce,omitempty"` // hex string To string `protobuf:"bytes,9,opt,name=to,proto3" json:"to,omitempty"` TransactionIndex string `protobuf:"bytes,10,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` // hex string Value string `protobuf:"bytes,11,opt,name=value,proto3" json:"value,omitempty"` // hex string V string `protobuf:"bytes,12,opt,name=v,proto3" json:"v,omitempty"` R string `protobuf:"bytes,13,opt,name=r,proto3" json:"r,omitempty"` S string `protobuf:"bytes,14,opt,name=s,proto3" json:"s,omitempty"` // extra fields from alchemy and quicknode AccessList []*Access `protobuf:"bytes,15,rep,name=access_list,json=accessList,proto3" json:"access_list,omitempty"` ChainId string `protobuf:"bytes,16,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // hex string MaxFeePerGas string `protobuf:"bytes,17,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"` // hex string MaxPriorityFeePerGas string `` // hex string /* 128-byte string literal not displayed */ Type string `protobuf:"bytes,19,opt,name=type,proto3" json:"type,omitempty"` // hex string // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetAccessList ¶
func (x *Transaction) GetAccessList() []*Access
func (*Transaction) GetBlockHash ¶
func (x *Transaction) GetBlockHash() string
func (*Transaction) GetBlockNumber ¶
func (x *Transaction) GetBlockNumber() string
func (*Transaction) GetChainId ¶
func (x *Transaction) GetChainId() string
func (*Transaction) GetFrom ¶
func (x *Transaction) GetFrom() string
func (*Transaction) GetGas ¶
func (x *Transaction) GetGas() string
func (*Transaction) GetGasPrice ¶
func (x *Transaction) GetGasPrice() string
func (*Transaction) GetHash ¶
func (x *Transaction) GetHash() string
func (*Transaction) GetInput ¶
func (x *Transaction) GetInput() string
func (*Transaction) GetMaxFeePerGas ¶
func (x *Transaction) GetMaxFeePerGas() string
func (*Transaction) GetMaxPriorityFeePerGas ¶
func (x *Transaction) GetMaxPriorityFeePerGas() string
func (*Transaction) GetNonce ¶
func (x *Transaction) GetNonce() string
func (*Transaction) GetR ¶
func (x *Transaction) GetR() string
func (*Transaction) GetS ¶
func (x *Transaction) GetS() string
func (*Transaction) GetTo ¶
func (x *Transaction) GetTo() string
func (*Transaction) GetTransactionIndex ¶
func (x *Transaction) GetTransactionIndex() string
func (*Transaction) GetType ¶
func (x *Transaction) GetType() string
func (*Transaction) GetV ¶
func (x *Transaction) GetV() string
func (*Transaction) GetValue ¶
func (x *Transaction) GetValue() string
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionReceipt ¶
type TransactionReceipt struct { TransactionHash string `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` TransactionIndex string `protobuf:"bytes,2,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` // hex string BlockHash string `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockNumber string `protobuf:"bytes,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // hex string From string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` CumulativeGasUsed string `protobuf:"bytes,7,opt,name=cumulative_gas_used,json=cumulativeGasUsed,proto3" json:"cumulative_gas_used,omitempty"` // hex string EffectiveGasPrice string `protobuf:"bytes,8,opt,name=effective_gas_price,json=effectiveGasPrice,proto3" json:"effective_gas_price,omitempty"` // hex string GasUsed string `protobuf:"bytes,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // hex string ContractAddress string `protobuf:"bytes,10,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` Logs []*Log `protobuf:"bytes,11,rep,name=logs,proto3" json:"logs,omitempty"` LogsBloom string `protobuf:"bytes,12,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty"` Type string `protobuf:"bytes,13,opt,name=type,proto3" json:"type,omitempty"` // hex string Root string `protobuf:"bytes,14,opt,name=root,proto3" json:"root,omitempty"` Status string `protobuf:"bytes,15,opt,name=status,proto3" json:"status,omitempty"` // hex string // contains filtered or unexported fields }
func (*TransactionReceipt) Descriptor
deprecated
func (*TransactionReceipt) Descriptor() ([]byte, []int)
Deprecated: Use TransactionReceipt.ProtoReflect.Descriptor instead.
func (*TransactionReceipt) GetBlockHash ¶
func (x *TransactionReceipt) GetBlockHash() string
func (*TransactionReceipt) GetBlockNumber ¶
func (x *TransactionReceipt) GetBlockNumber() string
func (*TransactionReceipt) GetContractAddress ¶
func (x *TransactionReceipt) GetContractAddress() string
func (*TransactionReceipt) GetCumulativeGasUsed ¶
func (x *TransactionReceipt) GetCumulativeGasUsed() string
func (*TransactionReceipt) GetEffectiveGasPrice ¶
func (x *TransactionReceipt) GetEffectiveGasPrice() string
func (*TransactionReceipt) GetFrom ¶
func (x *TransactionReceipt) GetFrom() string
func (*TransactionReceipt) GetGasUsed ¶
func (x *TransactionReceipt) GetGasUsed() string
func (*TransactionReceipt) GetLogs ¶
func (x *TransactionReceipt) GetLogs() []*Log
func (*TransactionReceipt) GetLogsBloom ¶
func (x *TransactionReceipt) GetLogsBloom() string
func (*TransactionReceipt) GetRoot ¶
func (x *TransactionReceipt) GetRoot() string
func (*TransactionReceipt) GetStatus ¶
func (x *TransactionReceipt) GetStatus() string
func (*TransactionReceipt) GetTo ¶
func (x *TransactionReceipt) GetTo() string
func (*TransactionReceipt) GetTransactionHash ¶
func (x *TransactionReceipt) GetTransactionHash() string
func (*TransactionReceipt) GetTransactionIndex ¶
func (x *TransactionReceipt) GetTransactionIndex() string
func (*TransactionReceipt) GetType ¶
func (x *TransactionReceipt) GetType() string
func (*TransactionReceipt) ProtoMessage ¶
func (*TransactionReceipt) ProtoMessage()
func (*TransactionReceipt) ProtoReflect ¶
func (x *TransactionReceipt) ProtoReflect() protoreflect.Message
func (*TransactionReceipt) Reset ¶
func (x *TransactionReceipt) Reset()
func (*TransactionReceipt) String ¶
func (x *TransactionReceipt) String() string
Click to show internal directories.
Click to hide internal directories.