t

stellar.sdk

Network

trait Network extends LazyLogging

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Network
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val horizon: HorizonAccess
  2. abstract val passphrase: String

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def account(pubKey: PublicKeyOps)(implicit ec: ExecutionContext): Future[AccountResp]

    Fetch details regarding the account identified by pubKey.

    Fetch details regarding the account identified by pubKey.

    pubKey

    the relevant account

    See also

    endpoint doc

  5. def accountData(pubKey: PublicKeyOps, dataKey: String)(implicit ec: ExecutionContext): Future[String]

    Fetch value for single data field associated with an account.

    Fetch value for single data field associated with an account.

    pubKey

    the relevant account

    dataKey

    the key for the data field

    See also

    endpoint doc

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def assets(code: Option[String] = None, issuer: Option[PublicKeyOps] = None, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ec: ExecutionContext): Future[Stream[AssetResp]]

    Fetch a stream of assets, optionally filtered by code, issuer or neither

    Fetch a stream of assets, optionally filtered by code, issuer or neither

    code

    optional code to filter by (defaults to None)

    issuer

    optional issuer account to filter by (defaults to None)

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def effects(cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ec: ExecutionContext): Future[Stream[EffectResp]]

    Fetch a stream of effects.

    Fetch a stream of effects.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  10. def effectsByAccount(account: PublicKeyOps, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ec: ExecutionContext): Future[Stream[EffectResp]]

    Fetch a stream of effects for a given account.

    Fetch a stream of effects for a given account.

    account

    the relevant account

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  11. def effectsByAccountSource(account: PublicKeyOps, cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[EffectResp, NotUsed]

    A source of all effects for a given account from the cursor in ascending order, forever.

    A source of all effects for a given account from the cursor in ascending order, forever.

    account

    the relevant account

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  12. def effectsByLedger(ledgerId: Long, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ec: ExecutionContext): Future[Stream[EffectResp]]

    Fetch a stream of effects for a given ledger.

    Fetch a stream of effects for a given ledger.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  13. def effectsByOperation(operationId: Long, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ec: ExecutionContext): Future[Stream[EffectResp]]

    Fetch a stream of effects for a given operation.

    Fetch a stream of effects for a given operation.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  14. def effectsByTransaction(txnHash: String, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ec: ExecutionContext): Future[Stream[EffectResp]]

    Fetch a stream of effects for a given transaction hash.

    Fetch a stream of effects for a given transaction hash.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  15. def effectsSource(cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[EffectResp, NotUsed]

    A source of all effects from the cursor in ascending order, forever.

    A source of all effects from the cursor in ascending order, forever.

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def ledger(ledgerId: Long)(implicit ex: ExecutionContext): Future[LedgerResp]

    Fetch details of a ledger by its id

    Fetch details of a ledger by its id

    See also

    endpoint doc

  23. def ledgers(cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ec: ExecutionContext): Future[Stream[LedgerResp]]

    Fetch a stream of details about ledgers.

    Fetch a stream of details about ledgers.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  24. def ledgersSource(cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[LedgerResp, NotUsed]

    A source of all ledgers from the cursor in ascending order, forever.

    A source of all ledgers from the cursor in ascending order, forever.

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  25. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  26. lazy val masterAccount: KeyPair

    The keypair for the master account for this network

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. lazy val networkId: Array[Byte]
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def offersByAccount(account: PublicKeyOps, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[OfferResp]]

    Fetch a stream of offers for an account.

    Fetch a stream of offers for an account.

    account

    the relevant account

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  32. def offersByAccountSource(account: PublicKeyOps, cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[OfferResp, NotUsed]

    A source of all offers for an account from the cursor in ascending order, forever.

    A source of all offers for an account from the cursor in ascending order, forever.

    account

    the relevant account

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  33. def operation(operationId: Long)(implicit ex: ExecutionContext): Future[Transacted[Operation]]

    Fetch operation details by its id

    Fetch operation details by its id

    See also

    endpoint doc

  34. def operations(cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Transacted[Operation]]]

    Fetch a stream of operations.

    Fetch a stream of operations.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  35. def operationsByAccount(pubKey: PublicKeyOps, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Transacted[Operation]]]

    Fetch a stream of operations, filtered by account.

    Fetch a stream of operations, filtered by account.

    pubKey

    the relevant account

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  36. def operationsByAccountSource(pubKey: PublicKeyOps, cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[Transacted[Operation], NotUsed]

    A source of all operations filtered by account from the cursor in ascending order, forever.

    A source of all operations filtered by account from the cursor in ascending order, forever.

    pubKey

    the relevant account

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  37. def operationsByLedger(ledgerId: Long, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Transacted[Operation]]]

    Fetch a stream of operations, filtered by ledger id.

    Fetch a stream of operations, filtered by ledger id.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  38. def operationsByTransaction(txnHash: String, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Transacted[Operation]]]

    Fetch a stream of operations, filtered by transaction hash.

    Fetch a stream of operations, filtered by transaction hash.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  39. def operationsSource(cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[Transacted[Operation], NotUsed]

    A source of all operations from the cursor in ascending order, forever.

    A source of all operations from the cursor in ascending order, forever.

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  40. def orderBook(selling: Asset, buying: Asset, limit: Int = 20)(implicit ex: ExecutionContext): Future[OrderBook]

    Fetch details of the current orderbook for the given asset pairs.

    Fetch details of the current orderbook for the given asset pairs.

    selling

    the asset being offered

    buying

    the asset being sought

    limit

    the maximum quantity of offers to return, should the order book depth exceed this value.

    See also

    endpoint doc

  41. def orderBookSource(selling: Asset, buying: Asset, cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[OrderBook, NotUsed]

    A source of orders in the orderbook for the given asset pairs.

    A source of orders in the orderbook for the given asset pairs.

    selling

    the asset being offered

    buying

    the asset being sought

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  42. def payments(cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Transacted[PayOperation]]]

    Fetch a stream of payment operations.

    Fetch a stream of payment operations.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  43. def paymentsByAccount(pubKey: PublicKeyOps, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Transacted[PayOperation]]]

    Fetch a stream of payment operations filtered by account.

    Fetch a stream of payment operations filtered by account.

    pubKey

    the relevant account

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  44. def paymentsByAccountSource(pubKey: PublicKeyOps, cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[Transacted[PayOperation], NotUsed]

    A source of all payment operations filtered by account from the cursor in ascending order, forever.

    A source of all payment operations filtered by account from the cursor in ascending order, forever.

    pubKey

    the relevant account

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  45. def paymentsByLedger(ledgerId: Long, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Transacted[PayOperation]]]

    Fetch a stream of payment operations filtered by ledger id.

    Fetch a stream of payment operations filtered by ledger id.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  46. def paymentsByTransaction(txnHash: String, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Transacted[PayOperation]]]

    Fetch a stream of payment operations filtered by transaction hash.

    Fetch a stream of payment operations filtered by transaction hash.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  47. def paymentsSource(cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[Transacted[PayOperation], NotUsed]

    A source of all payment operations from the cursor in ascending order, forever.

    A source of all payment operations from the cursor in ascending order, forever.

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  48. def submit(txn: SignedTransaction)(implicit ec: ExecutionContext): Future[TransactionPostResp]

    Submit the SignedTransaction to the network and eventually receive a TransactionPostResp with the results.

    Submit the SignedTransaction to the network and eventually receive a TransactionPostResp with the results.

    See also

    endpoint doc

  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    AnyRef → Any
  51. def trades(cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Trade]]

    Fetch a stream of trades

    Fetch a stream of trades

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  52. def tradesByOfferId(offerId: Long, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Trade]]

    Fetch a stream of trades filtered by offer id

    Fetch a stream of trades filtered by offer id

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  53. def tradesByOrderBook(base: Asset, counter: Asset, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[Trade]]

    Fetch a stream of trades filtered by orderbook

    Fetch a stream of trades filtered by orderbook

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  54. def transaction(transactionId: String)(implicit ex: ExecutionContext): Future[TransactionHistoryResp]

    Fetch information on a single transaction.

    Fetch information on a single transaction.

    transactionId

    transaction to fetch

    See also

    endpoint doc

  55. def transactionSource(cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[TransactionHistoryResp, NotUsed]

    A source of all transactions from the cursor in ascending order, forever.

    A source of all transactions from the cursor in ascending order, forever.

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  56. def transactions(cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[TransactionHistoryResp]]

    Fetch a stream of historical transactions from the cursor.

    Fetch a stream of historical transactions from the cursor.

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  57. def transactionsByAccount(pubKey: PublicKeyOps, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[TransactionHistoryResp]]

    Fetch a stream of transactions affecting a given account

    Fetch a stream of transactions affecting a given account

    pubKey

    the relevant account

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  58. def transactionsByAccountSource(pubKey: PublicKeyOps, cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[TransactionHistoryResp, NotUsed]

    A source of all transactions affecting a given account from the cursor in ascending order, forever.

    A source of all transactions affecting a given account from the cursor in ascending order, forever.

    pubKey

    the relevant account

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  59. def transactionsByLedger(sequenceId: Long, cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[TransactionHistoryResp]]

    Fetch a stream of transactions for a given ledger

    Fetch a stream of transactions for a given ledger

    cursor

    optional record id to start results from (defaults to 0)

    order

    optional order to sort results by (defaults to Asc)

    See also

    endpoint doc

  60. def transactionsByLedgerSource(sequenceId: Long, cursor: HorizonCursor = Now)(implicit ex: ExecutionContext): Source[TransactionHistoryResp, NotUsed]

    A source of all transactions for a given ledger from the cursor in ascending order, forever.

    A source of all transactions for a given ledger from the cursor in ascending order, forever.

    cursor

    optional record id to start results from (defaults to Now)

    See also

    endpoint doc

  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped