What is the post body fee in the /withdrawals/crypto endpoint?

I have been reading the documentation on https://api-public.sandbox.exchange.coinbase.com/withdrawals/crypto trying to understand what the post body “fee” property is used for. Can anyone provide some insight on what it is used for?

1 Like

Making a withdrawal requires the following steps:

  1. Click on “TRANSFER” on the home screen of your app.
  2. Select “WITHDRAW”
  3. Pick “CRYPTO”
  4. Choose “External Wallet”
  5. Find the withdrawal address you whitelisted and tap “Withdraw”
  6. Enter the amount needed and tap “Withdraw”

Regards,
Rachel Gomez

I’m also interested in the answer here. @RachelGomez answer completely ignored the question

Hi @dd001, first of all, we’d like to thank you for participating in this dev forum. We do apologize for the delayed response. We actually escalated this case to a team of specialists and they found out that there is a missing parameter in the documentation which is the add_network_fee_to_total . It is a boolean flag to add the network fee on top of the amount to be withdrawn via the API. If this is blank, it will default to deducting the network fee from the amount.

4 Likes

Thanks for your response. Does this mean that in the API docs, the string “fee” parameter is unused and there is actually a boolean parameter “add_network_fee_to_total” which is to be used instead?

Hello @Ih4xo8jz! Thank you for taking an interest in trying out Coinbase APIs. For the details regarding your concern, we will check on this for you with our team. We will get back to you once we have more information. Keep in touch!

1 Like

Hello @Ih4xo8jz. Apologies for the delayed response.

To answer your question, yes, you can use the boolean parameter “add_network_fee_to_total” instead. You may find this information at Coinbase Exchange | API Reference. However, please do take note that this is an old documentation link.

add_network_fee_to_total is a boolean flag to add the network fee on top of the amount. If this is blank, it will default to deducting the network fee from the amount.

We hope this helps. Thank you!

1 Like