Fee is optional now in get transaction size endpoint

To be able to calculate the fee properly you would need to know the size of your transaction in bytes, to do that you can use this endpoint: https://docs.cryptoapis.io/rest-apis/blockchain-as-a-service-apis/btc/index#btc-transactions-size

Now you can use it without sending the fee itself.