ether

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChainClient

func NewChainClient() blockchain.ChainConn

func NewNFTClient added in v0.5.1

func NewNFTClient() blockchain.NFT

Types

type Ether

type Ether struct {
}

func (*Ether) BalanceOf added in v0.5.1

func (e *Ether) BalanceOf(host string, key string, contractAddress string, address string, tokenId string, eip int64) (string, error)

func (*Ether) GetToken1155 added in v0.5.1

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

func (*Ether) GetToken20 added in v0.5.1

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

func (*Ether) GetToken20ByHttp added in v0.5.1

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

func (*Ether) GetToken721 added in v0.5.1

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

func (*Ether) OwnerOf added in v0.5.1

func (e *Ether) OwnerOf(host string, key string, contractAddress string, tokenId string, eip int64) (string, error)

func (*Ether) SendRequestToChain

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

func (*Ether) SendRequestToChainByHttp

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

func (*Ether) Subscribe added in v0.5.1

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

func (*Ether) TokenURI added in v0.5.1

func (e *Ether) TokenURI(host string, key string, contractAddress string, tokenId string, eip int64) (string, error)

func (*Ether) TotalSupply added in v0.5.1

func (e *Ether) TotalSupply(host string, key string, contractAddress string, eip int64) (string, error)

func (*Ether) UnSubscribe added in v0.5.1

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