Skip to main content

TransferPolicyProtocol

TransferPolicyProtocol Objects​

class TransferPolicyProtocol(typing.Protocol)

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

balance​

def balance() -> int

IOTA balance collected by the policy, in nanos.

id​

def id() -> ObjectId

The object's ID.

rules​

def rules() -> typing.List[str]

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