Documentation ¶
Index ¶
- func NewChainClient() blockchain.ChainConn
- type Btc
- func (e *Btc) GetToken1155(host string, key string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (e *Btc) GetToken20(host string, key string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (e *Btc) GetToken20ByHttp(host string, token string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (e *Btc) GetToken721(host string, key string, contractAddress string, userAddress string) (map[string]interface{}, error)
- func (e *Btc) SendRequestToChain(host string, token string, query string) (string, error)
- func (e *Btc) SendRequestToChainByHttp(host string, token string, query string) (string, error)
- func (e *Btc) Subscribe(host string, token string) (string, error)
- func (e *Btc) 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 Btc ¶
type Btc struct {
// contains filtered or unexported fields
}
func (*Btc) GetToken1155 ¶
func (*Btc) GetToken20 ¶
func (*Btc) GetToken20ByHttp ¶
func (*Btc) GetToken721 ¶
func (*Btc) SendRequestToChain ¶
func (*Btc) SendRequestToChainByHttp ¶
Click to show internal directories.
Click to hide internal directories.