Open 0x6c23 opened 7 years ago
Also:
debug: Fetching wallet history Error: [object Object] (Maybe PUSH_TX ?)
I have not many wallets and I am using a fee of "0.0002". This is happening 70% of the time I am trying to send something. It almost makes it impossible to use this service.
$response = $Blockchain->Wallet->send($receiver, $amount, null, "0.0002");
It's possible that the fee you're specifying is too low. Recently BTC fees have been quite high. Instead of an absolute fee, we recommend specifying a fee per byte, so that the fee adjusts according to the size of the transaction. You can do this by setting the fee_per_byte
parameter. Hope that helps!
I tried with fee_per_byte now. Still, getting errors:
1513268633926 - debug: Logging in
1513268634046 - debug: Created new session token
1513268634406 - debug: Fetched wallet
1513268634504 - debug: Decrypted wallet
1513268634803 - debug: Fetching wallet history
1513268635696 - error: [object Object]
1513268635698 - debug: Logging in
1513268635819 - debug: Created new session token
1513268635936 - debug: Fetched wallet
1513268636023 - debug: Decrypted wallet
1513268636382 - debug: Fetching wallet history
1513268636954 - error: [object Object]
Sometimes it works, sometimes it doesn't. At the moment, it does not work at all.
I am using this in php with the php-api:
$response = $Blockchain->Wallet->send($receiver, $amount);
It worked fine for a while but then stopped working for some transactions / wallets. There are some wallets which aren't working at all. I am unable to send transactions to those wallets, no matter how often I try.
Service v0.26.0, Node v8.9.1