Skip to content

Crypto cannot be withdrawn due to a transaction error. #429

Answered by mccwdev
sbatrow-x asked this question in Q&A
Discussion options

You must be logged in to vote

If you look at the output of Transaction.info() / uu.info() you should see: Pushed to network: False

By default the send method creates a transaction, verifies it but does not broadcast it to the network. To broadcast you need to specify the broadcast=True in the Wallet's send method:

t = wallet.send(output_arr, min_confirms=0, broadcast=True)

or use Transaction.send()

uu = wallet.send(output_arr, fee=200, min_confirms=0, network='litecoin')
uu.send()

Look in the Transaction object for more information, for example:

print(t.error)
print(t.pushed)

 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mccwdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants