Fee#

Estimate Fee#

defichain.transactions.rawtransactions.estimate_fee(tx: Transaction, feePerByte: float)#

Estimates fees for unsigned transaction

Parameters:
  • tx (Transaction) – (required) the unsigned transaction object

  • feePerByte (float) – (required) the amount of fee to pay per byte

Returns:

“int” - the amount of fee to pay