Documentation
¶
Index ¶
- Variables
- type Account
- type AppState
- type Bech32m
- type DenomMetadata
- type DenomMetadataResponse
- type Error
- type Fee
- type Fees
- type Genesis
- type NodeInfo
- type Other
- type Prefixes
- type ProtocolVersion
- type PubKey
- type Request
- type Response
- type Status
- type SyncInfo
- type UInt128
- type Validator
- type ValidatorInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRequest = errors.New("request error")
)
errors
Functions ¶
This section is empty.
Types ¶
type AppState ¶
type AppState struct { Accounts []Account `json:"accounts"` AddressesPrefixes Prefixes `json:"address_prefixes"` AuthoritySudoAddress Bech32m `json:"authority_sudo_address"` IbcSudoAddress Bech32m `json:"ibc_sudo_address"` IbcRelayerAddresses []Bech32m `json:"ibc_relayer_addresses"` NativeAssetBaseDenomination string `json:"native_asset_base_denomination"` Fees Fees `json:"fees"` AllowedFeeAssets []string `json:"allowed_fee_assets"` }
type DenomMetadata ¶
type DenomMetadataResponse ¶
type DenomMetadataResponse struct {
Response DenomMetadata `json:"response"`
}
type Error ¶
type Error struct { Code int64 `json:"code"` Message string `json:"message"` Data json.RawMessage `json:"data"` }
Error -
type Fees ¶
type Fees struct { Transfer Fee `json:"transfer"` RollupDataSubmission Fee `json:"rollup_data_submission"` Ics20Withdrawal Fee `json:"ics20_withdrawal"` InitBridgeAccount Fee `json:"init_bridge_account"` BridgeLock Fee `json:"bridge_lock"` BridgeUnlock Fee `json:"bridge_unlock"` BridgeSudoChange Fee `json:"bridge_sudo_change"` IbcRelay Fee `json:"ibc_relay"` ValidatorUpdate Fee `json:"validator_update"` FeeAssetChange Fee `json:"fee_asset_change"` FeeChange Fee `json:"fee_change"` IbcRelayerChange Fee `json:"ibc_relayer_change"` SudoAddressChange Fee `json:"sudo_address_change"` IbcSudoChange Fee `json:"ibc_sudo_change"` }
type Genesis ¶
type Genesis struct { GenesisTime time.Time `json:"genesis_time"` ChainID string `json:"chain_id"` InitialHeight int64 `json:"initial_height,string"` ConsensusParams types.ConsensusParams `json:"consensus_params"` AppHash types.Hex `json:"app_hash"` AppState AppState `json:"app_state"` Validators []Validator `json:"validators"` }
type NodeInfo ¶
type NodeInfo struct { ProtocolVersion ProtocolVersion `json:"protocol_version"` ID string `json:"id"` ListenAddr string `json:"listen_addr"` Network string `json:"network"` Version string `json:"version"` Channels string `json:"channels"` Moniker string `json:"moniker"` Other Other `json:"other"` }
type ProtocolVersion ¶
type Status ¶
type Status struct { NodeInfo NodeInfo `json:"node_info"` SyncInfo SyncInfo `json:"sync_info"` ValidatorInfo ValidatorInfo `json:"validator_info"` }
type SyncInfo ¶
type SyncInfo struct { LatestBlockHash []byte `json:"latest_block_hash"` LatestAppHash []byte `json:"latest_app_hash"` LatestBlockHeight pkgTypes.Level `json:"latest_block_height,string"` LatestBlockTime time.Time `json:"latest_block_time"` EarliestBlockHash []byte `json:"earliest_block_hash"` EarliestAppHash []byte `json:"earliest_app_hash"` EarliestBlockHeight pkgTypes.Level `json:"earliest_block_height,string"` EarliestBlockTime time.Time `json:"earliest_block_time"` CatchingUp bool `json:"catching_up"` }
type ValidatorInfo ¶
Click to show internal directories.
Click to hide internal directories.