btc

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 (e *Btc) GetToken1155(host string, key string, contractAddress string, userAddress string) (map[string]interface{}, error)

func (*Btc) GetToken20

func (e *Btc) GetToken20(host string, key string, contractAddress string, userAddress string) (map[string]interface{}, error)

func (*Btc) GetToken20ByHttp

func (e *Btc) GetToken20ByHttp(host string, token string, contractAddress string, userAddress string) (map[string]interface{}, error)

func (*Btc) GetToken721

func (e *Btc) GetToken721(host string, key string, contractAddress string, userAddress string) (map[string]interface{}, error)

func (*Btc) SendRequestToChain

func (e *Btc) SendRequestToChain(host string, token string, query string) (string, error)

func (*Btc) SendRequestToChainByHttp

func (e *Btc) SendRequestToChainByHttp(host string, token string, query string) (string, error)

func (*Btc) Subscribe

func (e *Btc) Subscribe(host string, token string) (string, error)

func (*Btc) UnSubscribe

func (e *Btc) UnSubscribe(host string, token string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL