case class StandaloneNetwork(port: Int = 8000) extends Network with FriendBot with Product with Serializable
A network that represents the stand-alone docker image for Horizon & core.
- Alphabetic
- By Inheritance
- StandaloneNetwork
- Serializable
- Serializable
- Product
- Equals
- FriendBot
- Network
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new StandaloneNetwork(port: Int = 8000)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
.- Definition Classes
- Network
- See also
-
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.
- Definition Classes
- Network
- See also
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
)
- Definition Classes
- Network
- See also
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
)
- Definition Classes
- Network
- See also
-
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.
- cursor
optional record id to start results from (defaults to
0
)- order
optional order to sort results by (defaults to
Asc
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fund(pk: PublicKeyOps)(implicit ec: ExecutionContext): Future[TransactionPostResp]
- Definition Classes
- FriendBot
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
horizon: HorizonAccess
- Definition Classes
- StandaloneNetwork → FriendBot → Network
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
lazy val
masterAccount: KeyPair
The keypair for the master account for this network
The keypair for the master account for this network
- Definition Classes
- Network
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
lazy val
networkId: Array[Byte]
- Definition Classes
- Network
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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.
- cursor
optional record id to start results from (defaults to
0
)- order
optional order to sort results by (defaults to
Asc
)
- Definition Classes
- Network
- See also
-
def
operation(operationId: Long)(implicit ex: ExecutionContext): Future[Transacted[Operation]]
Fetch operation details by its id
Fetch operation details by its id
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
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.
- cursor
optional record id to start results from (defaults to
0
)- order
optional order to sort results by (defaults to
Asc
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
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.
- limit
the maximun quantity of offers to return, should the order book depth exceed this value.
- Definition Classes
- Network
- See also
-
val
passphrase: String
- Definition Classes
- StandaloneNetwork → Network
-
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
)
- Definition Classes
- Network
- See also
-
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.
- cursor
optional record id to start results from (defaults to
0
)- order
optional order to sort results by (defaults to
Asc
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
- val port: Int
-
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.
- Definition Classes
- Network
- See also
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
def
transactions(cursor: HorizonCursor = Record(0), order: HorizonOrder = Asc)(implicit ex: ExecutionContext): Future[Stream[TransactionHistoryResp]]
Fetch a stream of transactions
Fetch a stream of transactions
- cursor
optional record id to start results from (defaults to
0
)- order
optional order to sort results by (defaults to
Asc
)
- Definition Classes
- Network
- See also
-
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
- cursor
optional record id to start results from (defaults to
0
)- order
optional order to sort results by (defaults to
Asc
)
- Definition Classes
- Network
- See also
-
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
)
- Definition Classes
- Network
- See also
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )