Documentation
¶
Index ¶
- Variables
- type Account
- type AppState
- type Bech32m
- type BigInt
- type DenomMetadata
- type DenomMetadataResponse
- type Error
- type Fees
- type Genesis
- type NodeInfo
- type Other
- type Prefixes
- type ProtocolVersion
- type PubKey
- type Request
- type Response
- type Status
- type SyncInfo
- 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 { TransferBaseFee BigInt `json:"transfer_base_fee"` SequenceBaseFee BigInt `json:"sequence_base_fee"` SequenceByteCostMultiplier BigInt `json:"sequence_byte_cost_multiplier"` InitBridgeAccountBaseFee BigInt `json:"init_bridge_account_base_fee"` BridgeLockByteCostMultiplier BigInt `json:"bridge_lock_byte_cost_multiplier"` Ics20WithdrawalBaseFee BigInt `json:"ics20_withdrawal_base_fee"` BridgeSudoChangeFee BigInt `json:"bridge_sudo_change_fee"` }
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.