You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 24, 2020. It is now read-only.
Some of the cooler language clients support the /wallet api. This would be a significant improvement to the the java client. This would seem to require:
A wallet API would be good. In the meantime, for anyone who wants to spend from a wallet without specifying input transactions, you can do it like this:
StringtransactionJson = "{" +
"\"inputs\":[{\"wallet_name\":\"" + WALLET_NAME + "\"," +
" \"wallet_token\":\"" + TOKEN + "\"}]," +
"\"outputs\":[{\"addresses\": [\"" + sendToAddress + "\"], " +
"\"value\": -1}]}"; // -1 means sweep all value from all addressesIntermediaryTransactionunsignedTx = context.getTransactionService().newTransaction(transactionJson);
Activity
danielalexiuc commentedon Sep 5, 2017
A wallet API would be good. In the meantime, for anyone who wants to spend from a wallet without specifying input transactions, you can do it like this:
quentinlesceller commentedon May 6, 2020
I'm tagging this as help wanted as this would be really useful.