Documentation
¶
Index ¶
- type CoinItem
- type Coins
- 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)
- type MetaData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinItem ¶
type CoinItem struct {
CoinType string `json:"coinType"`
CoinObjectId string `json:"coinObjectId"`
Version string `json:"version"`
Digest string `json:"digest"`
Balance string `json:"balance"`
PreviousTransaction string `json:"previousTransaction"`
}
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.