LegationsMethods extension

on

Properties

expiration_timestamp_nanoseconds BigInt?
The expiration of the user's delegations. Returns null if the list is empty.
no setter

Methods

duration_to_expiration() Duration?
Returns the remaining Duration of this user's delegation. Returns Duration.zero if the delegation is expired; Returns null if the list empty.
is_expired() bool
Whether the user's delegations are expired. Returns false if the list is empty.