public class TransactionsApi extends AbstractApi
JSON| Constructor | Description |
|---|---|
TransactionsApi() |
| Modifier and Type | Method | Description |
|---|---|---|
static Transaction |
getTransactionById(String id) |
Gets the transaction by id.
|
static Transactions |
getTransactionsByAssetId(String assetId,
Operations operation) |
Gets the transactions by asset id.
|
static void |
sendTransaction(Transaction transaction) |
Sends the transaction.
|
static void |
sendTransaction(Transaction transaction,
GenericCallback callback) |
Send transaction.
|
public static void sendTransaction(Transaction transaction, GenericCallback callback)
transaction - the transactioncallback - the callbackpublic static void sendTransaction(Transaction transaction) throws IOException
transaction - the transactionIOException - Signals that an I/O exception has occurred.public static Transaction getTransactionById(String id) throws IOException
id - the idIOException - Signals that an I/O exception has occurred.public static Transactions getTransactionsByAssetId(String assetId, Operations operation) throws IOException
assetId - the asset idoperation - the operationIOException - Signals that an I/O exception has occurred.Copyright © 2018. All rights reserved.