xrp

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: 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 XRP

type XRP struct {
}

func (*XRP) GetToken1155

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

func (*XRP) GetToken20

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

func (*XRP) GetToken20ByHttp

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

func (*XRP) GetToken721

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

func (*XRP) SendRequestToChain

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

func (*XRP) SendRequestToChainByHttp

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

func (*XRP) Subscribe

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

func (*XRP) UnSubscribe

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