Documentation ¶
Index ¶
- func GetAccount(scriptHash []byte) account.Account
- func GetAsset(assetID []byte) asset.Asset
- func GetBlock(heightOrHash interface{}) block.Block
- func GetContract(scriptHash []byte) contract.Contract
- func GetHeader(heightOrHash interface{}) header.Header
- func GetHeight() int
- func GetTransaction(hash []byte) transaction.Transaction
- func GetValidators() [][]byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccount ¶
GetAccount returns the account found by the given script hash.
func GetContract ¶
GetContract returns the contract found by the given script hash.
func GetHeight ¶
func GetHeight() int
GetHeight returns the height of te block recorded in the current execution scope.
func GetTransaction ¶
func GetTransaction(hash []byte) transaction.Transaction
GetTransaction returns the transaction found by the given hash.
func GetValidators ¶
func GetValidators() [][]byte
GetValidators returns a slice of validator addresses.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.