@Test public void testGetUnsignedTransaction() throws Throwable { setUpWireMockForCall("getblockcount", "getblockcount_1000.json"); setUpWireMockForCall("invokescript", "invokescript_transfer.json"); Wallet w = Wallet.withAccounts(account1); Transaction tx = new TransactionBuilder(neow) .wallet(w) .script(Numeric.hexStringToByteArray(SCRIPT_NEO_INVOKEFUNCTION_NAME)) .signers(Signer.calledByEntry(account1.getScriptHash())) .getUnsignedTransaction(); assertThat(tx.getVersion(), is((byte) 0)); assertThat(tx.getSigners(), hasSize(1)); assertThat(tx.getSigners().get(0), is(Signer.calledByEntry(account1.getScriptHash()))); assertThat(tx.getWitnesses(), hasSize(0)); }
public Transaction getUnsignedTransaction() throws Throwable { return buildTransaction(); }
TransactionBuilder { public Transaction getUnsignedTransaction() throws Throwable { return buildTransaction(); } }
TransactionBuilder { public Transaction getUnsignedTransaction() throws Throwable { return buildTransaction(); } protected  TransactionBuilder(Neow3j neow); }
TransactionBuilder { public Transaction getUnsignedTransaction() throws Throwable { return buildTransaction(); } protected  TransactionBuilder(Neow3j neow); TransactionBuilder wallet(Wallet wallet); TransactionBuilder version(byte version); TransactionBuilder nonce(Long nonce); TransactionBuilder validUntilBlock(long blockNr); TransactionBuilder firstSigner(ScriptHash sender); TransactionBuilder signers(Signer... signers); TransactionBuilder additionalNetworkFee(Long fee); TransactionBuilder script(byte[] script); TransactionBuilder attributes(TransactionAttribute... attributes); NeoInvokeScript callInvokeScript(); Transaction sign(); Transaction getUnsignedTransaction(); TransactionBuilder doIfSenderCannotCoverFees(
            BiConsumer<BigInteger, BigInteger> consumer); TransactionBuilder throwIfSenderCannotCoverFees(
            Supplier<? extends Throwable> exceptionSupplier); }
TransactionBuilder { public Transaction getUnsignedTransaction() throws Throwable { return buildTransaction(); } protected  TransactionBuilder(Neow3j neow); TransactionBuilder wallet(Wallet wallet); TransactionBuilder version(byte version); TransactionBuilder nonce(Long nonce); TransactionBuilder validUntilBlock(long blockNr); TransactionBuilder firstSigner(ScriptHash sender); TransactionBuilder signers(Signer... signers); TransactionBuilder additionalNetworkFee(Long fee); TransactionBuilder script(byte[] script); TransactionBuilder attributes(TransactionAttribute... attributes); NeoInvokeScript callInvokeScript(); Transaction sign(); Transaction getUnsignedTransaction(); TransactionBuilder doIfSenderCannotCoverFees(
            BiConsumer<BigInteger, BigInteger> consumer); TransactionBuilder throwIfSenderCannotCoverFees(
            Supplier<? extends Throwable> exceptionSupplier);  }