Documentation ¶
Index ¶
- Variables
- func RegisterBorApiServer(s grpc.ServiceRegistrar, srv BorApiServer)
- type Block
- type Bloom
- type BorApiClient
- type BorApiServer
- type GetBlockByNumberRequest
- func (*GetBlockByNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockByNumberRequest) GetNumber() string
- func (*GetBlockByNumberRequest) ProtoMessage()
- func (x *GetBlockByNumberRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockByNumberRequest) Reset()
- func (x *GetBlockByNumberRequest) String() string
- type GetBlockByNumberResponse
- func (*GetBlockByNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockByNumberResponse) GetBlock() *Block
- func (*GetBlockByNumberResponse) ProtoMessage()
- func (x *GetBlockByNumberResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockByNumberResponse) Reset()
- func (x *GetBlockByNumberResponse) String() string
- type GetHeaderByNumberRequest
- func (*GetHeaderByNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeaderByNumberRequest) GetNumber() string
- func (*GetHeaderByNumberRequest) ProtoMessage()
- func (x *GetHeaderByNumberRequest) ProtoReflect() protoreflect.Message
- func (x *GetHeaderByNumberRequest) Reset()
- func (x *GetHeaderByNumberRequest) String() string
- type GetHeaderByNumberResponse
- func (*GetHeaderByNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeaderByNumberResponse) GetHeader() *Header
- func (*GetHeaderByNumberResponse) ProtoMessage()
- func (x *GetHeaderByNumberResponse) ProtoReflect() protoreflect.Message
- func (x *GetHeaderByNumberResponse) Reset()
- func (x *GetHeaderByNumberResponse) String() string
- type GetRootHashRequest
- func (*GetRootHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRootHashRequest) GetEndBlockNumber() uint64
- func (x *GetRootHashRequest) GetStartBlockNumber() uint64
- func (*GetRootHashRequest) ProtoMessage()
- func (x *GetRootHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetRootHashRequest) Reset()
- func (x *GetRootHashRequest) String() string
- type GetRootHashResponse
- func (*GetRootHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRootHashResponse) GetRootHash() string
- func (*GetRootHashResponse) ProtoMessage()
- func (x *GetRootHashResponse) ProtoReflect() protoreflect.Message
- func (x *GetRootHashResponse) Reset()
- func (x *GetRootHashResponse) String() string
- type GetVoteOnHashRequest
- func (*GetVoteOnHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVoteOnHashRequest) GetEndBlockNumber() uint64
- func (x *GetVoteOnHashRequest) GetHash() string
- func (x *GetVoteOnHashRequest) GetMilestoneId() string
- func (x *GetVoteOnHashRequest) GetStartBlockNumber() uint64
- func (*GetVoteOnHashRequest) ProtoMessage()
- func (x *GetVoteOnHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetVoteOnHashRequest) Reset()
- func (x *GetVoteOnHashRequest) String() string
- type GetVoteOnHashResponse
- func (*GetVoteOnHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVoteOnHashResponse) GetResponse() bool
- func (*GetVoteOnHashResponse) ProtoMessage()
- func (x *GetVoteOnHashResponse) ProtoReflect() protoreflect.Message
- func (x *GetVoteOnHashResponse) Reset()
- func (x *GetVoteOnHashResponse) String() string
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetNumber() uint64
- func (x *Header) GetParentHash() *common.H256
- func (x *Header) GetTime() uint64
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAddress() *common.H160
- func (x *Log) GetBlockHash() *common.H256
- func (x *Log) GetBlockNumber() uint64
- func (x *Log) GetData() []byte
- func (x *Log) GetIndex() uint64
- func (x *Log) GetRemoved() bool
- func (x *Log) GetTopics() []*common.H256
- func (x *Log) GetTxHash() *common.H256
- func (x *Log) GetTxIndex() uint64
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt) GetBlobGasPrice() int64
- func (x *Receipt) GetBlobGasUsed() uint64
- func (x *Receipt) GetBlockHash() *common.H256
- func (x *Receipt) GetBlockNumber() int64
- func (x *Receipt) GetBloom() *Bloom
- func (x *Receipt) GetContractAddress() *common.H160
- func (x *Receipt) GetCumulativeGasUsed() uint64
- func (x *Receipt) GetEffectiveGasPrice() int64
- func (x *Receipt) GetGasUsed() uint64
- func (x *Receipt) GetLogs() []*Log
- func (x *Receipt) GetPostState() []byte
- func (x *Receipt) GetStatus() uint64
- func (x *Receipt) GetTransactionIndex() uint64
- func (x *Receipt) GetTxHash() *common.H256
- func (x *Receipt) GetType() uint64
- func (*Receipt) ProtoMessage()
- func (x *Receipt) ProtoReflect() protoreflect.Message
- func (x *Receipt) Reset()
- func (x *Receipt) String() string
- type ReceiptRequest
- type ReceiptResponse
- type UnimplementedBorApiServer
- func (UnimplementedBorApiServer) BlockByNumber(context.Context, *GetBlockByNumberRequest) (*GetBlockByNumberResponse, error)
- func (UnimplementedBorApiServer) BorBlockReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
- func (UnimplementedBorApiServer) GetRootHash(context.Context, *GetRootHashRequest) (*GetRootHashResponse, error)
- func (UnimplementedBorApiServer) GetVoteOnHash(context.Context, *GetVoteOnHashRequest) (*GetVoteOnHashResponse, error)
- func (UnimplementedBorApiServer) HeaderByNumber(context.Context, *GetHeaderByNumberRequest) (*GetHeaderByNumberResponse, error)
- func (UnimplementedBorApiServer) TransactionReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
- type UnsafeBorApiServer
Constants ¶
This section is empty.
Variables ¶
var BorApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bor.BorApi", HandlerType: (*BorApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetRootHash", Handler: _BorApi_GetRootHash_Handler, }, { MethodName: "GetVoteOnHash", Handler: _BorApi_GetVoteOnHash_Handler, }, { MethodName: "HeaderByNumber", Handler: _BorApi_HeaderByNumber_Handler, }, { MethodName: "BlockByNumber", Handler: _BorApi_BlockByNumber_Handler, }, { MethodName: "TransactionReceipt", Handler: _BorApi_TransactionReceipt_Handler, }, { MethodName: "BorBlockReceipt", Handler: _BorApi_BorBlockReceipt_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "bor/bor.proto", }
BorApi_ServiceDesc is the grpc.ServiceDesc for BorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_bor_bor_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBorApiServer ¶
func RegisterBorApiServer(s grpc.ServiceRegistrar, srv BorApiServer)
Types ¶
type Block ¶
type Block struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
---- BLOCK ----
func (*Block) Descriptor
deprecated
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type Bloom ¶
type Bloom struct { Bloom []byte `protobuf:"bytes,1,opt,name=bloom,proto3" json:"bloom,omitempty"` // contains filtered or unexported fields }
func (*Bloom) Descriptor
deprecated
func (*Bloom) ProtoMessage ¶
func (*Bloom) ProtoMessage()
func (*Bloom) ProtoReflect ¶
func (x *Bloom) ProtoReflect() protoreflect.Message
type BorApiClient ¶
type BorApiClient interface { GetRootHash(ctx context.Context, in *GetRootHashRequest, opts ...grpc.CallOption) (*GetRootHashResponse, error) GetVoteOnHash(ctx context.Context, in *GetVoteOnHashRequest, opts ...grpc.CallOption) (*GetVoteOnHashResponse, error) HeaderByNumber(ctx context.Context, in *GetHeaderByNumberRequest, opts ...grpc.CallOption) (*GetHeaderByNumberResponse, error) BlockByNumber(ctx context.Context, in *GetBlockByNumberRequest, opts ...grpc.CallOption) (*GetBlockByNumberResponse, error) TransactionReceipt(ctx context.Context, in *ReceiptRequest, opts ...grpc.CallOption) (*ReceiptResponse, error) BorBlockReceipt(ctx context.Context, in *ReceiptRequest, opts ...grpc.CallOption) (*ReceiptResponse, error) }
BorApiClient is the client API for BorApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBorApiClient ¶
func NewBorApiClient(cc grpc.ClientConnInterface) BorApiClient
type BorApiServer ¶
type BorApiServer interface { GetRootHash(context.Context, *GetRootHashRequest) (*GetRootHashResponse, error) GetVoteOnHash(context.Context, *GetVoteOnHashRequest) (*GetVoteOnHashResponse, error) HeaderByNumber(context.Context, *GetHeaderByNumberRequest) (*GetHeaderByNumberResponse, error) BlockByNumber(context.Context, *GetBlockByNumberRequest) (*GetBlockByNumberResponse, error) TransactionReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error) BorBlockReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error) // contains filtered or unexported methods }
BorApiServer is the server API for BorApi service. All implementations must embed UnimplementedBorApiServer for forward compatibility
type GetBlockByNumberRequest ¶
type GetBlockByNumberRequest struct { Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*GetBlockByNumberRequest) Descriptor
deprecated
func (*GetBlockByNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockByNumberRequest.ProtoReflect.Descriptor instead.
func (*GetBlockByNumberRequest) GetNumber ¶
func (x *GetBlockByNumberRequest) GetNumber() string
func (*GetBlockByNumberRequest) ProtoMessage ¶
func (*GetBlockByNumberRequest) ProtoMessage()
func (*GetBlockByNumberRequest) ProtoReflect ¶
func (x *GetBlockByNumberRequest) ProtoReflect() protoreflect.Message
func (*GetBlockByNumberRequest) Reset ¶
func (x *GetBlockByNumberRequest) Reset()
func (*GetBlockByNumberRequest) String ¶
func (x *GetBlockByNumberRequest) String() string
type GetBlockByNumberResponse ¶
type GetBlockByNumberResponse struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*GetBlockByNumberResponse) Descriptor
deprecated
func (*GetBlockByNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockByNumberResponse.ProtoReflect.Descriptor instead.
func (*GetBlockByNumberResponse) GetBlock ¶
func (x *GetBlockByNumberResponse) GetBlock() *Block
func (*GetBlockByNumberResponse) ProtoMessage ¶
func (*GetBlockByNumberResponse) ProtoMessage()
func (*GetBlockByNumberResponse) ProtoReflect ¶
func (x *GetBlockByNumberResponse) ProtoReflect() protoreflect.Message
func (*GetBlockByNumberResponse) Reset ¶
func (x *GetBlockByNumberResponse) Reset()
func (*GetBlockByNumberResponse) String ¶
func (x *GetBlockByNumberResponse) String() string
type GetHeaderByNumberRequest ¶
type GetHeaderByNumberRequest struct { Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*GetHeaderByNumberRequest) Descriptor
deprecated
func (*GetHeaderByNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHeaderByNumberRequest.ProtoReflect.Descriptor instead.
func (*GetHeaderByNumberRequest) GetNumber ¶
func (x *GetHeaderByNumberRequest) GetNumber() string
func (*GetHeaderByNumberRequest) ProtoMessage ¶
func (*GetHeaderByNumberRequest) ProtoMessage()
func (*GetHeaderByNumberRequest) ProtoReflect ¶
func (x *GetHeaderByNumberRequest) ProtoReflect() protoreflect.Message
func (*GetHeaderByNumberRequest) Reset ¶
func (x *GetHeaderByNumberRequest) Reset()
func (*GetHeaderByNumberRequest) String ¶
func (x *GetHeaderByNumberRequest) String() string
type GetHeaderByNumberResponse ¶
type GetHeaderByNumberResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*GetHeaderByNumberResponse) Descriptor
deprecated
func (*GetHeaderByNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHeaderByNumberResponse.ProtoReflect.Descriptor instead.
func (*GetHeaderByNumberResponse) GetHeader ¶
func (x *GetHeaderByNumberResponse) GetHeader() *Header
func (*GetHeaderByNumberResponse) ProtoMessage ¶
func (*GetHeaderByNumberResponse) ProtoMessage()
func (*GetHeaderByNumberResponse) ProtoReflect ¶
func (x *GetHeaderByNumberResponse) ProtoReflect() protoreflect.Message
func (*GetHeaderByNumberResponse) Reset ¶
func (x *GetHeaderByNumberResponse) Reset()
func (*GetHeaderByNumberResponse) String ¶
func (x *GetHeaderByNumberResponse) String() string
type GetRootHashRequest ¶
type GetRootHashRequest struct { StartBlockNumber uint64 `protobuf:"varint,1,opt,name=startBlockNumber,proto3" json:"startBlockNumber,omitempty"` EndBlockNumber uint64 `protobuf:"varint,2,opt,name=endBlockNumber,proto3" json:"endBlockNumber,omitempty"` // contains filtered or unexported fields }
func (*GetRootHashRequest) Descriptor
deprecated
func (*GetRootHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRootHashRequest.ProtoReflect.Descriptor instead.
func (*GetRootHashRequest) GetEndBlockNumber ¶
func (x *GetRootHashRequest) GetEndBlockNumber() uint64
func (*GetRootHashRequest) GetStartBlockNumber ¶
func (x *GetRootHashRequest) GetStartBlockNumber() uint64
func (*GetRootHashRequest) ProtoMessage ¶
func (*GetRootHashRequest) ProtoMessage()
func (*GetRootHashRequest) ProtoReflect ¶
func (x *GetRootHashRequest) ProtoReflect() protoreflect.Message
func (*GetRootHashRequest) Reset ¶
func (x *GetRootHashRequest) Reset()
func (*GetRootHashRequest) String ¶
func (x *GetRootHashRequest) String() string
type GetRootHashResponse ¶
type GetRootHashResponse struct { RootHash string `protobuf:"bytes,1,opt,name=rootHash,proto3" json:"rootHash,omitempty"` // contains filtered or unexported fields }
func (*GetRootHashResponse) Descriptor
deprecated
func (*GetRootHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRootHashResponse.ProtoReflect.Descriptor instead.
func (*GetRootHashResponse) GetRootHash ¶
func (x *GetRootHashResponse) GetRootHash() string
func (*GetRootHashResponse) ProtoMessage ¶
func (*GetRootHashResponse) ProtoMessage()
func (*GetRootHashResponse) ProtoReflect ¶
func (x *GetRootHashResponse) ProtoReflect() protoreflect.Message
func (*GetRootHashResponse) Reset ¶
func (x *GetRootHashResponse) Reset()
func (*GetRootHashResponse) String ¶
func (x *GetRootHashResponse) String() string
type GetVoteOnHashRequest ¶
type GetVoteOnHashRequest struct { StartBlockNumber uint64 `protobuf:"varint,1,opt,name=startBlockNumber,proto3" json:"startBlockNumber,omitempty"` EndBlockNumber uint64 `protobuf:"varint,2,opt,name=endBlockNumber,proto3" json:"endBlockNumber,omitempty"` Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` MilestoneId string `protobuf:"bytes,4,opt,name=milestoneId,proto3" json:"milestoneId,omitempty"` // contains filtered or unexported fields }
func (*GetVoteOnHashRequest) Descriptor
deprecated
func (*GetVoteOnHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVoteOnHashRequest.ProtoReflect.Descriptor instead.
func (*GetVoteOnHashRequest) GetEndBlockNumber ¶
func (x *GetVoteOnHashRequest) GetEndBlockNumber() uint64
func (*GetVoteOnHashRequest) GetHash ¶
func (x *GetVoteOnHashRequest) GetHash() string
func (*GetVoteOnHashRequest) GetMilestoneId ¶
func (x *GetVoteOnHashRequest) GetMilestoneId() string
func (*GetVoteOnHashRequest) GetStartBlockNumber ¶
func (x *GetVoteOnHashRequest) GetStartBlockNumber() uint64
func (*GetVoteOnHashRequest) ProtoMessage ¶
func (*GetVoteOnHashRequest) ProtoMessage()
func (*GetVoteOnHashRequest) ProtoReflect ¶
func (x *GetVoteOnHashRequest) ProtoReflect() protoreflect.Message
func (*GetVoteOnHashRequest) Reset ¶
func (x *GetVoteOnHashRequest) Reset()
func (*GetVoteOnHashRequest) String ¶
func (x *GetVoteOnHashRequest) String() string
type GetVoteOnHashResponse ¶
type GetVoteOnHashResponse struct { Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*GetVoteOnHashResponse) Descriptor
deprecated
func (*GetVoteOnHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVoteOnHashResponse.ProtoReflect.Descriptor instead.
func (*GetVoteOnHashResponse) GetResponse ¶
func (x *GetVoteOnHashResponse) GetResponse() bool
func (*GetVoteOnHashResponse) ProtoMessage ¶
func (*GetVoteOnHashResponse) ProtoMessage()
func (*GetVoteOnHashResponse) ProtoReflect ¶
func (x *GetVoteOnHashResponse) ProtoReflect() protoreflect.Message
func (*GetVoteOnHashResponse) Reset ¶
func (x *GetVoteOnHashResponse) Reset()
func (*GetVoteOnHashResponse) String ¶
func (x *GetVoteOnHashResponse) String() string
type Header ¶
type Header struct { Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` ParentHash *common.H256 `protobuf:"bytes,2,opt,name=parentHash,proto3" json:"parentHash,omitempty"` Time uint64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetParentHash ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type Log ¶
type Log struct { Address *common.H160 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Topics []*common.H256 `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` BlockNumber uint64 `protobuf:"varint,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` TxHash *common.H256 `protobuf:"bytes,5,opt,name=txHash,proto3" json:"txHash,omitempty"` TxIndex uint64 `protobuf:"varint,6,opt,name=txIndex,proto3" json:"txIndex,omitempty"` BlockHash *common.H256 `protobuf:"bytes,7,opt,name=blockHash,proto3" json:"blockHash,omitempty"` Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetAddress ¶
func (*Log) GetBlockHash ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetRemoved ¶
func (*Log) GetTxIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Receipt ¶
type Receipt struct { Type uint64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` PostState []byte `protobuf:"bytes,2,opt,name=postState,proto3" json:"postState,omitempty"` Status uint64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` CumulativeGasUsed uint64 `protobuf:"varint,4,opt,name=cumulativeGasUsed,proto3" json:"cumulativeGasUsed,omitempty"` Bloom *Bloom `protobuf:"bytes,5,opt,name=bloom,proto3" json:"bloom,omitempty"` Logs []*Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` TxHash *common.H256 `protobuf:"bytes,7,opt,name=txHash,proto3" json:"txHash,omitempty"` ContractAddress *common.H160 `protobuf:"bytes,8,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"` GasUsed uint64 `protobuf:"varint,9,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"` EffectiveGasPrice int64 `protobuf:"varint,10,opt,name=effectiveGasPrice,proto3" json:"effectiveGasPrice,omitempty"` BlobGasUsed uint64 `protobuf:"varint,11,opt,name=blobGasUsed,proto3" json:"blobGasUsed,omitempty"` BlobGasPrice int64 `protobuf:"varint,12,opt,name=blobGasPrice,proto3" json:"blobGasPrice,omitempty"` BlockHash *common.H256 `protobuf:"bytes,13,opt,name=blockHash,proto3" json:"blockHash,omitempty"` BlockNumber int64 `protobuf:"varint,14,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` TransactionIndex uint64 `protobuf:"varint,15,opt,name=transactionIndex,proto3" json:"transactionIndex,omitempty"` // contains filtered or unexported fields }
func (*Receipt) Descriptor
deprecated
func (*Receipt) GetBlobGasPrice ¶
func (*Receipt) GetBlobGasUsed ¶
func (*Receipt) GetBlockHash ¶
func (*Receipt) GetBlockNumber ¶
func (*Receipt) GetContractAddress ¶
func (*Receipt) GetCumulativeGasUsed ¶
func (*Receipt) GetEffectiveGasPrice ¶
func (*Receipt) GetGasUsed ¶
func (*Receipt) GetPostState ¶
func (*Receipt) GetTransactionIndex ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) ProtoReflect ¶
func (x *Receipt) ProtoReflect() protoreflect.Message
type ReceiptRequest ¶
type ReceiptRequest struct { Hash *common.H256 `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*ReceiptRequest) Descriptor
deprecated
func (*ReceiptRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptRequest.ProtoReflect.Descriptor instead.
func (*ReceiptRequest) GetHash ¶
func (x *ReceiptRequest) GetHash() *common.H256
func (*ReceiptRequest) ProtoMessage ¶
func (*ReceiptRequest) ProtoMessage()
func (*ReceiptRequest) ProtoReflect ¶
func (x *ReceiptRequest) ProtoReflect() protoreflect.Message
func (*ReceiptRequest) Reset ¶
func (x *ReceiptRequest) Reset()
func (*ReceiptRequest) String ¶
func (x *ReceiptRequest) String() string
type ReceiptResponse ¶
type ReceiptResponse struct { Receipt *Receipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // contains filtered or unexported fields }
func (*ReceiptResponse) Descriptor
deprecated
func (*ReceiptResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptResponse.ProtoReflect.Descriptor instead.
func (*ReceiptResponse) GetReceipt ¶
func (x *ReceiptResponse) GetReceipt() *Receipt
func (*ReceiptResponse) ProtoMessage ¶
func (*ReceiptResponse) ProtoMessage()
func (*ReceiptResponse) ProtoReflect ¶
func (x *ReceiptResponse) ProtoReflect() protoreflect.Message
func (*ReceiptResponse) Reset ¶
func (x *ReceiptResponse) Reset()
func (*ReceiptResponse) String ¶
func (x *ReceiptResponse) String() string
type UnimplementedBorApiServer ¶
type UnimplementedBorApiServer struct { }
UnimplementedBorApiServer must be embedded to have forward compatible implementations.
func (UnimplementedBorApiServer) BlockByNumber ¶
func (UnimplementedBorApiServer) BlockByNumber(context.Context, *GetBlockByNumberRequest) (*GetBlockByNumberResponse, error)
func (UnimplementedBorApiServer) BorBlockReceipt ¶
func (UnimplementedBorApiServer) BorBlockReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
func (UnimplementedBorApiServer) GetRootHash ¶
func (UnimplementedBorApiServer) GetRootHash(context.Context, *GetRootHashRequest) (*GetRootHashResponse, error)
func (UnimplementedBorApiServer) GetVoteOnHash ¶
func (UnimplementedBorApiServer) GetVoteOnHash(context.Context, *GetVoteOnHashRequest) (*GetVoteOnHashResponse, error)
func (UnimplementedBorApiServer) HeaderByNumber ¶
func (UnimplementedBorApiServer) HeaderByNumber(context.Context, *GetHeaderByNumberRequest) (*GetHeaderByNumberResponse, error)
func (UnimplementedBorApiServer) TransactionReceipt ¶
func (UnimplementedBorApiServer) TransactionReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
type UnsafeBorApiServer ¶
type UnsafeBorApiServer interface {
// contains filtered or unexported methods
}
UnsafeBorApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BorApiServer will result in compilation errors.