How to get a transaction fee before sending transaction through coinbase API?
Or how to set a transaction fee for a transaction through coinbase API?
How to get a transaction fee before sending transaction through coinbase API?
Or how to set a transaction fee for a transaction through coinbase API?
The Coinbase "fee" is the difference between the buy and the sell rate. At the moment It works out to about 1.8%. This is the overall fee, with the miner fees included.
You can query the difference between https://api.coinbase.com/v2/prices/BTC-USD/buy
and https://api.coinbase.com/v2/prices/BTC-USD/sell