blockchain / service-my-wallet-v3

Blockchain Wallet API Service
https://blockchain.info/api/blockchain_wallet_api
GNU Affero General Public License v3.0
904 stars 517 forks source link

ERR_PUSHTX #177

Open mitalcoi opened 7 years ago

mitalcoi commented 7 years ago

Try to send BTC:

curl "http://localhost:3000/merchant/[GUID]/payment?to=[TO]&from=0&amount=34048400&note=[NOTE]&api_code=[API_CODE]&password=[PASS]"

And got an error:

LOGLEVEL=debug blockchain-wallet-service start
1488033728492 - debug: Fetching wallet history
1488033731198 - error: ERR_PUSHTX

What is the reason?Is it issue with address limits on my api key? Service v0.22.4, Node v0.12.14

jtormey commented 7 years ago

You might want to try specifying a fee in your query. The bitcoin network has been under stress lately, so it's possible we rejected the tx because the default fee used by the service was too low. If that doesn't work, try sending the same transaction in the web interface, where you'll be able to see a more descriptive error.

mitalcoi commented 7 years ago

What is recommended value of fee?

thamerphpmaster commented 7 years ago

I put 0.0001 and it work

jtormey commented 7 years ago

It depends on the size of the transaction, and how busy the bitcoin network is at the time. I'm working on making this information available through this service.

Crypto100101 commented 6 years ago

I am having a similiar issue, when I use your iOS wallet I set the fee to $0.04 and my transaction confirms (takes 4-5 hours) but when I use the service-my-wallet-v3 to set the fee it wont sign unless I specify 0.0001 (I have tried 0.000099) compared to the ~0.000017 fee which goes through on iOS. Did you hardcode the fee when bitcoin was sub 4k ? Please can you abandon limiting fee's.