cardano-python icon indicating copy to clipboard operation
cardano-python copied to clipboard

Adjust transaction fee

Open zlac116 opened this issue 3 years ago • 3 comments

Using this python api, I know that you can estimate the fee (using the estimate_fee function), for a given txn but can the fee be adjusted (increased) for the txn, in order to reduce the time in the mempool and effectively speed up the txn? Thanks

zlac116 avatar Jan 30 '22 16:01 zlac116

This is a very good question. The backend API doesn't provide a way to modify the fee but I have no idea whether the protocol does. I think https://cardano.stackexchange.com would be the best place to ask that question.

emesik avatar Jan 30 '22 17:01 emesik

The protocol doesn't allow for this. Transactions are supposed to be processed in order that they are received, unlike other blockchains.

bmasterc avatar Mar 11 '22 05:03 bmasterc

@bmasterc I think the order of transaction arrival is unverifiable by other nodes, hence it cannot be a part of consensus. Also, the multiple levels of fee contradict your above claim. There's certainly a fee market but not free market like in Bitcoin. It's regulated down to 4 price levels in order to provide uniformity. Privacy first.

However, the question of fee estimation still stands.

emesik avatar Mar 11 '22 08:03 emesik