DecimalisedHolding

Documentation for eth_defi.balances.DecimalisedHolding class.

class DecimalisedHolding[source]

A helper class to represent token holdings.

Exposes the underlying decimals the ERC-20 wants to express.

Attributes summary

value

decimals

contract

Methods summary

__init__(value, decimals, contract)

__init__(value, decimals, contract)
Parameters
Return type

None