account

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBalance

func GetBalance(a Account, assetID []byte) int

GetBalance returns the balance of for the given account and asset id.

func GetScriptHash

func GetScriptHash(a Account) []byte

GetScriptHash returns the script hash of the given account.

func GetVotes

func GetVotes(a Account) [][]byte

GetVotes returns the votes of the given account which should be a slice of public key raw bytes.

Types

type Account

type Account struct{}

Account stubs a NEO account type.

Jump to

Keyboard shortcuts

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