api_entities_Asset_TransferRestrictions_Count.Count
@polymeshassociation/polymesh-sdk / Modules / api/entities/Asset/TransferRestrictions/Count / Count
Class: Count
api/entities/Asset/TransferRestrictions/Count.Count
Handles all Count Transfer Restriction related functionality
Hierarchy
TransferRestrictionBase
<Count
>↳
Count
Table of contents
Properties
Properties
addRestriction
• addRestriction: ProcedureMethod
<Omit
<AddCountTransferRestrictionParams
, "type"
>, BigNumber
, BigNumber
>
Add a Count Transfer Restriction to this Asset
note
the result is the total amount of restrictions after the procedure has run
Overrides
TransferRestrictionBase.addRestriction
Defined in
api/entities/Asset/TransferRestrictions/Count.ts:27
get
• get: () => Promise
<ActiveTransferRestrictions
<CountTransferRestriction
>>
Type declaration
▸ (): Promise
<ActiveTransferRestrictions
<CountTransferRestriction
>>
Retrieve all active Count Transfer Restrictions
note
there is a maximum number of restrictions allowed across all types. The availableSlots
property of the result represents how many more restrictions can be added before reaching that limit
Returns
Promise
<ActiveTransferRestrictions
<CountTransferRestriction
>>
Overrides
Defined in
api/entities/Asset/TransferRestrictions/Count.ts:56
removeRestrictions
• removeRestrictions: NoArgsProcedureMethod
<BigNumber
, BigNumber
>
Removes all Count Transfer Restrictions from this Asset
note
the result is the total amount of restrictions after the procedure has run
Overrides
TransferRestrictionBase.removeRestrictions
Defined in
api/entities/Asset/TransferRestrictions/Count.ts:47
setRestrictions
• setRestrictions: ProcedureMethod
<Omit
<SetCountTransferRestrictionsParams
, "type"
>, BigNumber
, BigNumber
>
Sets all Count Transfer Restrictions on this Asset
note
the result is the total amount of restrictions after the procedure has run
Overrides
TransferRestrictionBase.setRestrictions
Defined in
Last updated