Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counters ¶
type Counters struct { RPC map[string]RPC `json:"rpc"` Subscriptions Subscriptions `json:"subscriptions"` }
type Ledger ¶
type Ledger struct { AccountHash string `json:"account_hash"` AccountState []ledger.FlatLedgerObject `json:"accountState,omitempty"` CloseFlags int `json:"close_flags"` CloseTime uint `json:"close_time"` CloseTimeHuman string `json:"close_time_human"` CloseTimeResolution int `json:"close_time_resolution"` Closed bool `json:"closed"` LedgerHash common.LedgerHash `json:"ledger_hash"` LedgerIndex string `json:"ledger_index"` ParentCloseTime uint `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"` }
Ledger is a struct that represents the ledger information.
type LedgerInfo ¶
type NFToken ¶
type NFToken struct { NFTokenID types.NFTokenID `json:"nft_id"` LedgerIndex common.LedgerIndex `json:"ledger_index"` Owner types.Address `json:"owner"` IsBurned bool `json:"is_burned"` Flags uint `json:"flags"` TransferFee uint `json:"transfer_fee"` Issuer types.Address `json:"issuer"` NFTokenTaxon uint `json:"nft_taxon"` NFTokenSequence uint `json:"nft_sequence"` URI types.NFTokenURI `json:"uri,omitempty"` }
NFToken is a struct that represents an NFToken. It contains the information about the NFToken, such as the ID, the ledger index, the owner, if it is burned, the flags, the transfer fee, the issuer, the taxon, the sequence, the URI, and the URI JSON.
type Subscriptions ¶
type Subscriptions struct { Ledger int `json:"ledger"` Transactions int `json:"transactions"` TransactionsProposed int `json:"transactions_proposed"` Manifests int `json:"manifests"` Validations int `json:"validations"` Account int `json:"account"` AccountsProposed int `json:"accounts_proposed"` Books int `json:"books"` }
Click to show internal directories.
Click to hide internal directories.