Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfoRequest ¶
type AccountInfoRequest struct { models.BaseRequest Account string `json:"account,omitempty"` LedgerHash string `json:"ledger_hash,omitempty"` LedgerIndex string `json:"ledger_index,omitempty"` Queue bool `json:"queue,omitempty"` SignerLists bool `json:"signer_lists,omitempty"` Strict bool `json:"strict,omitempty"` }
type AccountInfoResponse ¶
type AccountInfoResponse struct { models.BaseResponse Result AccountInfoResult `json:"result,omitempty"` }
type AccountInfoResult ¶
type AccountInfoResult struct { AccountData string `json:"account_data,omitempty"` //todo SignerLists string `json:"signer_lists,omitempty"` //todo LedgerCurrentIndex int `json:"ledger_current_index,omitempty"` LedgerIndex int `json:"ledger_index,omitempty"` QueueData QueueData `json:"queue_data,omitempty"` Validated bool `json:"validated,omitempty"` }
type QueueData ¶
type QueueData struct { TxnCount int `json:"txn_count,omitempty"` AuthChangeQueued bool `json:"auth_change_queued,omitempty"` LowestSequence int `json:"lowest_sequence,omitempty"` HighestSequence int `json:"highest_sequence,omitempty"` MaxSpendDropsTotal string `json:"max_spend_drops_total,omitempty"` Transactions []QueueTransaction `json:"transactions,omitempty"` }
type QueueTransaction ¶
type TxRequest ¶
type TxRequest struct { models.BaseRequest Transaction string `json:"transaction,omitempty"` Binary bool `json:"binary,omitempty"` MinLedger int64 `json:"min_ledger,omitempty"` MaxLedger int64 `json:"max_ledger,omitempty"` }
The tx method retrieves information on a single transaction, by its identifying hash. Expects a response in the form of a TxResponse.
type TxResponse ¶
type TxResponse struct { models.BaseResponse Result TxResponseResult `json:"result,omitempty"` SearchedAll bool `json:"searched_all,omitempty"` }
Response expected from a TxRequest.
type TxResponseResult ¶
type TxResponseResult struct { models.Transaction Hash string `json:"hash,omitempty"` LedgerIndex int64 `json:"ledger_index,omitempty"` Meta models.TransactionMetadata `json:"meta,omitempty"` Validated bool `json:"validated,omitempty"` Date int64 `json:"date,omitempty"` }
Click to show internal directories.
Click to hide internal directories.