Open EshanMaini opened 6 years ago
did you solve it?
My solution:
$feeStrategy = \Blocktrail\SDK\Wallet::FEE_STRATEGY_LOW_PRIORITY; // your fee type
$address; // your address $satoshi; // your amount in satoshi
$fee = $wallet->coinSelection( \Blocktrail\SDK\Wallet::normalizeOutputsStruct([$address => $satoshi]), false, false, $feeStrategy )['fee'];
Hii i am using this method to send BTC $wallet->pay(array($address => $value), null, false, true);
i want to get the transaction fees estimate before sending the transaction. is there any method available to do this?