Polymesh SDK API Reference
beta
beta
  • Globals
  • Classes
    • Account
    • AccountManagement
    • Asset
    • AssetHolders
    • AssetPermissions
    • Assets
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • CorporateAction
    • CorporateActionBase
    • CorporateActions
    • Count
    • CustomPermissionGroup
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identities
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • KnownPermissionGroup
    • Network
    • NumberedPortfolio
    • Offering
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • Polymesh
    • PolymeshError
    • PolymeshTransaction
    • PolymeshTransactionBase
    • PolymeshTransactionBatch
    • Portfolio
    • Portfolios
    • Requirements
    • Schedules
    • Settlements
    • Subsidy
    • TickerReservation
    • TransactionQueue
    • TransferRestrictionBase
    • TransferRestrictions
    • TrustedClaimIssuers
    • Venue
  • Enums
  • Interfaces
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Properties
  • addRestriction
  • Protected context
  • get
  • Protected parent
  • removeRestrictions
  • setRestrictions
  • Protected type

Was this helpful?

  1. Classes

Count

Handles all Count Transfer Restriction related functionality

Hierarchy

  • TransferRestrictionBase‹Count›

    ↳ Count

Index

Properties

  • addRestriction

  • context

  • get

  • parent

  • removeRestrictions

  • setRestrictions

  • type

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‹ActiveTransferRestrictions‹CountTransferRestriction››


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

PreviousCorporateActionsNextCustomPermissionGroup

Last updated 2 years ago

Was this helpful?