package
0.0.0-20181003211919-798156fdb816
Repository: https://github.com/digitalbitsorg/go.git
Documentation: pkg.go.dev
# Functions
AccountMerge groups the creation of a new AccountMergeBuilder with a call to Mutate.
AddSigner creates Signer mutator that sets account's signer.
AllowTrust groups the creation of a new AllowTrustBuilder with a call to Mutate.
ChangeTrust groups the creation of a new ChangeTrustBuilder with a call to Mutate.
ClearAuthImmutable clears AuthImmutableFlag on SetOptions operation.
ClearAuthRequired clears AuthRequiredFlag on SetOptions operation.
ClearAuthRevocable clears AuthRevocableFlag on SetOptions operation.
ClearData removes a key/value pair associated with the source account.
CreateAccount groups the creation of a new CreateAccountBuilder with a call to Mutate.
CreateOffer creates a new offer.
CreatePassiveOffer creates a new passive offer.
CreditAsset is a helper method to create credit Asset object.
DeleteOffer deletes an existing offer.
Inflation groups the creation of a new InflationBuilder with a call to Mutate.
ManageOffer groups the creation of a new ManageOfferBuilder with a call to Mutate.
NativeAsset is a helper method to create native Asset object.
Payment groups the creation of a new PaymentBuilder with a call to Mutate.
PayWith is a helper to create PayWithPath struct.
RemoveSigner creates Signer mutator that removes account's signer.
RemoveTrust is a helper that creates ChangeTrustBuilder.
SetAuthImmutable sets AuthImmutableFlag on SetOptions operation.
SetAuthRequired sets AuthRequiredFlag on SetOptions operation.
SetAuthRevocable sets AuthRevocableFlag on SetOptions operation.
SetData sets a key/value pair associated with the source account, updating it if one already exists.
SetHighThreshold creates Thresholds mutator that sets account's high threshold.
SetLowThreshold creates Thresholds mutator that sets account's low threshold.
SetMediumThreshold creates Thresholds mutator that sets account's medium threshold.
SetOptions groups the creation of a new SetOptions with a call to Mutate.
SetThresholds creates Thresholds mutator.
Transaction groups the creation of a new TransactionBuilder with a call to Mutate.
Trust is a helper that creates ChangeTrustBuilder.
UpdateOffer updates an existing offer.
# Constants
MemoTextMaxLength represents the maximum number of bytes a valid memo of type "MEMO_TEXT" can be.
# Variables
DefaultBaseFee is used to calculate the transaction fee by default.
DefaultNetwork is a mutator that configures the transaction for submission to the default DigitalBits network.
MaxLimit represents the maximum value that can be passed as trutline Limit.
PublicNetwork is a mutator that configures the transaction for submission to the main public DigitalBits network.
TestNetwork is a mutator that configures the transaction for submission to the test DigitalBits network (often called testnet).
# Structs
AccountMergeBuilder represents a transaction that is being built.
AllowTrustAsset is a mutator capable of setting the asset on an operations that have one.
AllowTrustBuilder represents a transaction that is being built.
Asset is struct used in path_payment mutators.
Authorize is a mutator capable of setting the `authorize` flag.
AutoSequence loads the sequence to use for the transaction from an external provider.
BaseFee is a mutator capable of setting the base fee.
ChangeTrustBuilder represents a transaction that is being built.
CreateAccountBuilder helps to build CreateAccountOp structs.
CreditAmount is a mutator that configures a payment to be using credit asset and have the amount provided.
Defaults is a mutator that sets defaults.
Destination is a mutator capable of setting the destination on an operations that have one.
InflationBuilder represents an operation that is being built.
ManageDataBuilder helps to build ManageDataOp structs.
ManageOfferBuilder represents a transaction that is being built.
MemoHash is a mutator that sets a memo on the mutated transaction of type MEMO_HASH.
MemoID is a mutator that sets a memo on the mutated transaction of type MEMO_ID.
MemoReturn is a mutator that sets a memo on the mutated transaction of type MEMO_RETURN.
MemoText is a mutator that sets a memo on the mutated transaction of type MEMO_TEXT.
MockSequenceProvider is a mock sequence provider.
NativeAmount is a mutator that configures a payment to be using native currency and have the amount provided (in lumens).
Network establishes the DigitalBits network that a transaction should apply to.
PaymentBuilder represents a transaction that is being built.
PayWithPath is a mutator that configures a path_payment's send asset and max amount.
Rate is a mutator that sets selling/buying asset and price on offer operations.
Sequence is a mutator that sets the sequence number on a transaction.
SetOptionsBuilder represents a transaction that is being built.
Sign is a mutator that contributes a signature of the provided envelope's transaction with the configured key.
Signer is a mutator capable of adding, updating and deleting an account signer.
SourceAccount is a mutator capable of setting the source account on an xdr.Operation and an xdr.Transaction.
Thresholds is a mutator capable of setting account thresholds.
TransactionBuilder represents a Transaction that is being constructed.
TransactionEnvelopeBuilder helps you build a TransactionEnvelope.
Trustor is a mutator capable of setting the trustor on allow_trust operation.
# Interfaces
AccountMergeMutator is a interface that wraps the MutateAccountMerge operation.
AllowTrustMutator is a interface that wraps the MutateAllowTrust operation.
ChangeTrustMutator is a interface that wraps the MutateChangeTrust operation.
CreateAccountMutator is a interface that wraps the MutateCreateAccount operation.
ManageOfferMutator is a interface that wraps the MutateManageOffer operation.
OperationMutator is a interface that wraps the MutateOperation operation.
PaymentMutator is a interface that wraps the MutatePayment operation.
SequenceProvider is the interface that other packages may implement to be used with the `AutoSequence` mutator.
SetOptionsMutator is a interface that wraps the MutateSetOptions operation.
TransactionEnvelopeMutator is a interface that wraps the MutateTransactionEnvelope operation.
TransactionMutator is a interface that wraps the MutateTransaction operation.
# Type aliases
Amount is a mutator capable of setting the amount.
ClearFlag is a mutator capable of clearing account flags.
HomeDomain is a mutator capable of setting home domain of the account.
InflationDest is a mutator capable of setting the inflation destination.
Limit is a mutator that sets a limit on the change_trust operation.
MasterWeight is a mutator that sets account's master weight.
OfferID is a mutator that sets offer ID on offer operations.
Price is a mutator that sets price on offer operations.
SetFlag is a mutator capable of setting account flags.