Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccount ¶
GetAccount returns an accountResponse containing information
about the account correlated with provided address
func GetBalance ¶
GetBalance returns the balance for the address parameter
func GetESDTBalance ¶ added in v1.1.12
GetESDTBalance returns the balance for the given address and esdt token
func GetESDTTokens ¶ added in v1.1.12
GetESDTTokens returns the tokens list from this account
func GetUsername ¶ added in v1.1.1
GetUsername returns the username for the address parameter
func GetValueForKey ¶ added in v1.0.125
GetValueForKey returns the value for the given address and key
Types ¶
type FacadeHandler ¶
type FacadeHandler interface {
GetBalance(address string) (*big.Int, error)
GetUsername(address string) (string, error)
GetValueForKey(address string, key string) (string, error)
GetAccount(address string) (state.UserAccountHandler, error)
GetESDTBalance(address string, key string) (string, string, error)
GetAllESDTTokens(address string) ([]string, error)
IsInterfaceNil() bool
}
FacadeHandler interface defines methods that can be used by the gin webserver
Click to show internal directories.
Click to hide internal directories.