tron

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 Tron

type Tron struct {
}

func (*Tron) EthSendRequestToChain

func (t *Tron) EthSendRequestToChain(host string, token string, query string) (string, error)

func (*Tron) GetTokenBalance

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

func (*Tron) GetTokenBalanceByHttp

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

func (*Tron) SendRequestToChain

func (t *Tron) 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