Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureAllRequest ¶
type FeatureAllRequest struct {
common.BaseRequest
}
The feature command returns information about amendments this server knows about, including whether they are enabled.
func (*FeatureAllRequest) APIVersion ¶ added in v0.1.3
func (*FeatureAllRequest) APIVersion() int
func (*FeatureAllRequest) Method ¶
func (*FeatureAllRequest) Method() string
type FeatureAllResponse ¶
type FeatureAllResponse struct {
Features map[string]types.FeatureStatus `json:"features"`
}
The feature command returns information about amendments this server knows about, including whether they are enabled.
type FeatureOneRequest ¶
type FeatureOneRequest struct { common.BaseRequest Feature string `json:"feature"` }
func (*FeatureOneRequest) APIVersion ¶ added in v0.1.3
func (*FeatureOneRequest) APIVersion() int
func (*FeatureOneRequest) Method ¶
func (*FeatureOneRequest) Method() string
type FeatureResponse ¶
type FeatureResponse map[string]types.FeatureStatus
The expected response from the feature method.
type FeeRequest ¶
type FeeRequest struct {
common.BaseRequest
}
The fee command reports the current state of the open-ledger requirements for the transaction cost. This requires the FeeEscalation amendment to be enabled.
func (*FeeRequest) APIVersion ¶ added in v0.1.3
func (*FeeRequest) APIVersion() int
func (*FeeRequest) Method ¶
func (*FeeRequest) Method() string
type FeeResponse ¶
type FeeResponse struct { CurrentLedgerSize string `json:"current_ledger_size"` CurrentQueueSize string `json:"current_queue_size"` Drops servertypes.FeeDrops `json:"drops"` ExpectedLedgerSize string `json:"expected_ledger_size"` LedgerCurrentIndex common.LedgerIndex `json:"ledger_current_index"` Levels servertypes.FeeLevels `json:"levels"` MaxQueueSize string `json:"max_queue_size"` }
The expected response from the fee method.
type InfoRequest ¶
type InfoRequest struct {
common.BaseRequest
}
The server_info command asks the server for a human-readable version of various information about the rippled server being queried.
func (*InfoRequest) APIVersion ¶ added in v0.1.3
func (*InfoRequest) APIVersion() int
func (*InfoRequest) Method ¶
func (*InfoRequest) Method() string
type InfoResponse ¶
type InfoResponse struct {
Info servertypes.Info `json:"info"`
}
The expected response from the server_info method.
type ManifestDetails ¶
type ManifestRequest ¶
type ManifestRequest struct { common.BaseRequest PublicKey string `json:"public_key"` }
The manifest method reports the current "manifest" information for a given validator public key. The "manifest" is the public portion of that validator's configured token.
func (*ManifestRequest) APIVersion ¶ added in v0.1.3
func (*ManifestRequest) APIVersion() int
func (*ManifestRequest) Method ¶
func (*ManifestRequest) Method() string
type ManifestResponse ¶
type ManifestResponse struct { Details ManifestDetails `json:"details,omitempty"` Manifest string `json:"manifest,omitempty"` Requested string `json:"requested"` }
The expected response from the manifest method.
type StateRequest ¶
type StateRequest struct {
common.BaseRequest
}
The server_state command asks the server for various machine-readable information about the rippled server's current state. The response is almost the same as the server_info method, but uses units that are easier to process instead of easier to read.
func (*StateRequest) APIVersion ¶ added in v0.1.3
func (*StateRequest) APIVersion() int
func (*StateRequest) Method ¶
func (*StateRequest) Method() string
type StateResponse ¶
type StateResponse struct {
State servertypes.State `json:"state"`
}
The expected response from the server_state method.