# Estimate fee for BTC not working

**URL:** <https://community.fireblocks.com/t/estimate-fee-for-btc-not-working/1055>\
**Category:** Developer Discussion\
**Created:** [May 22, 2024, 10:14am UTC](https://community.fireblocks.com/t/estimate-fee-for-btc-not-working/1055 "2024-05-22T10:14:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaamil](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@kaamil](https://community.fireblocks.com/u/kaamil)\
**Post date:** [May 22, 2024, 10:14am UTC](https://community.fireblocks.com/t/estimate-fee-for-btc-not-working/1055/1 "2024-05-22T10:14:02Z")

</div>

Code:  
const payload: TransactionArguments = {  
assetId: assetId,  
amount: amount,  
source: {  
type: PeerType.VAULT\_ACCOUNT,  
id: ‘3’,  
},  
// destination: {  
// type: PeerType.ONE\_TIME\_ADDRESS,  
// },  
destination: {  
type: PeerType.VAULT\_ACCOUNT,  
id: ‘4’,  
},  
};  
const detailedEstimatedFee =  
await fireblocks.estimateFeeForTransaction(payload);

I have little over 0.002 test BTC in the source wallet. Upon sending request with various amounts less than 0.002 BTC I get an error message:  
data: {  
message: ‘Error calculating transaction fee due to fee higher than gross amount’,  
code: 1908 }.  
It happens for both destination provided above. It works for ETH.

---

<div class="post-metadata">

**Author:** ![mnamakwala](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@mnamakwala](https://community.fireblocks.com/u/mnamakwala)\
**Post date:** [May 22, 2024, 3:42pm UTC](https://community.fireblocks.com/t/estimate-fee-for-btc-not-working/1055/2 "2024-05-22T15:42:02Z")

</div>

The error mentions the fee estimates to be higher than the amount being transferred.  
The current fee rate on BTC testnet is pretty high. The medium fee rate 1156 sat/vbyte.  
Please use a smaller amount and try again.

---

<div class="post-metadata">

**Author:** ![kaamil](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@kaamil](https://community.fireblocks.com/u/kaamil)\
**Post date:** [May 29, 2024, 9:39am UTC](https://community.fireblocks.com/t/estimate-fee-for-btc-not-working/1055/3 "2024-05-29T09:39:23Z")

</div>

I think there is a problem from Fireblocks side. When the highest possible fee for tbtc is higher then the amount in wallet Fireblocks returns an error and works otherwise.

---

<div class="post-metadata">

**Author:** ![okmarq](https://sea1.discourse-cdn.com/flex015/user_avatar/community.fireblocks.com/okmarq/32/319_2.png) [@okmarq](https://community.fireblocks.com/u/okmarq)\
**Post date:** [July 10, 2024, 9:02am UTC](https://community.fireblocks.com/t/estimate-fee-for-btc-not-working/1055/4 "2024-07-10T09:02:54Z")

</div>

When you say use a smaller amount, what do you mean?  
I’m confused.  
the fee is higher than the gross amount, shouldn’t the gross be higher hence use a higher amount?

---

<div class="post-metadata">

**Author:** ![Ademola](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@Ademola](https://community.fireblocks.com/u/Ademola)\
**Post date:** [July 10, 2024, 6:28pm UTC](https://community.fireblocks.com/t/estimate-fee-for-btc-not-working/1055/5 "2024-07-10T18:28:13Z")

</div>

@mnamakwala Please respond here .

---

<div class="post-metadata">

**Author:** ![mnamakwala](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@mnamakwala](https://community.fireblocks.com/u/mnamakwala)\
**Post date:** [July 10, 2024, 6:44pm UTC](https://community.fireblocks.com/t/estimate-fee-for-btc-not-working/1055/6 "2024-07-10T18:44:50Z")

</div>

I meant the smaller amount meaning. The wallet balance should be enough to cover fees and the amount. The fee rate was really high at that time, so the fee estimations were higher.  
You can pass in your fee rate as well using the “fee” field.  
Thanks
