filecoin

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: 7 Imported by: 0

Documentation

Index

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

func (*Filecoin) GetToken20 added in v0.5.1

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

func (*Filecoin) GetToken20ByHttp added in v0.5.1

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

func (*Filecoin) GetToken721 added in v0.5.1

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

func (*Filecoin) SendRequestToChain

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

func (*Filecoin) SendRequestToChainByHttp

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

func (*Filecoin) Subscribe added in v0.5.1

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

func (*Filecoin) UnSubscribe added in v0.5.1

func (e *Filecoin) 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