Skip to main content

Interface: TreasuryCapLike

A typed view of an on-chain 0x2::coin::TreasuryCap<T> object, the capability controlling a coin type's supply.

Methods

id()

id(): ObjectIdLike;

The object's ID.

Returns

ObjectIdLike


totalSupply()

totalSupply(): bigint;

Total supply of the coin currently in circulation, in base units.

Returns

bigint