types

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseLedger

type BaseLedger struct {
	AccountHash         string                        `json:"account_hash"`
	AccountState        []ledger.FlatLedgerObject     `json:"accountState,omitempty"`
	CloseFlags          int                           `json:"close_flags"`
	CloseTime           int                           `json:"close_time"`
	CloseTimeHuman      string                        `json:"close_time_human"`
	CloseTimeResolution int                           `json:"close_time_resolution"`
	Closed              bool                          `json:"closed"`
	LedgerHash          string                        `json:"ledger_hash"`
	LedgerIndex         string                        `json:"ledger_index"`
	ParentCloseTime     int                           `json:"parent_close_time"`
	ParentHash          string                        `json:"parent_hash"`
	TotalCoins          types.XRPCurrencyAmount       `json:"total_coins"`
	TransactionHash     string                        `json:"transaction_hash"`
	Transactions        []transaction.FlatTransaction `json:"transactions,omitempty"`
}

type QueueData

type QueueData struct {
	Account          types.Address               `json:"account"`
	Tx               transaction.FlatTransaction `json:"tx"`
	RetriesRemaining int                         `json:"retries_remaining"`
	PreflightResult  string                      `json:"preflight_result"`
	LastResult       string                      `json:"last_result,omitempty"`
	AuthChange       bool                        `json:"auth_change,omitempty"`
	Fee              types.XRPCurrencyAmount     `json:"fee,omitempty"`
	FeeLevel         types.XRPCurrencyAmount     `json:"fee_level,omitempty"`
	MaxSpendDrops    types.XRPCurrencyAmount     `json:"max_spend_drops,omitempty"`
}

type State

type State struct {
	Data            string                  `json:"data,omitempty"`
	LedgerEntryType ledger.EntryType        `json:",omitempty"`
	LedgerObject    ledger.FlatLedgerObject `json:"-"`
	Index           string                  `json:"index"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL