Documentation
¶
Index ¶
- func ToBlockNumArg(number *big.Int) string
- type BorGRPCClient
- func (h *BorGRPCClient) BlockByNumber(ctx context.Context, blockID int64) (*ethTypes.Block, error)
- func (h *BorGRPCClient) BorBlockReceipt(ctx context.Context, txHash common.Hash) (*ethTypes.Receipt, error)
- func (h *BorGRPCClient) Close()
- func (h *BorGRPCClient) GetRootHash(ctx context.Context, startBlock uint64, endBlock uint64) (string, error)
- func (h *BorGRPCClient) GetVoteOnHash(ctx context.Context, startBlock uint64, endBlock uint64, rootHash string, ...) (bool, error)
- func (h *BorGRPCClient) HeaderByNumber(ctx context.Context, blockID int64) (*ethTypes.Header, error)
- func (h *BorGRPCClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*ethTypes.Receipt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToBlockNumArg ¶
Types ¶
type BorGRPCClient ¶
type BorGRPCClient struct {
// contains filtered or unexported fields
}
func NewBorGRPCClient ¶
func NewBorGRPCClient(address string) *BorGRPCClient
func (*BorGRPCClient) BlockByNumber ¶
func (*BorGRPCClient) BorBlockReceipt ¶
func (*BorGRPCClient) Close ¶
func (h *BorGRPCClient) Close()
func (*BorGRPCClient) GetRootHash ¶
func (*BorGRPCClient) GetVoteOnHash ¶
func (*BorGRPCClient) HeaderByNumber ¶
func (*BorGRPCClient) TransactionReceipt ¶
Click to show internal directories.
Click to hide internal directories.