Count

Handles all Count Transfer Restriction related functionality

Hierarchy

  • TransferRestrictionBase‹Count

    Count

Index

Properties

Properties

addRestriction

addRestriction: ProcedureMethod‹Omit‹AddCountTransferRestrictionParams, "type"›, BigNumber›

Overrides TransferRestrictionBase.addRestriction

Defined in src/api/entities/Asset/TransferRestrictions/Count.ts:27

Add a Count Transfer Restriction to this Asset

note the result is the total amount of restrictions after the procedure has run


Protected context

context: Context

Inherited from void

Defined in src/api/entities/Namespace.ts:11


get

get: function

Overrides TransferRestrictionBase.get

Defined in src/api/entities/Asset/TransferRestrictions/Count.ts:56

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

Type declaration:

▸ (): Promise‹ActiveTransferRestrictionsCountTransferRestriction››


Protected parent

parent: Asset

Inherited from void

Defined in src/api/entities/Namespace.ts:9


removeRestrictions

removeRestrictions: NoArgsProcedureMethod‹BigNumber›

Overrides TransferRestrictionBase.removeRestrictions

Defined in src/api/entities/Asset/TransferRestrictions/Count.ts:47

Removes all Count Transfer Restrictions from this Asset

note the result is the total amount of restrictions after the procedure has run


setRestrictions

setRestrictions: ProcedureMethod‹Omit‹SetCountTransferRestrictionsParams, "type"›, BigNumber›

Overrides TransferRestrictionBase.setRestrictions

Defined in src/api/entities/Asset/TransferRestrictions/Count.ts:37

Sets all Count Transfer Restrictions on this Asset

note the result is the total amount of restrictions after the procedure has run


Protected type

type: Count = TransferRestrictionType.Count as const

Overrides TransferRestrictionBase.type

Defined in src/api/entities/Asset/TransferRestrictions/Count.ts:20

Last updated