polygonpos

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChainClient

func NewChainClient() blockchain.ChainConn

Types

type PolygonPos

type PolygonPos struct {
}

func (*PolygonPos) GetToken1155 added in v0.5.1

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

func (*PolygonPos) GetToken20 added in v0.5.1

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

func (*PolygonPos) GetToken20ByHttp added in v0.5.1

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

func (*PolygonPos) GetToken721 added in v0.5.1

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

func (*PolygonPos) SendRequestToChain

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

func (*PolygonPos) SendRequestToChainByHttp

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

func (*PolygonPos) Subscribe added in v0.5.1

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

func (*PolygonPos) UnSubscribe added in v0.5.1

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