Documentation ¶
Index ¶
- func NewChainClient() chain.BlockChain
- type Ether
- func (e *Ether) EthSendRequestToChain(host string, token string, query string) (string, error)
- func (e *Ether) GetTokenBalance(host string, key string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (e *Ether) GetTokenBalanceByHttp(host string, token string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (e *Ether) SendRequestToChain(host string, token string, query string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChainClient ¶
func NewChainClient() chain.BlockChain
Types ¶
type Ether ¶
type Ether struct { }
func (*Ether) EthSendRequestToChain ¶
func (*Ether) GetTokenBalance ¶
func (*Ether) GetTokenBalanceByHttp ¶
Click to show internal directories.
Click to hide internal directories.