wasm

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DymWasmBlockExplorerNamespace = "wasm"

	ApiVersion = "1.0"
)

RPC namespaces and API version

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API is the Wasm Block Explorer JSON-RPC.

func NewWasmBeAPI

func NewWasmBeAPI(
	ctx *server.Context,
	backend iwberpcbackend.WasmBackendI,
) *API

NewWasmBeAPI creates an instance of the Wasm Block Explorer API.

func (*API) Echo

func (api *API) Echo(text string) string

func (*API) GetCw20Balance

func (api *API) GetCw20Balance(accountAddress string, contractAddresses []string) (berpctypes.GenericBackendResponse, error)

func (*API) GetCw20ContractInfo

func (api *API) GetCw20ContractInfo(contractAddress string) (berpctypes.GenericBackendResponse, error)

Jump to

Keyboard shortcuts

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