package op
- Alphabetic
- Public
- All
Type Members
-
case class
AccountMergeOperation(destination: PublicKeyOps, sourceAccount: Option[PublicKeyOps] = None) extends Operation with Product with Serializable
Deletes account and transfers remaining balance to destination account.
Deletes account and transfers remaining balance to destination account.
- destination
the account to receive the residual balances of the account to be merged
- sourceAccount
the account to be merged, if different from the owning account of the transaction
- See also
-
case class
AllowTrustOperation(trustor: PublicKeyOps, assetCode: String, authorize: Boolean, sourceAccount: Option[PublicKeyOps] = None) extends Operation with Product with Serializable
Updates the “authorized” flag of an existing trust line.
Updates the “authorized” flag of an existing trust line. This is called by the issuer of the related asset.
-
case class
BumpSequenceOperation(bumpTo: Long, sourceAccount: Option[PublicKeyOps] = None) extends Operation with Product with Serializable
Bumps forward the sequence number of the source account of the operation, allowing it to invalidate any transactions with a smaller sequence number.
Bumps forward the sequence number of the source account of the operation, allowing it to invalidate any transactions with a smaller sequence number.
- bumpTo
the number to increase the sequence number to
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
ChangeTrustOperation(limit: IssuedAmount, sourceAccount: Option[PublicKeyOps] = None) extends Operation with Product with Serializable
The source account is stating that it will trust the asset of the limit up to the amount of the limit.
The source account is stating that it will trust the asset of the limit up to the amount of the limit.
- limit
the asset to be trusted and the limit of that trust
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
CreateAccountOperation(destinationAccount: PublicKeyOps, startingBalance: NativeAmount = Amount.lumens(1), sourceAccount: Option[PublicKeyOps] = None) extends PayOperation with Product with Serializable
Funds and creates a new account.
Funds and creates a new account.
- destinationAccount
the account to be created
- startingBalance
the amount of funds to send to it
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
CreateOfferOperation(selling: Amount, buying: Asset, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends ManageOfferOperation with Product with Serializable
Creates an offer in the Stellar network.
-
case class
CreatePassiveOfferOperation(selling: Amount, buying: Asset, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends Operation with Product with Serializable
Creates an offer that won’t consume a counter offer that exactly matches this offer.
Creates an offer that won’t consume a counter offer that exactly matches this offer.
- selling
the total amount of tokens being offered
- buying
the asset being sought
- price
the price the offerer is willing to accept
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
DeleteDataOperation(name: String, sourceAccount: Option[PublicKeyOps] = None) extends ManageDataOperation with Product with Serializable
Deletes a Data Entry (name/value pair) for an account.
Deletes a Data Entry (name/value pair) for an account.
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
DeleteOfferOperation(offerId: Long, selling: Asset, buying: Asset, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends ManageOfferOperation with Product with Serializable
Deletes an offer in the Stellar network.
Deletes an offer in the Stellar network.
- offerId
the id of the offer to be deleted
- selling
the asset being offered
- buying
the asset previously sought
- price
the price being offered
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
InflationOperation(sourceAccount: Option[PublicKeyOps] = None) extends Operation with Product with Serializable
Requests that the network runs the inflation process.
Requests that the network runs the inflation process.
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
- sealed trait IssuerFlag extends AnyRef
- sealed trait ManageDataOperation extends Operation
- sealed trait ManageOfferOperation extends Operation
-
trait
Operation extends AnyRef
An Operation represents a change to the ledger.
An Operation represents a change to the ledger. It is the action, as opposed to the effects resulting from that action.
-
case class
PathPaymentOperation(sendMax: Amount, destinationAccount: PublicKeyOps, destinationAmount: Amount, path: Seq[Asset] = Nil, sourceAccount: Option[PublicKeyOps] = None) extends PayOperation with Product with Serializable
Represents a payment from one account to another through a path.
Represents a payment from one account to another through a path. This type of payment starts as one type of asset and ends as another type of asset. There can be other assets that are traded into and out of along the path. Suitable orders must exist on the relevant order books for this operation to be successful.
- sendMax
the maximum amount willing to be spent to effect the payment
- destinationAccount
the payment recipient
- destinationAmount
the exact amount to be received
- path
the intermediate assets to traverse (may be empty)
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
trait
PayOperation extends Operation
Marker trait for any operation that involves a payment (
PaymentOperation
,CreateAccountOperation
) -
case class
PaymentOperation(destinationAccount: PublicKeyOps, amount: Amount, sourceAccount: Option[PublicKeyOps] = None) extends PayOperation with Product with Serializable
Represents a payment from one account to another.
Represents a payment from one account to another. This payment can be either a simple native asset payment or a fiat asset payment.
- destinationAccount
the recipient of the payment
- amount
the amount to be paid
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
SetOptionsOperation(inflationDestination: Option[PublicKeyOps] = None, clearFlags: Option[Set[IssuerFlag]] = None, setFlags: Option[Set[IssuerFlag]] = None, masterKeyWeight: Option[Int] = None, lowThreshold: Option[Int] = None, mediumThreshold: Option[Int] = None, highThreshold: Option[Int] = None, homeDomain: Option[String] = None, signer: Option[Signer] = None, sourceAccount: Option[PublicKeyOps] = None) extends Operation with Product with Serializable
Modify an account, setting one or more options.
Modify an account, setting one or more options.
- inflationDestination
the account's inflation destination
- clearFlags
issuer flags to be turned off
- setFlags
issuer flags to be turned on
- masterKeyWeight
the weight of the master key
- lowThreshold
the minimum weight required for low threshold operations
- mediumThreshold
the minimum weight required for medium threshold operations
- highThreshold
the minimum weight required for highthreshold operations
- homeDomain
the home domain used for reverse federation lookup
- signer
the key and weight of the signer for this account
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
Transacted[O <: Operation](id: Long, txnHash: String, createdAt: ZonedDateTime, operation: O) extends Product with Serializable
Provides access to additional information related to an operation after it has been transacted in the network.
-
case class
UpdateOfferOperation(offerId: Long, selling: Amount, buying: Asset, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends ManageOfferOperation with Product with Serializable
Updates an offer in the Stellar network.
Updates an offer in the Stellar network.
- offerId
the id of the offer to be modified
- selling
the asset and amount being offered
- buying
the asset sought
- price
the price being offered
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
WriteDataOperation(name: String, value: String, sourceAccount: Option[PublicKeyOps] = None) extends ManageDataOperation with Product with Serializable
Creates or updates a Data Entry (name/value pair) for an account.
Creates or updates a Data Entry (name/value pair) for an account.
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
Value Members
- object AccountMergeOperation extends Serializable
- object AllowTrustOperation extends Serializable
- object AuthorizationImmutableFlag extends IssuerFlag with Product with Serializable
- object AuthorizationRequiredFlag extends IssuerFlag with Product with Serializable
- object AuthorizationRevocableFlag extends IssuerFlag with Product with Serializable
- object BumpSequenceOperation extends Serializable
- object ChangeTrustOperation extends Serializable
- object CreateAccountOperation extends Serializable
- object CreatePassiveOfferOperation extends Serializable
- object IssuerFlags
- object ManageDataOperation
- object ManageOfferOperation
- object Operation
- object OperationDeserializer extends CustomSerializer[Operation]
- object PathPaymentOperation extends Serializable
- object PaymentOperation extends Serializable
- object SetOptionsOperation extends Serializable
- object TransactedOperationDeserializer extends CustomSerializer[Transacted[Operation]]