blocktrail-sdk-php icon indicating copy to clipboard operation
blocktrail-sdk-php copied to clipboard

Sending BTC: GenericServerError A Server Error has occurred! Server Response: {"code":500,"msg":"66: mempool min fee not met"}

Open InspiredPrynce opened this issue 8 years ago • 3 comments

When I try to send BTC, i get this error...

 (1/1) GenericServerError

A Server Error has occurred!
Server Response: {"code":500,"msg":"66: mempool min fee not met"}

Please what is the cause, someone should help me.....

InspiredPrynce avatar Dec 22 '17 06:12 InspiredPrynce

Sorry the error comes from bitcoind and isn't the most descriptive. What line of code are you using to send funds from your wallet? The mempool is crazy lately, so if you're using force fee or something it's possible that no longer meets the min relay fee.

afk11 avatar Dec 22 '17 12:12 afk11

Thanks @afk11 for responding to my issue. Am so happy. Thanks

Am using this code to send the transaction

$wallet->pay(array($address => $amount), null, false, true, Wallet::FEE_STRATEGY_BASE_FEE);

Thanks! I have 0.00032890 BTC and I want to send it to another wallet...

InspiredPrynce avatar Dec 22 '17 12:12 InspiredPrynce

Fixed it though.... The Wallet::BASE_FEE constant, I increased it to 150000 satoshis and it started working...

InspiredPrynce avatar Dec 23 '17 18:12 InspiredPrynce