Documentation ¶
Index ¶
- Variables
- type AccessListItem
- func (*AccessListItem) Descriptor() ([]byte, []int)deprecated
- func (x *AccessListItem) GetAddress() *types.H160
- func (x *AccessListItem) GetSlots() []*types.H256
- func (*AccessListItem) ProtoMessage()
- func (x *AccessListItem) ProtoReflect() protoreflect.Message
- func (x *AccessListItem) Reset()
- func (x *AccessListItem) String() string
- type AccessTuple
- func (*AccessTuple) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTuple) GetAddress() []byte
- func (x *AccessTuple) GetStorageKeys() [][]byte
- func (*AccessTuple) ProtoMessage()
- func (x *AccessTuple) ProtoReflect() protoreflect.Message
- func (x *AccessTuple) Reset()
- func (x *AccessTuple) String() string
- type Block
- type BlockId
- func (*BlockId) Descriptor() ([]byte, []int)deprecated
- func (x *BlockId) GetHash() *types.H256
- func (m *BlockId) GetId() isBlockId_Id
- func (x *BlockId) GetNumber() *BlockNumber
- func (*BlockId) ProtoMessage()
- func (x *BlockId) ProtoReflect() protoreflect.Message
- func (x *BlockId) Reset()
- func (x *BlockId) String() string
- type BlockId_Hash
- type BlockId_Number
- type BlockNumber
- func (*BlockNumber) Descriptor() ([]byte, []int)deprecated
- func (m *BlockNumber) GetBlockNumber() isBlockNumber_BlockNumber
- func (x *BlockNumber) GetLatest() *emptypb.Empty
- func (x *BlockNumber) GetNumber() uint64
- func (x *BlockNumber) GetPending() *emptypb.Empty
- func (*BlockNumber) ProtoMessage()
- func (x *BlockNumber) ProtoReflect() protoreflect.Message
- func (x *BlockNumber) Reset()
- func (x *BlockNumber) String() string
- type BlockNumber_Latest
- type BlockNumber_Number
- type BlockNumber_Pending
- type Body
- type CanonicalTransactionData
- func (*CanonicalTransactionData) Descriptor() ([]byte, []int)deprecated
- func (x *CanonicalTransactionData) GetBlockHash() *types.H256
- func (x *CanonicalTransactionData) GetBlockNumber() uint64
- func (x *CanonicalTransactionData) GetIndex() uint64
- func (*CanonicalTransactionData) ProtoMessage()
- func (x *CanonicalTransactionData) ProtoReflect() protoreflect.Message
- func (x *CanonicalTransactionData) Reset()
- func (x *CanonicalTransactionData) String() string
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetCoinbase() []byte
- func (x *Header) GetDifficulty() uint64
- func (x *Header) GetExtraData() []byte
- func (x *Header) GetGasLimit() uint64
- func (x *Header) GetGasUsed() uint64
- func (x *Header) GetHash() []byte
- func (x *Header) GetNonce() uint64
- func (x *Header) GetNumber() uint64
- func (x *Header) GetParentHash() []byte
- func (x *Header) GetReceiptRoot() []byte
- func (x *Header) GetSize() uint64
- func (x *Header) GetStateRoot() []byte
- func (x *Header) GetTimestamp() uint64
- func (x *Header) GetTotalDifficulty() uint64
- func (x *Header) GetUncleHash() []byte
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type StoredTransaction
- func (*StoredTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *StoredTransaction) GetCanonicalData() *CanonicalTransactionData
- func (x *StoredTransaction) GetTransaction() *Transaction
- func (*StoredTransaction) ProtoMessage()
- func (x *StoredTransaction) ProtoReflect() protoreflect.Message
- func (x *StoredTransaction) Reset()
- func (x *StoredTransaction) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetAccessList() []*AccessTuple
- func (x *Transaction) GetChainId() uint32
- func (x *Transaction) GetFrom() []byte
- func (x *Transaction) GetGas() uint64
- func (x *Transaction) GetGasPrice() uint64
- func (x *Transaction) GetHash() []byte
- func (x *Transaction) GetInput() []byte
- func (x *Transaction) GetMaxFee() uint64
- func (x *Transaction) GetNonce() uint64
- func (x *Transaction) GetPriorityFee() uint64
- func (x *Transaction) GetR() []byte
- func (x *Transaction) GetS() []byte
- func (x *Transaction) GetTo() []byte
- func (x *Transaction) GetType() uint32
- func (x *Transaction) GetV() uint64
- func (x *Transaction) GetValue() []byte
- 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_eth_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessListItem ¶
type AccessListItem struct { Address *types.H160 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Slots []*types.H256 `protobuf:"bytes,2,rep,name=slots,proto3" json:"slots,omitempty"` // contains filtered or unexported fields }
func (*AccessListItem) Descriptor
deprecated
func (*AccessListItem) Descriptor() ([]byte, []int)
Deprecated: Use AccessListItem.ProtoReflect.Descriptor instead.
func (*AccessListItem) GetAddress ¶
func (x *AccessListItem) GetAddress() *types.H160
func (*AccessListItem) GetSlots ¶
func (x *AccessListItem) GetSlots() []*types.H256
func (*AccessListItem) ProtoMessage ¶
func (*AccessListItem) ProtoMessage()
func (*AccessListItem) ProtoReflect ¶
func (x *AccessListItem) ProtoReflect() protoreflect.Message
func (*AccessListItem) Reset ¶
func (x *AccessListItem) Reset()
func (*AccessListItem) String ¶
func (x *AccessListItem) String() string
type AccessTuple ¶ added in v1.2.8
type AccessTuple struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` StorageKeys [][]byte `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storage_keys,omitempty"` // contains filtered or unexported fields }
func (*AccessTuple) Descriptor
deprecated
added in
v1.2.8
func (*AccessTuple) Descriptor() ([]byte, []int)
Deprecated: Use AccessTuple.ProtoReflect.Descriptor instead.
func (*AccessTuple) GetAddress ¶ added in v1.2.8
func (x *AccessTuple) GetAddress() []byte
func (*AccessTuple) GetStorageKeys ¶ added in v1.2.8
func (x *AccessTuple) GetStorageKeys() [][]byte
func (*AccessTuple) ProtoMessage ¶ added in v1.2.8
func (*AccessTuple) ProtoMessage()
func (*AccessTuple) ProtoReflect ¶ added in v1.2.8
func (x *AccessTuple) ProtoReflect() protoreflect.Message
func (*AccessTuple) Reset ¶ added in v1.2.8
func (x *AccessTuple) Reset()
func (*AccessTuple) String ¶ added in v1.2.8
func (x *AccessTuple) String() string
type Block ¶
type Block struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Body *Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockId ¶
type BlockId struct { // Types that are assignable to Id: // *BlockId_Hash // *BlockId_Number Id isBlockId_Id `protobuf_oneof:"id"` // contains filtered or unexported fields }
func (*BlockId) Descriptor
deprecated
func (*BlockId) GetNumber ¶
func (x *BlockId) GetNumber() *BlockNumber
func (*BlockId) ProtoMessage ¶
func (*BlockId) ProtoMessage()
func (*BlockId) ProtoReflect ¶
func (x *BlockId) ProtoReflect() protoreflect.Message
type BlockId_Hash ¶
type BlockId_Number ¶
type BlockId_Number struct {
Number *BlockNumber `protobuf:"bytes,2,opt,name=number,proto3,oneof"`
}
type BlockNumber ¶
type BlockNumber struct { // Types that are assignable to BlockNumber: // *BlockNumber_Latest // *BlockNumber_Pending // *BlockNumber_Number BlockNumber isBlockNumber_BlockNumber `protobuf_oneof:"block_number"` // contains filtered or unexported fields }
func (*BlockNumber) Descriptor
deprecated
func (*BlockNumber) Descriptor() ([]byte, []int)
Deprecated: Use BlockNumber.ProtoReflect.Descriptor instead.
func (*BlockNumber) GetBlockNumber ¶
func (m *BlockNumber) GetBlockNumber() isBlockNumber_BlockNumber
func (*BlockNumber) GetLatest ¶
func (x *BlockNumber) GetLatest() *emptypb.Empty
func (*BlockNumber) GetNumber ¶
func (x *BlockNumber) GetNumber() uint64
func (*BlockNumber) GetPending ¶
func (x *BlockNumber) GetPending() *emptypb.Empty
func (*BlockNumber) ProtoMessage ¶
func (*BlockNumber) ProtoMessage()
func (*BlockNumber) ProtoReflect ¶
func (x *BlockNumber) ProtoReflect() protoreflect.Message
func (*BlockNumber) Reset ¶
func (x *BlockNumber) Reset()
func (*BlockNumber) String ¶
func (x *BlockNumber) String() string
type BlockNumber_Latest ¶
type BlockNumber_Number ¶
type BlockNumber_Number struct {
Number uint64 `protobuf:"varint,3,opt,name=number,proto3,oneof"`
}
type BlockNumber_Pending ¶
type Body ¶
type Body struct { Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` Ommers [][]byte `protobuf:"bytes,2,rep,name=ommers,proto3" json:"ommers,omitempty"` // contains filtered or unexported fields }
func (*Body) Descriptor
deprecated
func (*Body) GetTransactions ¶
func (x *Body) GetTransactions() []*Transaction
func (*Body) ProtoMessage ¶
func (*Body) ProtoMessage()
func (*Body) ProtoReflect ¶
func (x *Body) ProtoReflect() protoreflect.Message
type CanonicalTransactionData ¶
type CanonicalTransactionData struct { BlockHash *types.H256 `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockNumber uint64 `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*CanonicalTransactionData) Descriptor
deprecated
func (*CanonicalTransactionData) Descriptor() ([]byte, []int)
Deprecated: Use CanonicalTransactionData.ProtoReflect.Descriptor instead.
func (*CanonicalTransactionData) GetBlockHash ¶
func (x *CanonicalTransactionData) GetBlockHash() *types.H256
func (*CanonicalTransactionData) GetBlockNumber ¶
func (x *CanonicalTransactionData) GetBlockNumber() uint64
func (*CanonicalTransactionData) GetIndex ¶
func (x *CanonicalTransactionData) GetIndex() uint64
func (*CanonicalTransactionData) ProtoMessage ¶
func (*CanonicalTransactionData) ProtoMessage()
func (*CanonicalTransactionData) ProtoReflect ¶
func (x *CanonicalTransactionData) ProtoReflect() protoreflect.Message
func (*CanonicalTransactionData) Reset ¶
func (x *CanonicalTransactionData) Reset()
func (*CanonicalTransactionData) String ¶
func (x *CanonicalTransactionData) String() string
type Header ¶
type Header struct { Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` ParentHash []byte `protobuf:"bytes,3,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` UncleHash []byte `protobuf:"bytes,5,opt,name=uncle_hash,json=uncleHash,proto3" json:"uncle_hash,omitempty"` StateRoot []byte `protobuf:"bytes,6,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` ReceiptRoot []byte `protobuf:"bytes,7,opt,name=receipt_root,json=receiptRoot,proto3" json:"receipt_root,omitempty"` Coinbase []byte `protobuf:"bytes,8,opt,name=coinbase,proto3" json:"coinbase,omitempty"` Difficulty uint64 `protobuf:"varint,9,opt,name=difficulty,proto3" json:"difficulty,omitempty"` TotalDifficulty *uint64 `protobuf:"varint,10,opt,name=total_difficulty,json=totalDifficulty,proto3,oneof" json:"total_difficulty,omitempty"` ExtraData []byte `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3,oneof" json:"extra_data,omitempty"` Size *uint64 `protobuf:"varint,12,opt,name=size,proto3,oneof" json:"size,omitempty"` GasLimit uint64 `protobuf:"varint,13,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasUsed uint64 `protobuf:"varint,14,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Timestamp uint64 `protobuf:"varint,15,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetCoinbase ¶
func (*Header) GetDifficulty ¶
func (*Header) GetExtraData ¶
func (*Header) GetGasLimit ¶
func (*Header) GetGasUsed ¶
func (*Header) GetParentHash ¶
func (*Header) GetReceiptRoot ¶
func (*Header) GetStateRoot ¶
func (*Header) GetTimestamp ¶
func (*Header) GetTotalDifficulty ¶
func (*Header) GetUncleHash ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type StoredTransaction ¶
type StoredTransaction struct { CanonicalData *CanonicalTransactionData `protobuf:"bytes,1,opt,name=canonical_data,json=canonicalData,proto3,oneof" json:"canonical_data,omitempty"` Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
func (*StoredTransaction) Descriptor
deprecated
func (*StoredTransaction) Descriptor() ([]byte, []int)
Deprecated: Use StoredTransaction.ProtoReflect.Descriptor instead.
func (*StoredTransaction) GetCanonicalData ¶
func (x *StoredTransaction) GetCanonicalData() *CanonicalTransactionData
func (*StoredTransaction) GetTransaction ¶
func (x *StoredTransaction) GetTransaction() *Transaction
func (*StoredTransaction) ProtoMessage ¶
func (*StoredTransaction) ProtoMessage()
func (*StoredTransaction) ProtoReflect ¶
func (x *StoredTransaction) ProtoReflect() protoreflect.Message
func (*StoredTransaction) Reset ¶
func (x *StoredTransaction) Reset()
func (*StoredTransaction) String ¶
func (x *StoredTransaction) String() string
type Transaction ¶
type Transaction struct { To []byte `protobuf:"bytes,1,opt,name=to,proto3,oneof" json:"to,omitempty"` Gas uint64 `protobuf:"varint,2,opt,name=gas,proto3" json:"gas,omitempty"` GasPrice uint64 `protobuf:"varint,3,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` Input []byte `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` Nonce uint64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"` Value []byte `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` From []byte `protobuf:"bytes,8,opt,name=from,proto3" json:"from,omitempty"` Type uint32 `protobuf:"varint,9,opt,name=type,proto3" json:"type,omitempty"` MaxFee uint64 `protobuf:"varint,10,opt,name=max_fee,json=maxFee,proto3" json:"max_fee,omitempty"` // = maxFeePerGas = GasFeeCap PriorityFee uint64 `protobuf:"varint,11,opt,name=priority_fee,json=priorityFee,proto3" json:"priority_fee,omitempty"` // = maxPriorityFeePerGas = GasTipCap V uint64 `protobuf:"varint,12,opt,name=v,proto3" json:"v,omitempty"` R []byte `protobuf:"bytes,13,opt,name=r,proto3" json:"r,omitempty"` S []byte `protobuf:"bytes,14,opt,name=s,proto3" json:"s,omitempty"` ChainId uint32 `protobuf:"varint,15,opt,name=chainId,proto3" json:"chainId,omitempty"` AccessList []*AccessTuple `protobuf:"bytes,16,rep,name=access_list,json=accessList,proto3" json:"access_list,omitempty"` // contains filtered or unexported fields }
TODO: make eip1559 compatible + type
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetAccessList ¶ added in v1.2.8
func (x *Transaction) GetAccessList() []*AccessTuple
func (*Transaction) GetChainId ¶
func (x *Transaction) GetChainId() uint32
func (*Transaction) GetFrom ¶
func (x *Transaction) GetFrom() []byte
func (*Transaction) GetGas ¶
func (x *Transaction) GetGas() uint64
func (*Transaction) GetGasPrice ¶
func (x *Transaction) GetGasPrice() uint64
func (*Transaction) GetHash ¶
func (x *Transaction) GetHash() []byte
func (*Transaction) GetInput ¶
func (x *Transaction) GetInput() []byte
func (*Transaction) GetMaxFee ¶
func (x *Transaction) GetMaxFee() uint64
func (*Transaction) GetNonce ¶
func (x *Transaction) GetNonce() uint64
func (*Transaction) GetPriorityFee ¶
func (x *Transaction) GetPriorityFee() uint64
func (*Transaction) GetR ¶
func (x *Transaction) GetR() []byte
func (*Transaction) GetS ¶
func (x *Transaction) GetS() []byte
func (*Transaction) GetTo ¶
func (x *Transaction) GetTo() []byte
func (*Transaction) GetType ¶
func (x *Transaction) GetType() uint32
func (*Transaction) GetV ¶
func (x *Transaction) GetV() uint64
func (*Transaction) GetValue ¶
func (x *Transaction) GetValue() []byte
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.