Search in sources :

Example 6 with Transactions

use of com.github.rosklyar.client.account.domain.transaction.Transactions in project nem-library by rosklyar.

the class AccountClientTest method getDecodedOutgoingTransactions.

@Test
@Disabled("only for local NIS nodes")
void getDecodedOutgoingTransactions() {
    Transactions transactions = accountClient.outgoingDecodedTransactions(new AccountPrivateKeyTransactionsPage(privateKey, null, null));
    assertEquals("", transactions.data.stream().findFirst().map(pair -> pair.transaction.message.payload).orElse(null));
}
Also used : UnconfirmedTransactions(com.github.rosklyar.client.account.domain.transaction.UnconfirmedTransactions) Transactions(com.github.rosklyar.client.account.domain.transaction.Transactions) Test(org.junit.jupiter.api.Test) Disabled(org.junit.jupiter.api.Disabled)

Aggregations

Transactions (com.github.rosklyar.client.account.domain.transaction.Transactions)6 UnconfirmedTransactions (com.github.rosklyar.client.account.domain.transaction.UnconfirmedTransactions)6 Test (org.junit.jupiter.api.Test)6 Disabled (org.junit.jupiter.api.Disabled)3