Count
Last updated
Was this helpful?
Last updated
Was this helpful?
Handles all Count Transfer Restriction related functionality
↳ ‹›
↳ Count
Protected
contextInherited from void
• get: function
Retrieve all active Count Transfer Restrictions
note
there is a maximum number of restrictions allowed accross all types. The availableSlots
property of the result represents how many more restrictions can be added before reaching that limit
Protected
parentInherited from void
Protected
typeAdd a Count Transfer Restriction to this Security Token
note
the result is the total amount of restrictions after the procedure has run
Parameters:
Name
Type
args
opts?
Removes all Count Transfer Restrictions from this Security Token
note
the result is the total amount of restrictions after the procedure has run
Parameters:
Name
Type
args
void
opts?
Sets all Count Transfer Restrictions on this Security Token
note
the result is the total amount of restrictions after the procedure has run
Parameters:
Name
Type
args
opts?
• context:
Defined in
Overrides .
Defined in
▸ (): Promise‹‹››
• parent:
Defined in
• type: = TransferRestrictionType.Count as const
Overrides .
Defined in
â–¸ addRestriction(args
: Omit‹, "type"›, opts?
: ): Promise‹‹number››
Overrides .
Defined in
note
this method is of type , which means you can call addRestriction.checkAuthorization
on it to see whether the Current Account has the required permissions to run it
Omit‹, "type"›
Returns: Promise‹‹number››
â–¸ removeRestrictions(args
: void, opts?
: ): Promise‹‹number››
Overrides .
Defined in
note
this method is of type , which means you can call removeRestrictions.checkAuthorization
on it to see whether the Current Account has the required permissions to run it
Returns: Promise‹‹number››
â–¸ setRestrictions(args
: Omit‹, "type"›, opts?
: ): Promise‹‹number››
Overrides .
Defined in
note
this method is of type , which means you can call setRestrictions.checkAuthorization
on it to see whether the Current Account has the required permissions to run it
Omit‹, "type"›
Returns: Promise‹‹number››