package op
- Alphabetic
- Public
- All
Type Members
-
case class
AccountMergeOperation(destination: PublicKeyOps, sourceAccount: Option[PublicKeyOps] = None) extends PayOperation 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
CreateBuyOfferOperation(selling: Asset, buying: Amount, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends ManageBuyOfferOperation with Product with Serializable
Creates a buy offer in the Stellar network.
-
case class
CreatePassiveSellOfferOperation(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
CreateSellOfferOperation(selling: Amount, buying: Asset, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends ManageSellOfferOperation with Product with Serializable
Creates a sell offer in the Stellar network.
-
case class
DeleteBuyOfferOperation(offerId: Long, selling: Asset, buying: Asset, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends ManageBuyOfferOperation with Product with Serializable
Deletes a buy offer in the Stellar network.
Deletes a buy offer in the Stellar network.
- offerId
the id of the offer to be deleted
- selling
the asset previously 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
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
DeleteSellOfferOperation(offerId: Long, selling: Asset, buying: Asset, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends ManageSellOfferOperation with Product with Serializable
Deletes a sell offer in the Stellar network.
Deletes a sell 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 ManageBuyOfferOperation extends Operation
- sealed trait ManageDataOperation extends Operation
- sealed trait ManageSellOfferOperation extends Operation
-
sealed
trait
Operation extends Encodable
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
-
sealed
trait
PayOperation extends Operation
Marker trait for any operation that involves a payment (
CreateAccountOperation
,PaymentOperation
,PathPaymentOperation
,AccountMergeOperation
) -
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
UpdateBuyOfferOperation(offerId: Long, selling: Asset, buying: Amount, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends ManageBuyOfferOperation with Product with Serializable
Updates a sell offer in the Stellar network.
Updates a sell offer in the Stellar network.
- offerId
the id of the offer to be modified
- selling
the asset offered
- buying
the asset and amount being sought
- price
the price being sought
- sourceAccount
the account effecting this operation, if different from the owning account of the transaction
- See also
-
case class
UpdateSellOfferOperation(offerId: Long, selling: Amount, buying: Asset, price: Price, sourceAccount: Option[PublicKeyOps] = None) extends ManageSellOfferOperation with Product with Serializable
Updates a sell offer in the Stellar network.
Updates a sell 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: Array[Byte], 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 Decode with 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 Decode with Serializable
- object ChangeTrustOperation extends Serializable
- object CreateAccountOperation extends Decode with Serializable
- object CreatePassiveSellOfferOperation extends Decode with Serializable
- object IssuerFlags extends Decode
- object ManageBuyOfferOperation extends Decode
- object ManageDataOperation extends Decode
- object ManageSellOfferOperation extends Decode
- object Operation extends Decode
- object OperationDeserializer extends ResponseParser[Operation]
- object PathPaymentOperation extends Decode with Serializable
- object PaymentOperation extends Serializable
- object SetOptionsOperation extends Decode with Serializable
- object TransactedOperationDeserializer extends ResponseParser[Transacted[Operation]]
- object WriteDataOperation extends Serializable