Documentation
¶
Index ¶
- type AccountList
- type BlockchainInfo
- type Blocks
- type Call
- type ChainId
- type ClientVersion
- type EventSub
- type EventUnsub
- type GenesisHash
- type LatestBlockHeight
- type Listeners
- type Listening
- type Moniker
- type NameRegEntry
- type PollResponse
- type ResultListNames
- type Storage
- type StorageItem
- type ValidatorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountList ¶
Accounts
type BlockchainInfo ¶
type BlockchainInfo struct {
ChainId string `json:"chain_id"`
GenesisHash []byte `json:"genesis_hash"`
LatestBlockHeight int `json:"latest_block_height"`
LatestBlock *types.BlockMeta `json:"latest_block"`
}
BlockchainInfo
type Blocks ¶
type Blocks struct {
MinHeight int `json:"min_height"`
MaxHeight int `json:"max_height"`
BlockMetas []*types.BlockMeta `json:"block_metas"`
}
GetBlocks
type ClientVersion ¶
type ClientVersion struct {
ClientVersion string `json:"client_version"`
}
type LatestBlockHeight ¶
type LatestBlockHeight struct {
Height int `json:"height"`
}
Get the latest
type NameRegEntry ¶
type ResultListNames ¶
type ResultListNames struct {
BlockHeight int `json:"block_height"`
Names []*NameRegEntry `json:"names"`
}
type Storage ¶
type Storage struct {
StorageRoot []byte `json:"storage_root"`
StorageItems []StorageItem `json:"storage_items"`
}
Account storage
type StorageItem ¶
A contract account storage item.
Click to show internal directories.
Click to hide internal directories.