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