Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2021 Changes in this version + var KeyTypeNames = map[strkey.VersionByte]string + func KeyTypeFromAddress(address string) (string, error) + func MustKeyTypeFromAddress(address string) string + type Account struct + AccountID string + Balances []Balance + Data map[string]string + Flags AccountFlags + HomeDomain string + ID string + InflationDestination string + LastModifiedLedger uint32 + LastModifiedTime *time.Time + Links struct{ ... } + NumSponsored uint32 + NumSponsoring uint32 + PT string + Sequence string + Signers []Signer + Sponsor string + SubentryCount int32 + Thresholds AccountThresholds + func (a *Account) GetData(key string) ([]byte, error) + func (a *Account) IncrementSequenceNumber() (int64, error) + func (a *Account) MustGetData(key string) []byte + func (a *Account) SignerSummary() map[string]int32 + func (a Account) GetAccountID() string + func (a Account) GetCreditBalance(code string, issuer string) string + func (a Account) GetNativeBalance() (string, error) + func (a Account) GetSequenceNumber() (int64, error) + func (res Account) PagingToken() string + type AccountData struct + Sponsor string + Value string + type AccountFlags struct + AuthImmutable bool + AuthRequired bool + AuthRevocable bool + type AccountThresholds struct + HighThreshold byte + LowThreshold byte + MedThreshold byte + type AccountsPage struct + Embedded struct{ ... } + Links hal.Links + type Asset base.Asset + type AssetStat struct + Amount string + Flags AccountFlags + Links struct{ ... } + NumAccounts int32 + PT string + func (res AssetStat) PagingToken() string + type AssetsPage struct + Embedded struct{ ... } + Links hal.Links + type Balance struct + Balance string + BuyingLiabilities string + IsAuthorized *bool + IsAuthorizedToMaintainLiabilities *bool + LastModifiedLedger uint32 + Limit string + SellingLiabilities string + Sponsor string + type ClaimableBalance struct + Amount string + Asset string + BalanceID string + Claimants []Claimant + LastModifiedLedger uint32 + LastModifiedTime *time.Time + Links struct{ ... } + PT string + Sponsor string + func (res ClaimableBalance) PagingToken() string + type ClaimableBalances struct + Embedded struct{ ... } + Links struct{ ... } + type Claimant struct + Destination string + Predicate xdr.ClaimPredicate + type FeeBumpTransaction struct + Hash string + Signatures []string + type FeeDistribution struct + Max int64 + Min int64 + Mode int64 + P10 int64 + P20 int64 + P30 int64 + P40 int64 + P50 int64 + P60 int64 + P70 int64 + P80 int64 + P90 int64 + P95 int64 + P99 int64 + type FeeStats struct + FeeCharged FeeDistribution + LastLedger uint32 + LastLedgerBaseFee int64 + LedgerCapacityUsage float64 + MaxFee FeeDistribution + type InnerTransaction struct + Hash string + MaxFee int64 + Signatures []string + type Ledger struct + BaseFee int32 + BaseReserve int32 + ClosedAt time.Time + FailedTransactionCount *int32 + FeePool string + Hash string + HeaderXDR string + ID string + Links struct{ ... } + MaxTxSetSize int32 + OperationCount int32 + PT string + PrevHash string + ProtocolVersion int32 + Sequence int32 + SuccessfulTransactionCount int32 + TotalCoins string + TxSetOperationCount *int32 + func (l Ledger) PagingToken() string + type LedgersPage struct + Embedded struct{ ... } + Links hal.Links + type Offer struct + Amount string + Buying Asset + ID int64 + LastModifiedLedger int32 + LastModifiedTime *time.Time + Links struct{ ... } + PT string + Price string + PriceR Price + Seller string + Selling Asset + Sponsor string + func (o Offer) PagingToken() string + type OffersPage struct + Embedded struct{ ... } + Links hal.Links + type OrderBookSummary struct + Asks []PriceLevel + Bids []PriceLevel + Buying Asset + Selling Asset + type Path struct + DestinationAmount string + DestinationAssetCode string + DestinationAssetIssuer string + DestinationAssetType string + Path []Asset + SourceAmount string + SourceAssetCode string + SourceAssetIssuer string + SourceAssetType string + func (p Path) PagingToken() string + type PathsPage struct + Embedded struct{ ... } + Links hal.Links + type Price base.Price + type PriceLevel struct + Amount string + Price string + PriceR Price + type Root struct + CoreSequence int32 + CoreSupportedProtocolVersion int32 + CurrentProtocolVersion int32 + HistoryElderSequence int32 + HorizonLatestClosedAt time.Time + HorizonSequence int32 + HorizonVersion string + IngestSequence uint32 + Links struct{ ... } + NetworkPassphrase string + StellarCoreVersion string + type Signer struct + Key string + Sponsor string + Type string + Weight int32 + type Trade struct + BaseAccount string + BaseAmount string + BaseAssetCode string + BaseAssetIssuer string + BaseAssetType string + BaseIsSeller bool + BaseOfferID string + CounterAccount string + CounterAmount string + CounterAssetCode string + CounterAssetIssuer string + CounterAssetType string + CounterOfferID string + ID string + LedgerCloseTime time.Time + Links struct{ ... } + OfferID string + PT string + Price *Price + func (res Trade) PagingToken() string + type TradeAggregation struct + Average string + BaseVolume string + Close string + CloseR xdr.Price + CounterVolume string + High string + HighR xdr.Price + Low string + LowR xdr.Price + Open string + OpenR xdr.Price + Timestamp int64 + TradeCount int64 + func (res TradeAggregation) PagingToken() string + type TradeAggregationsPage struct + Embedded struct{ ... } + Links hal.Links + type TradeEffect struct + BoughtAmount string + BoughtAssetCode string + BoughtAssetIssuer string + BoughtAssetType string + Buyer string + ID string + LedgerCloseTime time.Time + Links struct{ ... } + OfferID string + PT string + Seller string + SoldAmount string + SoldAssetCode string + SoldAssetIssuer string + SoldAssetType string + type TradesPage struct + Embedded struct{ ... } + Links hal.Links + type Transaction struct + Account string + AccountSequence string + EnvelopeXdr string + FeeAccount string + FeeBumpTransaction *FeeBumpTransaction + FeeCharged int64 + FeeMetaXdr string + Hash string + ID string + InnerTransaction *InnerTransaction + Ledger int32 + LedgerCloseTime time.Time + Links struct{ ... } + MaxFee int64 + Memo string + MemoBytes string + MemoType string + OperationCount int32 + PT string + ResultMetaXdr string + ResultXdr string + Signatures []string + Successful bool + ValidAfter string + ValidBefore string + func (t *Transaction) UnmarshalJSON(data []byte) error + func (t Transaction) MarshalJSON() ([]byte, error) + func (t Transaction) PagingToken() string + type TransactionResultCodes struct + OperationCodes []string + TransactionCode string + type TransactionsPage struct + Embedded struct{ ... } + Links hal.Links