Skip to main content

Interface: TransferPolicyLike

A typed view of an on-chain 0x2::transfer_policy::TransferPolicy<T> object.

Methods​

balance()​

balance(): bigint;

IOTA balance collected by the policy, in nanos.

Returns​

bigint


id()​

id(): ObjectIdLike;

The object's ID.

Returns​

ObjectIdLike


rules()​

rules(): string[];

Fully-qualified type names of the rules attached to this policy.

Returns​

string[]