package model
- Alphabetic
- Public
- Protected
Type Members
- case class Account(id: AccountId, sequenceNumber: Long) extends Product with Serializable
Represents an account in Stellar network with its sequence number.
- case class AccountId(hash: Seq[Byte], subAccountId: Option[Long] = None) extends SignerStrKey with Product with Serializable
- case class AccountIdClaimant(accountId: PublicKeyOps, predicate: ClaimPredicate) extends Claimant with Product with Serializable
- sealed trait Amount extends AnyRef
- sealed trait Asset extends AnyRef
- case class AssetException(msg: String) extends RuntimeException with Product with Serializable
- case class Balance(amount: Amount, limit: Option[Long] = None, buyingLiabilities: Long = 0, sellingLiabilities: Long = 0, authorized: Boolean = false, authorizedToMaintainLiabilities: Boolean = false, sponsor: Option[PublicKey] = None) extends Product with Serializable
- sealed trait ClaimPredicate extends AnyRef
- case class ClaimableBalance(id: ClaimableBalanceId, amount: Amount, sponsor: PublicKeyOps, claimants: List[Claimant], lastModifiedLedger: Long, lastModifiedTime: Instant) extends Product with Serializable
- case class ClaimableBalanceHashId(hash: ByteString) extends ClaimableBalanceId with Product with Serializable
- sealed trait ClaimableBalanceId extends AnyRef
- sealed trait Claimant extends AnyRef
- case class DomainSignature(originDomain: String, signature: ByteString) extends Product with Serializable
- case class FeeBump(source: AccountId, fee: NativeAmount, signatures: List[Signature]) extends Product with Serializable
- sealed trait HorizonCursor extends AnyRef
- sealed trait HorizonOrder extends AnyRef
- case class IssuedAmount(units: Long, asset: NonNativeAsset) extends Amount with Product with Serializable
- case class IssuedAsset12 extends NonNativeAsset with Product with Serializable
Represents all assets with codes 5-12 characters long.
Represents all assets with codes 5-12 characters long.
- See also
- case class IssuedAsset4 extends NonNativeAsset with Product with Serializable
Represents all assets with codes 1-4 characters long.
Represents all assets with codes 1-4 characters long.
- See also
- case class LedgerThresholds(master: Int, low: Int, med: Int, high: Int) extends Product with Serializable
The thresholds for operations on this account, as described in transaction meta data for ledger effects.
The thresholds for operations on this account, as described in transaction meta data for ledger effects. This differs from @seeThresholds in that it also contains the master weight for the account's primary signature.
- master
The weight provided by the primary signature for this account.
- low
The weight required for a valid transaction including the Allow Trust and Bump Sequence operations.
- med
The weight required for a valid transaction including the Create Account, Payment, Path Payment, Manage Buy Offer, Manage Sell Offer, Create Passive Sell Offer, Change Trust, Inflation, and Manage Data operations.
- high
The weight required for a valid transaction including the Account Merge and Set Options operations.
- sealed trait Memo extends AnyRef
- case class MemoHash(bs: ByteString) extends MemoWithHash with Product with Serializable
- case class MemoId(id: Long) extends Memo with Product with Serializable
- case class MemoReturnHash(bs: ByteString) extends MemoWithHash with Product with Serializable
- case class MemoText(byteString: ByteString) extends Memo with Product with Serializable
- sealed trait MemoWithHash extends Memo
- case class NativeAmount(units: Long) extends Amount with Product with Serializable
- sealed trait NonNativeAsset extends Asset
- case class Order(price: Price, quantity: Long) extends Product with Serializable
- case class OrderBook(selling: Asset, buying: Asset, bids: Seq[Order], asks: Seq[Order]) extends Product with Serializable
- case class PaymentPath(source: Amount, destination: Amount, path: Seq[Asset]) extends Product with Serializable
- case class PaymentSigningRequest(destination: PublicKey, amount: Option[Amount] = None, memo: Memo = NoMemo, callback: Option[HttpUrl] = None, message: Option[String] = None, networkPassphrase: Option[String] = None, signature: Option[DomainSignature] = None) extends Product with Serializable
A request for a payment to be signed.
A request for a payment to be signed.
- destination
A valid account ID for the payment
- amount
optionally, a specific amount to pay
- memo
a memo to attach to the transaction
- callback
the uri to post the transaction to after signing
- message
an optional message for displaying to the user
- networkPassphrase
the passphrase of the target network, if it's not the public/main network
- signature
a domain and signature that proves the validity of this signing request
- See also
See https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0007.md#operation-pay|SEP-0007 for full specification
- case class PreAuthTx(hash: Seq[Byte]) extends SignerStrKey with Product with Serializable
- case class Price(n: Int, d: Int) extends Product with Serializable
- case class Record(value: Long) extends HorizonCursor with Product with Serializable
- case class SHA256Hash(hash: Seq[Byte]) extends SignerStrKey with Product with Serializable
- case class Seed(hash: Seq[Byte]) extends StrKey with Product with Serializable
- sealed trait SignatureValidation extends AnyRef
- case class SignedTransaction(transaction: Transaction, signatures: Seq[Signature], feeBump: Option[FeeBump] = None) extends Product with Serializable
- case class Signer(key: SignerStrKey, weight: Int, sponsor: Option[PublicKey] = None) extends Product with Serializable
- sealed trait SignerStrKey extends StrKey
Only a subset of StrKeys can be signers.
Only a subset of StrKeys can be signers. Seeds should not be the declared signer (as they are the private dual of the AccountId).
- sealed trait StrKey extends AnyRef
A StrKey (Stellar Key) is a typed, encoded byte array.
- case class Thresholds(low: Int, med: Int, high: Int) extends Product with Serializable
The thresholds for operations on this account.
The thresholds for operations on this account.
- low
The weight required for a valid transaction including the Allow Trust and Bump Sequence operations.
- med
The weight required for a valid transaction including the Create Account, Payment, Path Payment, Manage Buy Offer, Manage Sell Offer, Create Passive Sell Offer, Change Trust, Inflation, and Manage Data operations.
- high
The weight required for a valid transaction including the Account Merge and Set Options operations.
- case class TimeBounds(start: Instant, end: Instant) extends Product with Serializable
- case class Trade(id: String, ledgerCloseTime: ZonedDateTime, offerId: Long, baseOfferId: Long, counterOfferId: Long, baseAccount: PublicKeyOps, baseAmount: Amount, counterAccount: PublicKeyOps, counterAmount: Amount, baseIsSeller: Boolean) extends Product with Serializable
- case class TradeAggregation(instant: Instant, tradeCount: Int, baseVolume: Double, counterVolume: Double, average: Double, open: Price, high: Price, low: Price, close: Price) extends Product with Serializable
- case class Transaction(source: Account, operations: List[Operation] = Nil, memo: Memo = NoMemo, timeBounds: TimeBounds, maxFee: NativeAmount, overrideMemoRequirement: Boolean = false)(implicit network: Network) extends Product with Serializable
- case class TransactionSigningRequest(transaction: SignedTransaction, form: Map[String, (String, String)] = Map.empty, callback: Option[HttpUrl] = None, pubkey: Option[PublicKey] = None, message: Option[String] = None, networkPassphrase: Option[String] = None, signature: Option[DomainSignature] = None) extends Product with Serializable
A request to a transaction to be signed.
A request to a transaction to be signed.
- transaction
The signed transaction to be encoded
- form
The additional information required by the user in the form
form_label -> (txrep_field, form_hint)
- callback
the uri to post the transaction to after signing
- pubkey
the public key associated with the signer who should sign
- message
an optional message for displaying to the user
- networkPassphrase
the passphrase of the target network, if it's not the public/main network
- signature
a domain and signature that proves the validity of this signing request
- See also
See https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0007.md#operation-tx|SEP-0007 for full specification
- case class ValidSignature(originDomain: String, signedBy: PublicKey) extends SignatureValidation with Product with Serializable
Value Members
- object AccountId extends Serializable
- object Amount
- object AmountParser
- case object Asc extends HorizonOrder with Product with Serializable
- object Asset
- object ClaimPredicate
- object ClaimPredicateDeserializer extends ResponseParser[ClaimPredicate]
- object ClaimableBalance extends Serializable
- object ClaimableBalanceDeserializer extends ResponseParser[ClaimableBalance]
- object ClaimableBalanceId
- object Claimant
- object ClaimantDeserializer extends ResponseParser[Claimant]
- case object Desc extends HorizonOrder with Product with Serializable
- case object InvalidSignature extends SignatureValidation with Product with Serializable
- object IssuedAmount extends Serializable
- object IssuedAsset12 extends Serializable
- object IssuedAsset4 extends Serializable
- object LedgerThresholds extends Serializable
- object Memo
- object MemoHash extends Serializable
- object MemoReturnHash extends Serializable
- object MemoText extends Serializable
- case object NativeAsset extends Asset with Product with Serializable
- case object NoMemo extends Memo with Product with Serializable
- case object NoSignaturePresent extends SignatureValidation with Product with Serializable
- case object Now extends HorizonCursor with Product with Serializable
- object OrderBookDeserializer extends ResponseParser[OrderBook]
- object PaymentPathDeserializer extends ResponseParser[PaymentPath]
- object PaymentSigningRequest extends Serializable
- object Price extends Serializable
- object SignedTransaction extends Serializable
- object Signer extends Serializable
- object SignerStrKey
- object StrKey
- object TimeBounds extends Serializable
- object TradeAggregation extends Serializable
- object TradeAggregationDeserializer extends ResponseParser[TradeAggregation]
- object TradeDeserializer extends ResponseParser[Trade]
- object Transaction extends Serializable
- object TransactionSigningRequest extends Serializable