Fee#

class defichain.ocean.Fee(ocean)#
estimate(confirmationTarget: int = 10) {}#

Estimates the fee for transaction to get confirmed

Parameters:

confirmationTarget (str) – (optional) confirmationTarget in blocks till fee get confirmed

Returns:

(json string) {data: float}

Example:

>>> ocean.fee.estimate(10)