Documentation ¶
Index ¶
- Variables
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetAuthor() string
- 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) GetSignature() string
- func (x *Block) GetSize() string
- func (x *Block) GetStateRoot() string
- func (x *Block) GetStep() uint32
- 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 Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetBlockHash() string
- func (x *Transaction) GetBlockNumber() string
- func (x *Transaction) GetData() 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) 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
Constants ¶
This section is empty.
Variables ¶
View Source
var File_block_proto protoreflect.FileDescriptor
View Source
var File_transaction_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Author string `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"` Difficulty string `protobuf:"bytes,2,opt,name=difficulty,proto3" json:"difficulty,omitempty"` ExtraData string `protobuf:"bytes,3,opt,name=extraData,proto3" json:"extraData,omitempty"` GasLimit string `protobuf:"bytes,4,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"` GasUsed string `protobuf:"bytes,5,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"` Hash string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"` LogsBloom string `protobuf:"bytes,7,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"` Miner string `protobuf:"bytes,8,opt,name=miner,proto3" json:"miner,omitempty"` Number string `protobuf:"bytes,9,opt,name=number,proto3" json:"number,omitempty"` ParentHash string `protobuf:"bytes,10,opt,name=parentHash,proto3" json:"parentHash,omitempty"` ReceiptsRoot string `protobuf:"bytes,11,opt,name=receiptsRoot,proto3" json:"receiptsRoot,omitempty"` Sha3Uncles string `protobuf:"bytes,12,opt,name=sha3Uncles,proto3" json:"sha3Uncles,omitempty"` Signature string `protobuf:"bytes,13,opt,name=signature,proto3" json:"signature,omitempty"` Size string `protobuf:"bytes,14,opt,name=size,proto3" json:"size,omitempty"` StateRoot string `protobuf:"bytes,15,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"` Step uint32 `protobuf:"varint,16,opt,name=step,proto3" json:"step,omitempty"` TotalDifficulty string `protobuf:"bytes,17,opt,name=totalDifficulty,proto3" json:"totalDifficulty,omitempty"` Timestamp string `protobuf:"bytes,18,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Transactions []*Transaction `protobuf:"bytes,19,rep,name=transactions,proto3" json:"transactions,omitempty"` TransactionsRoot string `protobuf:"bytes,20,opt,name=transactionsRoot,proto3" json:"transactionsRoot,omitempty"` Uncles []string `protobuf:"bytes,21,rep,name=uncles,proto3" json:"uncles,omitempty"` BaseFeePerGas string `protobuf:"bytes,22,opt,name=baseFeePerGas,proto3" json:"baseFeePerGas,omitempty"` MixHash string `protobuf:"bytes,23,opt,name=mixHash,proto3" json:"mixHash,omitempty"` Nonce string `protobuf:"bytes,24,opt,name=nonce,proto3" json:"nonce,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) GetSignature ¶
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 Transaction ¶
type Transaction struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` BlockHash string `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"` BlockNumber string `protobuf:"bytes,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` TransactionIndex string `protobuf:"bytes,5,opt,name=transactionIndex,proto3" json:"transactionIndex,omitempty"` From string `protobuf:"bytes,6,opt,name=from,proto3" json:"from,omitempty"` To *string `protobuf:"bytes,7,opt,name=to,proto3,oneof" json:"to,omitempty"` Value string `protobuf:"bytes,8,opt,name=value,proto3" json:"value,omitempty"` GasPrice string `protobuf:"bytes,9,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"` Gas string `protobuf:"bytes,10,opt,name=gas,proto3" json:"gas,omitempty"` Data string `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"` Input string `protobuf:"bytes,12,opt,name=input,proto3" json:"input,omitempty"` Type string `protobuf:"bytes,13,opt,name=type,proto3" json:"type,omitempty"` V string `protobuf:"bytes,14,opt,name=v,proto3" json:"v,omitempty"` S string `protobuf:"bytes,15,opt,name=s,proto3" json:"s,omitempty"` R string `protobuf:"bytes,16,opt,name=r,proto3" json:"r,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetBlockHash ¶
func (x *Transaction) GetBlockHash() string
func (*Transaction) GetBlockNumber ¶
func (x *Transaction) GetBlockNumber() string
func (*Transaction) GetData ¶
func (x *Transaction) GetData() 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) 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
Click to show internal directories.
Click to hide internal directories.