Documentation
¶
Index ¶
- type Handler
- func (h *Handler) CallContract(ctx context.Context, contractAddress, params, blockNumber string) ([]byte, error)
- func (h *Handler) CheckTx(ctx context.Context, hash string) (*chainrpc.TxResult, error)
- func (h *Handler) GetBalance(ctx context.Context, address, contractAddress, blockNumber string) (string, error)
- func (h *Handler) GetHeight(ctx context.Context) (string, error)
- func (h *Handler) InquireChain(ctx context.Context, instruction, params string) (string, error)
- func (h *Handler) SendTx(ctx context.Context, signedHex string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) CallContract ¶
func (*Handler) GetBalance ¶
func (*Handler) InquireChain ¶
Click to show internal directories.
Click to hide internal directories.