Packages

package op

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AccountMergeOperation(destination: AccountId, sourceAccount: Option[AccountId] = 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

    endpoint doc

  2. case class BeginSponsoringFutureReservesOperation(sponsored: AccountId, sourceAccount: Option[AccountId] = None) extends Operation with Product with Serializable

    Begin sponsoring (paying for) any reserve that the sponsored account would have to pay.

    Begin sponsoring (paying for) any reserve that the sponsored account would have to pay.

    sponsored

    the id of the account that is being sponsored.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction.

  3. case class BumpSequenceOperation(bumpTo: Long, sourceAccount: Option[AccountId] = 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

    endpoint doc

  4. case class ChangeTrustOperation(limit: IssuedAmount, sourceAccount: Option[AccountId] = 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

    endpoint doc

  5. case class ClaimClaimableBalanceOperation(id: ClaimableBalanceId, sourceAccount: Option[AccountId] = None) extends Operation with Product with Serializable

    Claims a previously created claimable balance.

    Claims a previously created claimable balance.

    id

    the id of the claimable balance entry to attempt to claim.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction.

  6. case class ClawBackClaimableBalanceOperation(id: ClaimableBalanceId, sourceAccount: Option[AccountId] = None) extends Operation with Product with Serializable

    Claw back a claimable balance by its id.

  7. case class ClawBackOperation(from: AccountId, amount: IssuedAmount, sourceAccount: Option[AccountId] = None) extends Operation with Product with Serializable

    Claw back an asset from an account.

  8. case class CreateAccountOperation(destinationAccount: AccountId, startingBalance: NativeAmount = Amount.lumens(1), sourceAccount: Option[AccountId] = 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

    endpoint doc

  9. case class CreateBuyOfferOperation(selling: Asset, buying: Amount, price: Price, sourceAccount: Option[AccountId] = None) extends ManageBuyOfferOperation with Product with Serializable

    Creates a buy offer in the Stellar network.

  10. case class CreateClaimableBalanceOperation(amount: Amount, claimants: List[Claimant], sourceAccount: Option[AccountId] = None) extends Operation with Product with Serializable

    Creates a payment reservation, referred to as a claimable balance.

    Creates a payment reservation, referred to as a claimable balance.

    amount

    the reserved payment amount

    claimants

    the accounts who can claim this payment, along with the requirements for doing so.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction

    See also

    endpoint doc

  11. case class CreatePassiveSellOfferOperation(selling: Amount, buying: Asset, price: Price, sourceAccount: Option[AccountId] = 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

    endpoint doc

  12. case class CreateSellOfferOperation(selling: Amount, buying: Asset, price: Price, sourceAccount: Option[AccountId] = None) extends ManageSellOfferOperation with Product with Serializable

    Creates a sell offer in the Stellar network.

  13. case class DeleteBuyOfferOperation(offerId: Long, selling: Asset, buying: Asset, price: Price, sourceAccount: Option[AccountId] = 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

    endpoint doc

  14. case class DeleteDataOperation(name: String, sourceAccount: Option[AccountId] = 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

    endpoint doc

  15. case class DeleteSellOfferOperation(offerId: Long, selling: Asset, buying: Asset, price: Price, sourceAccount: Option[AccountId] = 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

    endpoint doc

  16. case class EndSponsoringFutureReservesOperation(sourceAccount: Option[AccountId] = None) extends Operation with Product with Serializable

    End sponsoring all reserves from the source account.

  17. case class InflationOperation(sourceAccount: Option[AccountId] = None) extends Operation with Product with Serializable

    Requests that the network runs the inflation process.

    Requests that the network runs the inflation process. As of Stellar Core v12, this operation does nothing.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction

    See also

    endpoint doc

  18. sealed trait IssuerFlag extends AnyRef
  19. sealed trait ManageBuyOfferOperation extends Operation
  20. sealed trait ManageDataOperation extends Operation
  21. sealed trait ManageSellOfferOperation extends Operation
  22. sealed 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.

  23. case class PathPaymentStrictReceiveOperation(sendMax: Amount, destinationAccount: AccountId, destinationAmount: Amount, path: Seq[Asset] = Nil, sourceAccount: Option[AccountId] = 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. This operation specifies a precise amount to be received, and a maximum amount that can be sent. If you need to specify the amount sent, use PathPaymentStrictSendOperation instead.

    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

    endpoint doc

  24. case class PathPaymentStrictSendOperation(sendAmount: Amount, destinationAccount: AccountId, destinationMin: Amount, path: Seq[Asset] = Nil, sourceAccount: Option[AccountId] = 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. This operation specifies a precise amount to be sent, and a minimum amount that can be received. If you need to specify the amount received, use PathPaymentStrictReceiveOperation instead.

    sendAmount

    the amount to be spent to effect the payment

    destinationAccount

    the payment recipient

    destinationMin

    the minimum amount that should 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

    endpoint doc

  25. sealed trait PayOperation extends Operation

    Marker trait for any operation that involves a payment (CreateAccountOperation, PaymentOperation, PathPaymentOperation, AccountMergeOperation)

  26. case class PaymentOperation(destinationAccount: AccountId, amount: Amount, sourceAccount: Option[AccountId] = 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

    endpoint doc

  27. case class RevokeAccountSponsorshipOperation(revokeAccountKey: AccountKey, sourceAccount: Option[AccountId] = None) extends RevokeSponsorshipOperation with Product with Serializable

    Remove the sponsorship of ledger account entries.

    Remove the sponsorship of ledger account entries.

    revokeAccountKey

    the key for the account ledger entry to have its sponsorship removed.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction.

  28. case class RevokeClaimableBalanceSponsorshipOperation(revokeClaimableBalanceKey: ClaimableBalanceKey, sourceAccount: Option[AccountId] = None) extends RevokeSponsorshipOperation with Product with Serializable

    Remove the sponsorship of ledger claimable balance entries.

    Remove the sponsorship of ledger claimable balance entries.

    revokeClaimableBalanceKey

    the key for the claimable balance entry to have its sponsorship removed.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction.

  29. case class RevokeDataSponsorshipOperation(revokeDataKey: DataKey, sourceAccount: Option[AccountId] = None) extends RevokeSponsorshipOperation with Product with Serializable

    Remove the sponsorship of ledger data entries.

    Remove the sponsorship of ledger data entries.

    revokeDataKey

    the key for the data ledger entry to have its sponsorship removed.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction.

  30. case class RevokeOfferSponsorshipOperation(revokeOfferKey: OfferKey, sourceAccount: Option[AccountId] = None) extends RevokeSponsorshipOperation with Product with Serializable

    Remove the sponsorship of ledger offer entries.

    Remove the sponsorship of ledger offer entries.

    revokeOfferKey

    the key for the offer ledger entry to have its sponsorship removed.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction.

  31. case class RevokeSignerSponsorshipOperation(accountId: AccountId, signerKey: SignerStrKey, sourceAccount: Option[AccountId] = None) extends RevokeSponsorshipOperation with Product with Serializable

    Remove a signer's sponsorship of an account.

    Remove a signer's sponsorship of an account.

    accountId

    the id for the account to have a sponsor removed.

    signerKey

    the signer's key of the sponsor to be removed.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction.

  32. sealed trait RevokeSponsorshipOperation extends Operation
  33. case class RevokeTrustLineSponsorshipOperation(revokeTrustLineKey: TrustLineKey, sourceAccount: Option[AccountId] = None) extends RevokeSponsorshipOperation with Product with Serializable

    Remove the sponsorship of ledger trustline entries.

    Remove the sponsorship of ledger trustline entries.

    revokeTrustLineKey

    the key for the trustline ledger entry to have its sponsorship removed.

    sourceAccount

    the account effecting this operation, if different from the owning account of the transaction.

  34. 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[AccountId] = 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

    endpoint doc

  35. case class SetTrustLineFlagsOperation(asset: NonNativeAsset, trustor: PublicKeyOps, setFlags: Set[TrustLineFlags], clearFlags: Set[TrustLineFlags], sourceAccount: Option[AccountId] = None) extends Operation with Product with Serializable

    Set flags on the trustline for an account.

  36. 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.

  37. sealed trait TrustLineFlag extends AnyRef
  38. case class UpdateBuyOfferOperation(offerId: Long, selling: Asset, buying: Amount, price: Price, sourceAccount: Option[AccountId] = 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

    endpoint doc

  39. case class UpdateSellOfferOperation(offerId: Long, selling: Amount, buying: Asset, price: Price, sourceAccount: Option[AccountId] = 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

    endpoint doc

  40. case class WriteDataOperation(name: String, value: Seq[Byte], sourceAccount: Option[AccountId] = 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

    endpoint doc

Deprecated Type Members

  1. case class AllowTrustOperation(trustor: PublicKeyOps, assetCode: String, trustLineFlags: Set[TrustLineFlag], sourceAccount: Option[AccountId] = 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.

    Annotations
    @deprecated
    Deprecated

    (Since version v0.20.0) Use SetTrustLineFlagsOperation instead

Value Members

  1. object AccountMergeOperation extends Serializable
  2. object AllowTrustOperation extends Serializable
  3. case object AuthorizationClawbackEnabledFlag extends IssuerFlag with Product with Serializable
  4. case object AuthorizationImmutableFlag extends IssuerFlag with Product with Serializable
  5. case object AuthorizationRequiredFlag extends IssuerFlag with Product with Serializable
  6. case object AuthorizationRevocableFlag extends IssuerFlag with Product with Serializable
  7. object BeginSponsoringFutureReservesOperation extends Serializable
  8. object BumpSequenceOperation extends Serializable
  9. object ChangeTrustOperation extends Serializable
  10. object ClaimClaimableBalanceOperation extends Serializable
  11. object CreateAccountOperation extends Serializable
  12. object CreateClaimableBalanceOperation extends Serializable
  13. object CreatePassiveSellOfferOperation extends Serializable
  14. object EndSponsoringFutureReservesOperation extends Serializable
  15. object InflationOperation extends Serializable
  16. object IssuerFlags
  17. object ManageBuyOfferOperation
  18. object ManageDataOperation
  19. object ManageSellOfferOperation
  20. object Operation
  21. object OperationDeserializer extends ResponseParser[Operation]
  22. object PathPaymentStrictReceiveOperation extends Serializable
  23. object PathPaymentStrictSendOperation extends Serializable
  24. object PaymentOperation extends Serializable
  25. object RevokeSponsorshipOperation
  26. object SetOptionsOperation extends Serializable
  27. object TransactedOperationDeserializer extends ResponseParser[Transacted[Operation]]
  28. case object TrustLineAuthorized extends TrustLineFlag with Product with Serializable
  29. case object TrustLineCanMaintainLiabilities extends TrustLineFlag with Product with Serializable
  30. object TrustLineFlags
  31. object WriteDataOperation extends Serializable

Ungrouped