Documentation ¶
Index ¶
- func NewChainClient() blockchain.ChainConn
- type Filecoin
- func (e *Filecoin) GetToken1155(host string, token string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (e *Filecoin) GetToken20(host string, key string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (e *Filecoin) GetToken20ByHttp(host string, token string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (e *Filecoin) GetToken721(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)
- func (e *Filecoin) Subscribe(host string, token string) (string, error)
- func (e *Filecoin) UnSubscribe(host string, token string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChainClient ¶
func NewChainClient() blockchain.ChainConn
Types ¶
type Filecoin ¶
type Filecoin struct { }
func (*Filecoin) GetToken1155 ¶ added in v0.5.1
func (*Filecoin) GetToken20 ¶ added in v0.5.1
func (*Filecoin) GetToken20ByHttp ¶ added in v0.5.1
func (*Filecoin) GetToken721 ¶ added in v0.5.1
func (*Filecoin) SendRequestToChain ¶
func (*Filecoin) SendRequestToChainByHttp ¶
Click to show internal directories.
Click to hide internal directories.