Documentation ¶
Index ¶
- func NewChainClient() chain.BlockChain
- type Tron
- func (t *Tron) EthSendRequestToChain(host string, token string, query string) (string, error)
- func (t *Tron) GetTokenBalance(host string, key string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (t *Tron) GetTokenBalanceByHttp(host string, token string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (t *Tron) 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 Tron ¶
type Tron struct { }
func (*Tron) EthSendRequestToChain ¶
func (*Tron) GetTokenBalance ¶
func (*Tron) GetTokenBalanceByHttp ¶
Click to show internal directories.
Click to hide internal directories.