ether

package
v0.0.0-...-a79b478 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 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() chain.BlockChain

Types

type Ether

type Ether struct {
}

func (*Ether) EthSendRequestToChain

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

func (*Ether) GetTokenBalance

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

func (*Ether) GetTokenBalanceByHttp

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

func (*Ether) SendRequestToChain

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

Jump to

Keyboard shortcuts

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