Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllAccountFilterOption = []AccountFilterOption{ AccountFilterOptionAll, AccountFilterOptionFrom, AccountFilterOptionTo, }
View Source
var AllOrder = []Order{ OrderAsc, OrderDesc, }
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID string `json:"id"` Sequence string `json:"sequence"` HomeDomain string `json:"homeDomain"` NativeBalance string `json:"nativeBalance"` MasterWeight int `json:"masterWeight"` LowThreshold int `json:"lowThreshold"` MediumThreshold int `json:"mediumThreshold"` HighThreshold int `json:"highThreshold"` Flags *Flags `json:"flags"` Balances []*Balance `json:"balances"` Signers []*Signer `json:"signers"` Data []*Data `json:"data"` Transactions []*Transaction `json:"transactions"` }
type AccountFilter ¶
type AccountFilter struct { PubKey string `json:"pubKey"` Direction AccountFilterOption `json:"direction"` }
type AccountFilterOption ¶
type AccountFilterOption string
const ( AccountFilterOptionAll AccountFilterOption = "all" AccountFilterOptionFrom AccountFilterOption = "from" AccountFilterOptionTo AccountFilterOption = "to" )
func (AccountFilterOption) IsValid ¶
func (e AccountFilterOption) IsValid() bool
func (AccountFilterOption) MarshalGQL ¶
func (e AccountFilterOption) MarshalGQL(w io.Writer)
func (AccountFilterOption) String ¶
func (e AccountFilterOption) String() string
func (*AccountFilterOption) UnmarshalGQL ¶
func (e *AccountFilterOption) UnmarshalGQL(v interface{}) error
type Balance ¶
type Balance struct { Balance string `json:"balance"` BuyingLiabilities string `json:"buyingLiabilities"` SellingLiabilities string `json:"sellingLiabilities"` Limit string `json:"limit"` LastModifiedLedger int `json:"lastModifiedLedger"` IsAuthorized bool `json:"isAuthorized"` AssetCode string `json:"assetCode"` AssetIssuer string `json:"assetIssuer"` }
type DateFilter ¶
type FilterBy ¶
type FilterBy struct { Account *AccountFilter `json:"account"` Date *DateFilter `json:"date"` Ledger *LedgerFilter `json:"ledger"` }
type Ledger ¶
type Ledger struct { Sequence int `json:"sequence"` LedgerHash string `json:"ledgerHash"` PreviousLedgerHash *string `json:"previousLedgerHash"` TransactionCount int `json:"transactionCount"` OperationCount int `json:"operationCount"` ClosedAt string `json:"closedAt"` CreatedAt *string `json:"createdAt"` UpdatedAt *string `json:"updatedAt"` ID *int `json:"id"` ImporterVersion int `json:"importerVersion"` TotalCoins string `json:"totalCoins"` FeePool string `json:"feePool"` BaseFee int `json:"baseFee"` BaseReserve int `json:"baseReserve"` MaxTxSetSize int `json:"maxTxSetSize"` ProtocolVersion int `json:"protocolVersion"` LedgerHeader *string `json:"ledgerHeader"` SuccessfulTransactionCount *int `json:"successfulTransactionCount"` FailedTransactionCount *int `json:"failedTransactionCount"` Transactions []*Transaction `json:"transactions"` }
type LedgerFilter ¶
type Transaction ¶
type Transaction struct { TransactionHash string `json:"transactionHash"` LedgerSequence int `json:"ledgerSequence"` ApplicationOrder int `json:"applicationOrder"` Account string `json:"account"` AccountSequence string `json:"accountSequence"` MaxFee string `json:"maxFee"` OperationCount int `json:"operationCount"` CreatedAt *string `json:"createdAt"` UpdatedAt *string `json:"updatedAt"` ID *string `json:"id"` TxEnvelope string `json:"txEnvelope"` TxResult string `json:"txResult"` TxMeta string `json:"txMeta"` TxFeeMeta string `json:"txFeeMeta"` Signatures []string `json:"signatures"` MemoType string `json:"memoType"` Memo *string `json:"memo"` TimeBounds []*int `json:"timeBounds"` Successful *bool `json:"successful"` FeeCharged *string `json:"feeCharged"` InnerTransactionHash *string `json:"innerTransactionHash"` FeeAccount *string `json:"feeAccount"` InnerSignatures []*string `json:"innerSignatures"` NewMaxFee *string `json:"newMaxFee"` Operations []*Operation `json:"operations"` }
Click to show internal directories.
Click to hide internal directories.