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