address

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccount

func GetAccount(c *gin.Context)

GetAccount returns an accountResponse containing information about the account correlated with provided address

func GetBalance

func GetBalance(c *gin.Context)

GetBalance returns the balance for the address parameter

func GetNonce

func GetNonce(c *gin.Context)

GetNonce returns the nonce for the address parameter

func Routes

func Routes(router *gin.RouterGroup)

Routes defines address related routes

Types

type FacadeHandler

type FacadeHandler interface {
	GetAccount(address string) (*data.Account, error)
}

FacadeHandler interface defines methods that can be used from `numbatProxyFacade` context variable

Jump to

Keyboard shortcuts

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