Versions in this module Expand all Collapse all v0 v0.1.2 Nov 14, 2024 v0.1.1 Jan 25, 2024 Changes in this version + const AuthClawbackEnabled + const AuthImmutable + const AuthRequired + const AuthRevocable + const LiquidityPoolFeeV18 + const MemoTextMaxLength + const MinBaseFee + const TimeoutInfinite + const TrustLineAuthorized + const TrustLineAuthorizedToMaintainLiabilities + const TrustLineClawbackEnabled + var MaxTrustlineLimit = amount.StringFromInt64(math.MaxInt64) + var UnconditionalPredicate = xdr.ClaimPredicate + func AndPredicate(left xdr.ClaimPredicate, right xdr.ClaimPredicate) xdr.ClaimPredicate + func BeforeAbsoluteTimePredicate(epochSeconds int64) xdr.ClaimPredicate + func BeforeRelativeTimePredicate(secondsBefore int64) xdr.ClaimPredicate + func NewHomeDomain(hd string) *string + func NewInflationDestination(ai string) *string + func NotPredicate(pred xdr.ClaimPredicate) xdr.ClaimPredicate + func OrPredicate(left xdr.ClaimPredicate, right xdr.ClaimPredicate) xdr.ClaimPredicate + func SetOpSourceAccount(op *xdr.Operation, sourceAccount string) + func SetOpSourceMuxedAccount(op *xdr.Operation, sourceAccount string) + func VerifyChallengeTxSigners(challengeTx, serverAccountID, network, webAuthDomain string, ...) ([]string, error) + func VerifyChallengeTxThreshold(challengeTx, serverAccountID, network, webAuthDomain string, ...) (signersFound []string, err error) + type Account interface + GetAccountID func() string + GetSequenceNumber func() (int64, error) + IncrementSequenceNumber func() (int64, error) + type AccountFlag uint32 + type AccountMerge struct + Destination string + SourceAccount string + func (am *AccountMerge) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (am *AccountMerge) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (am *AccountMerge) GetSourceAccount() string + func (am *AccountMerge) Validate(withMuxedAccounts bool) error + type AllowTrust struct + Authorize bool + AuthorizeToMaintainLiabilities bool + ClawbackEnabled bool + SourceAccount string + Trustor string + Type Asset + func (at *AllowTrust) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (at *AllowTrust) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (at *AllowTrust) GetSourceAccount() string + func (at *AllowTrust) Validate(withMuxedAccounts bool) error + type Asset interface + LessThan func(other Asset) bool + ToXDR func() (xdr.Asset, error) + func ParseAssetString(canonical string) (Asset, error) + type AssetAmount struct + Amount string + Asset Asset + type AssetType xdr.AssetType + const AssetTypeCreditAlphanum12 + const AssetTypeCreditAlphanum4 + const AssetTypeNative + const AssetTypePoolShare + type Assets []Asset + func (s Assets) Len() int + func (s Assets) Less(i, j int) bool + func (s Assets) Swap(i, j int) + type BasicAsset interface + GetCode func() string + GetIssuer func() string + GetType func() (AssetType, error) + IsNative func() bool + MustToAsset func() Asset + MustToChangeTrustAsset func() ChangeTrustAsset + MustToTrustLineAsset func() TrustLineAsset + ToAsset func() (Asset, error) + ToChangeTrustAsset func() (ChangeTrustAsset, error) + ToTrustLineAsset func() (TrustLineAsset, error) + type BeginSponsoringFutureReserves struct + SourceAccount string + SponsoredID string + func (bs *BeginSponsoringFutureReserves) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (bs *BeginSponsoringFutureReserves) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (bs *BeginSponsoringFutureReserves) GetSourceAccount() string + func (bs *BeginSponsoringFutureReserves) Validate(withMuxedAccounts bool) error + type BumpSequence struct + BumpTo int64 + SourceAccount string + func (bs *BumpSequence) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (bs *BumpSequence) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (bs *BumpSequence) GetSourceAccount() string + func (bs *BumpSequence) Validate(withMuxedAccounts bool) error + type ChangeTrust struct + Limit string + Line ChangeTrustAsset + SourceAccount string + func RemoveTrustlineOp(issuedAsset ChangeTrustAsset) ChangeTrust + func (ct *ChangeTrust) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (ct *ChangeTrust) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (ct *ChangeTrust) GetSourceAccount() string + func (ct *ChangeTrust) Validate(withMuxedAccounts bool) error + type ChangeTrustAsset interface + GetLiquidityPoolID func() (LiquidityPoolId, bool) + GetLiquidityPoolParameters func() (LiquidityPoolParameters, bool) + ToChangeTrustAsset func() (ChangeTrustAsset, error) + ToTrustLineAsset func() (TrustLineAsset, error) + ToXDR func() (xdr.ChangeTrustAsset, error) + type ChangeTrustAssetWrapper struct + func (ctaw ChangeTrustAssetWrapper) GetLiquidityPoolID() (LiquidityPoolId, bool) + func (ctaw ChangeTrustAssetWrapper) GetLiquidityPoolParameters() (LiquidityPoolParameters, bool) + func (ctaw ChangeTrustAssetWrapper) ToXDR() (xdr.ChangeTrustAsset, error) + type ClaimClaimableBalance struct + BalanceID string + SourceAccount string + func (cb *ClaimClaimableBalance) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (cb *ClaimClaimableBalance) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (cb *ClaimClaimableBalance) GetSourceAccount() string + func (cb *ClaimClaimableBalance) Validate(withMuxedAccounts bool) error + type Claimant struct + Destination string + Predicate xdr.ClaimPredicate + func NewClaimant(destination string, predicate *xdr.ClaimPredicate) Claimant + type Clawback struct + Amount string + Asset Asset + From string + SourceAccount string + func (cb *Clawback) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (cb *Clawback) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (cb *Clawback) GetSourceAccount() string + func (cb *Clawback) Validate(withMuxedAccounts bool) error + type ClawbackClaimableBalance struct + BalanceID string + SourceAccount string + func (cb *ClawbackClaimableBalance) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (cb *ClawbackClaimableBalance) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (cb *ClawbackClaimableBalance) GetSourceAccount() string + func (cb *ClawbackClaimableBalance) Validate(withMuxedAccounts bool) error + type CreateAccount struct + Amount string + Destination string + SourceAccount string + func (ca *CreateAccount) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (ca *CreateAccount) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (ca *CreateAccount) GetSourceAccount() string + func (ca *CreateAccount) Validate(withMuxedAccounts bool) error + type CreateClaimableBalance struct + Amount string + Asset Asset + Destinations []Claimant + SourceAccount string + func (cb *CreateClaimableBalance) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (cb *CreateClaimableBalance) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (cb *CreateClaimableBalance) GetSourceAccount() string + func (cb *CreateClaimableBalance) Validate(withMuxedAccounts bool) error + type CreatePassiveSellOffer struct + Amount string + Buying Asset + Price string + Selling Asset + SourceAccount string + func (cpo *CreatePassiveSellOffer) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (cpo *CreatePassiveSellOffer) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (cpo *CreatePassiveSellOffer) GetSourceAccount() string + func (cpo *CreatePassiveSellOffer) Validate(withMuxedAccounts bool) error + type CreditAsset struct + Code string + Issuer string + func (ca CreditAsset) GetCode() string + func (ca CreditAsset) GetIssuer() string + func (ca CreditAsset) GetType() (AssetType, error) + func (ca CreditAsset) IsNative() bool + func (ca CreditAsset) LessThan(other Asset) bool + func (ca CreditAsset) MustToAsset() Asset + func (ca CreditAsset) MustToChangeTrustAsset() ChangeTrustAsset + func (ca CreditAsset) MustToTrustLineAsset() TrustLineAsset + func (ca CreditAsset) ToAsset() (Asset, error) + func (ca CreditAsset) ToChangeTrustAsset() (ChangeTrustAsset, error) + func (ca CreditAsset) ToTrustLineAsset() (TrustLineAsset, error) + func (ca CreditAsset) ToXDR() (xdr.Asset, error) + type DataID struct + Account string + DataName string + type EndSponsoringFutureReserves struct + SourceAccount string + func (es *EndSponsoringFutureReserves) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (es *EndSponsoringFutureReserves) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (es *EndSponsoringFutureReserves) GetSourceAccount() string + func (es *EndSponsoringFutureReserves) Validate(withMuxedAccounts bool) error + type FeeBumpTransaction struct + func NewFeeBumpTransaction(params FeeBumpTransactionParams) (*FeeBumpTransaction, error) + func (t *FeeBumpTransaction) AddSignatureBase64(network, publicKey, signature string) (*FeeBumpTransaction, error) + func (t *FeeBumpTransaction) Base64() (string, error) + func (t *FeeBumpTransaction) BaseFee() int64 + func (t *FeeBumpTransaction) FeeAccount() string + func (t *FeeBumpTransaction) Hash(networkStr string) ([32]byte, error) + func (t *FeeBumpTransaction) HashHex(network string) (string, error) + func (t *FeeBumpTransaction) InnerTransaction() *Transaction + func (t *FeeBumpTransaction) MarshalBinary() ([]byte, error) + func (t *FeeBumpTransaction) MarshalText() ([]byte, error) + func (t *FeeBumpTransaction) MaxFee() int64 + func (t *FeeBumpTransaction) Sign(network string, kps ...*keypair.Full) (*FeeBumpTransaction, error) + func (t *FeeBumpTransaction) SignHashX(preimage []byte) (*FeeBumpTransaction, error) + func (t *FeeBumpTransaction) SignWithKeyString(network string, keys ...string) (*FeeBumpTransaction, error) + func (t *FeeBumpTransaction) Signatures() []xdr.DecoratedSignature + func (t *FeeBumpTransaction) ToGenericTransaction() *GenericTransaction + func (t *FeeBumpTransaction) ToXDR() xdr.TransactionEnvelope + func (t *FeeBumpTransaction) UnmarshalText(b []byte) error + type FeeBumpTransactionParams struct + BaseFee int64 + EnableMuxedAccounts bool + FeeAccount string + Inner *Transaction + type GenericTransaction struct + func TransactionFromXDR(txeB64 string, options ...TransactionFromXDROption) (*GenericTransaction, error) + func (t *GenericTransaction) MarshalText() ([]byte, error) + func (t *GenericTransaction) UnmarshalText(b []byte) error + func (t GenericTransaction) FeeBump() (*FeeBumpTransaction, bool) + func (t GenericTransaction) Transaction() (*Transaction, bool) + type Inflation struct + SourceAccount string + func (inf *Inflation) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (inf *Inflation) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (inf *Inflation) GetSourceAccount() string + func (inf *Inflation) Validate(withMuxedAccounts bool) error + type LiquidityPoolDeposit struct + LiquidityPoolID LiquidityPoolId + MaxAmountA string + MaxAmountB string + MaxPrice string + MinPrice string + SourceAccount string + func NewLiquidityPoolDeposit(sourceAccount string, a, b AssetAmount, minPrice, maxPrice string) (LiquidityPoolDeposit, error) + func (lpd *LiquidityPoolDeposit) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (lpd *LiquidityPoolDeposit) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (lpd *LiquidityPoolDeposit) GetSourceAccount() string + func (lpd *LiquidityPoolDeposit) Validate(withMuxedAccounts bool) error + type LiquidityPoolId [32]byte + func NewLiquidityPoolId(a, b Asset) (LiquidityPoolId, error) + func (lpi LiquidityPoolId) ToXDR() (xdr.PoolId, error) + type LiquidityPoolParameters struct + AssetA Asset + AssetB Asset + Fee int32 + func (lpi LiquidityPoolParameters) ToXDR() (xdr.LiquidityPoolParameters, error) + type LiquidityPoolShareChangeTrustAsset struct + LiquidityPoolParameters LiquidityPoolParameters + func (lpsa LiquidityPoolShareChangeTrustAsset) GetCode() string + func (lpsa LiquidityPoolShareChangeTrustAsset) GetIssuer() string + func (lpsa LiquidityPoolShareChangeTrustAsset) GetLiquidityPoolID() (LiquidityPoolId, bool) + func (lpsa LiquidityPoolShareChangeTrustAsset) GetLiquidityPoolParameters() (LiquidityPoolParameters, bool) + func (lpsa LiquidityPoolShareChangeTrustAsset) GetType() (AssetType, error) + func (lpsa LiquidityPoolShareChangeTrustAsset) IsNative() bool + func (lpsa LiquidityPoolShareChangeTrustAsset) MustToAsset() Asset + func (lpsa LiquidityPoolShareChangeTrustAsset) MustToChangeTrustAsset() ChangeTrustAsset + func (lpsa LiquidityPoolShareChangeTrustAsset) MustToTrustLineAsset() TrustLineAsset + func (lpsa LiquidityPoolShareChangeTrustAsset) ToAsset() (Asset, error) + func (lpsa LiquidityPoolShareChangeTrustAsset) ToChangeTrustAsset() (ChangeTrustAsset, error) + func (lpsa LiquidityPoolShareChangeTrustAsset) ToTrustLineAsset() (TrustLineAsset, error) + func (lpsa LiquidityPoolShareChangeTrustAsset) ToXDR() (xdr.ChangeTrustAsset, error) + type LiquidityPoolShareTrustLineAsset struct + LiquidityPoolID LiquidityPoolId + func (lpsa LiquidityPoolShareTrustLineAsset) GetCode() string + func (lpsa LiquidityPoolShareTrustLineAsset) GetIssuer() string + func (lpsa LiquidityPoolShareTrustLineAsset) GetLiquidityPoolID() (LiquidityPoolId, bool) + func (lpsa LiquidityPoolShareTrustLineAsset) GetType() (AssetType, error) + func (lpsa LiquidityPoolShareTrustLineAsset) IsNative() bool + func (lpsa LiquidityPoolShareTrustLineAsset) MustToAsset() Asset + func (lpsa LiquidityPoolShareTrustLineAsset) MustToChangeTrustAsset() ChangeTrustAsset + func (lpsa LiquidityPoolShareTrustLineAsset) MustToTrustLineAsset() TrustLineAsset + func (lpsa LiquidityPoolShareTrustLineAsset) ToAsset() (Asset, error) + func (lpsa LiquidityPoolShareTrustLineAsset) ToChangeTrustAsset() (ChangeTrustAsset, error) + func (lpsa LiquidityPoolShareTrustLineAsset) ToTrustLineAsset() (TrustLineAsset, error) + func (lpsa LiquidityPoolShareTrustLineAsset) ToXDR() (xdr.TrustLineAsset, error) + type LiquidityPoolWithdraw struct + Amount string + LiquidityPoolID LiquidityPoolId + MinAmountA string + MinAmountB string + SourceAccount string + func NewLiquidityPoolWithdraw(sourceAccount string, a, b AssetAmount, amount string) (LiquidityPoolWithdraw, error) + func (lpd *LiquidityPoolWithdraw) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (lpd *LiquidityPoolWithdraw) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (lpd *LiquidityPoolWithdraw) GetSourceAccount() string + func (lpd *LiquidityPoolWithdraw) Validate(withMuxedAccounts bool) error + type ManageBuyOffer struct + Amount string + Buying Asset + OfferID int64 + Price string + Selling Asset + SourceAccount string + func (mo *ManageBuyOffer) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (mo *ManageBuyOffer) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (mo *ManageBuyOffer) GetSourceAccount() string + func (mo *ManageBuyOffer) Validate(withMuxedAccounts bool) error + type ManageData struct + Name string + SourceAccount string + Value []byte + func (md *ManageData) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (md *ManageData) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (md *ManageData) GetSourceAccount() string + func (md *ManageData) Validate(withMuxedAccounts bool) error + type ManageSellOffer struct + Amount string + Buying Asset + OfferID int64 + Price string + Selling Asset + SourceAccount string + func CreateOfferOp(selling, buying Asset, amount, price string, sourceAccount ...string) (ManageSellOffer, error) + func DeleteOfferOp(offerID int64, sourceAccount ...string) (ManageSellOffer, error) + func UpdateOfferOp(selling, buying Asset, amount, price string, offerID int64, ...) (ManageSellOffer, error) + func (mo *ManageSellOffer) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (mo *ManageSellOffer) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (mo *ManageSellOffer) GetSourceAccount() string + func (mo *ManageSellOffer) Validate(withMuxedAccounts bool) error + type Memo interface + ToXDR func() (xdr.Memo, error) + func MemoFromXDR(memo xdr.Memo) (Memo, error) + type MemoHash [32]byte + func (mh MemoHash) ToXDR() (xdr.Memo, error) + type MemoID uint64 + func (mid MemoID) ToXDR() (xdr.Memo, error) + type MemoReturn [32]byte + func (mr MemoReturn) ToXDR() (xdr.Memo, error) + type MemoText string + func (mt MemoText) ToXDR() (xdr.Memo, error) + type NativeAsset struct + func (na NativeAsset) GetCode() string + func (na NativeAsset) GetIssuer() string + func (na NativeAsset) GetType() (AssetType, error) + func (na NativeAsset) IsNative() bool + func (na NativeAsset) LessThan(other Asset) bool + func (na NativeAsset) MustToAsset() Asset + func (na NativeAsset) MustToChangeTrustAsset() ChangeTrustAsset + func (na NativeAsset) MustToTrustLineAsset() TrustLineAsset + func (na NativeAsset) ToAsset() (Asset, error) + func (na NativeAsset) ToChangeTrustAsset() (ChangeTrustAsset, error) + func (na NativeAsset) ToTrustLineAsset() (TrustLineAsset, error) + func (na NativeAsset) ToXDR() (xdr.Asset, error) + type OfferID struct + OfferID int64 + SellerAccountAddress string + type Operation interface + BuildXDR func(withMuxedAccounts bool) (xdr.Operation, error) + FromXDR func(xdrOp xdr.Operation, withMuxedAccounts bool) error + GetSourceAccount func() string + Validate func(withMuxedAccounts bool) error + type PathPayment = PathPaymentStrictReceive + type PathPaymentStrictReceive struct + DestAmount string + DestAsset Asset + Destination string + Path []Asset + SendAsset Asset + SendMax string + SourceAccount string + func (pp *PathPaymentStrictReceive) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (pp *PathPaymentStrictReceive) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (pp *PathPaymentStrictReceive) GetSourceAccount() string + func (pp *PathPaymentStrictReceive) Validate(withMuxedAccounts bool) error + type PathPaymentStrictSend struct + DestAsset Asset + DestMin string + Destination string + Path []Asset + SendAmount string + SendAsset Asset + SourceAccount string + func (pp *PathPaymentStrictSend) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (pp *PathPaymentStrictSend) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (pp *PathPaymentStrictSend) GetSourceAccount() string + func (pp *PathPaymentStrictSend) Validate(withMuxedAccounts bool) error + type Payment struct + Amount string + Asset Asset + Destination string + SourceAccount string + func (p *Payment) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (p *Payment) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (p *Payment) GetSourceAccount() string + func (p *Payment) Validate(withMuxedAccounts bool) error + type RevokeSponsorship struct + Account *string + ClaimableBalance *string + Data *DataID + Offer *OfferID + Signer *SignerID + SourceAccount string + SponsorshipType RevokeSponsorshipType + TrustLine *TrustLineID + func (r *RevokeSponsorship) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (r *RevokeSponsorship) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (r *RevokeSponsorship) GetSourceAccount() string + func (r *RevokeSponsorship) Validate(withMuxedAccounts bool) error + type RevokeSponsorshipType int + const RevokeSponsorshipTypeAccount + const RevokeSponsorshipTypeClaimableBalance + const RevokeSponsorshipTypeData + const RevokeSponsorshipTypeOffer + const RevokeSponsorshipTypeSigner + const RevokeSponsorshipTypeTrustLine + type SetOptions struct + ClearFlags []AccountFlag + HighThreshold *Threshold + HomeDomain *string + InflationDestination *string + LowThreshold *Threshold + MasterWeight *Threshold + MediumThreshold *Threshold + SetFlags []AccountFlag + Signer *Signer + SourceAccount string + func (so *SetOptions) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (so *SetOptions) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (so *SetOptions) GetSourceAccount() string + func (so *SetOptions) Validate(withMuxedAccounts bool) error + type SetTrustLineFlags struct + Asset Asset + ClearFlags []TrustLineFlag + SetFlags []TrustLineFlag + SourceAccount string + Trustor string + func (stf *SetTrustLineFlags) BuildXDR(withMuxedAccounts bool) (xdr.Operation, error) + func (stf *SetTrustLineFlags) FromXDR(xdrOp xdr.Operation, withMuxedAccounts bool) error + func (stf *SetTrustLineFlags) GetSourceAccount() string + func (stf *SetTrustLineFlags) Validate(withMuxedAccounts bool) error + type Signer struct + Address string + Weight Threshold + type SignerID struct + AccountID string + SignerAddress string + type SignerSummary map[string]int32 + type SimpleAccount struct + AccountID string + Sequence int64 + func NewSimpleAccount(accountID string, sequence int64) SimpleAccount + func (sa *SimpleAccount) GetAccountID() string + func (sa *SimpleAccount) GetSequenceNumber() (int64, error) + func (sa *SimpleAccount) IncrementSequenceNumber() (int64, error) + type Threshold uint8 + func NewThreshold(t Threshold) *Threshold + type Timebounds struct + MaxTime int64 + MinTime int64 + func NewInfiniteTimeout() Timebounds + func NewTimebounds(minTime, maxTime int64) Timebounds + func NewTimeout(timeout int64) Timebounds + func (tb *Timebounds) Validate() error + type Transaction struct + func BuildChallengeTx(serverSignerSecret, clientAccountID, webAuthDomain, homeDomain, network string, ...) (*Transaction, error) + func NewTransaction(params TransactionParams) (*Transaction, error) + func ReadChallengeTx(challengeTx, serverAccountID, network, webAuthDomain string, ...) (tx *Transaction, clientAccountID string, matchedHomeDomain string, err error) + func (t *Transaction) AddSignatureBase64(network, publicKey, signature string) (*Transaction, error) + func (t *Transaction) AddSignatureDecorated(signature ...xdr.DecoratedSignature) (*Transaction, error) + func (t *Transaction) Base64() (string, error) + func (t *Transaction) BaseFee() int64 + func (t *Transaction) ClaimableBalanceID(operationIndex int) (string, error) + func (t *Transaction) Hash(networkStr string) ([32]byte, error) + func (t *Transaction) HashHex(network string) (string, error) + func (t *Transaction) MarshalBinary() ([]byte, error) + func (t *Transaction) MarshalText() ([]byte, error) + func (t *Transaction) MaxFee() int64 + func (t *Transaction) Memo() Memo + func (t *Transaction) Operations() []Operation + func (t *Transaction) SequenceNumber() int64 + func (t *Transaction) Sign(network string, kps ...*keypair.Full) (*Transaction, error) + func (t *Transaction) SignHashX(preimage []byte) (*Transaction, error) + func (t *Transaction) SignWithKeyString(network string, keys ...string) (*Transaction, error) + func (t *Transaction) Signatures() []xdr.DecoratedSignature + func (t *Transaction) SourceAccount() SimpleAccount + func (t *Transaction) Timebounds() Timebounds + func (t *Transaction) ToGenericTransaction() *GenericTransaction + func (t *Transaction) ToXDR() xdr.TransactionEnvelope + func (t *Transaction) UnmarshalText(b []byte) error + type TransactionFromXDROption int + const TransactionFromXDROptionEnableMuxedAccounts + type TransactionParams struct + BaseFee int64 + EnableMuxedAccounts bool + IncrementSequenceNum bool + Memo Memo + Operations []Operation + SourceAccount Account + Timebounds Timebounds + type TrustLineAsset interface + GetLiquidityPoolID func() (LiquidityPoolId, bool) + ToXDR func() (xdr.TrustLineAsset, error) + type TrustLineAssetWrapper struct + func (tlaw TrustLineAssetWrapper) GetLiquidityPoolID() (LiquidityPoolId, bool) + func (tlaw TrustLineAssetWrapper) ToXDR() (xdr.TrustLineAsset, error) + type TrustLineFlag uint32 + type TrustLineID struct + Account string + Asset TrustLineAsset + type ValidationError struct + Field string + Message string + func NewValidationError(field, message string) *ValidationError + func (opError *ValidationError) Error() string