Polymesh SDK API Reference
v5.0.0
v5.0.0
  • Introduction
  • Globals
  • Classes
    • Account
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • Context
    • CorporateAction
    • CorporateActions
    • Count
    • CurrentAccount
    • CurrentIdentity
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • Middleware
    • NumberedPortfolio
    • Offerings
    • Percentage
    • Polymesh
    • PolymeshError
    • PolymeshTransaction
    • PolymeshTransactionBase
    • PolymeshTransactionBatch
    • Portfolio
    • Portfolios
    • Requirements
    • Schedules
    • SecurityToken
    • Settlements
    • Sto
    • TickerReservation
    • TokenHolders
    • TransactionQueue
    • TransferRestrictionBase
    • TransferRestrictions
    • TrustedClaimIssuers
    • Venue
  • Enums
    • AffirmationStatus
    • AuthorizationType
    • CalendarUnit
    • ClaimType
    • ConditionTarget
    • ConditionType
    • CorporateActionKind
    • CountryCode
    • ErrorCode
    • InstructionStatus
    • InstructionType
    • KnownTokenType
    • ProposalStage
    • RoleType
    • ScopeType
    • StoBalanceStatus
    • StoSaleStatus
    • StoTimingStatus
    • TargetTreatment
    • TickerReservationStatus
    • TokenIdentifierType
    • TransactionArgumentType
    • TransactionQueueStatus
    • TransactionStatus
    • TransferError
    • TransferRestrictionType
    • TransferStatus
    • TxGroup
    • VenueType
  • Interfaces
    • AccountData
    • ActiveTransferRestrictions
    • AddBatchTransactionOpts
    • AddClaimsParams
    • AddInstructionParams
    • AddInstructionsParams
    • AddInvestorUniquenessClaimParams
    • AddTransactionOpts
    • AddTransactionOptsBase
    • ArrayTransactionArgument
    • Balance
    • CalendarPeriod
    • CddProviderRole
    • CheckpointWithData
    • ClaimData
    • ClaimScope
    • ClaimTarget
    • ComplexTransactionArgument
    • ConditionCompliance
    • ConnectParamsBase
    • ConstructorParams
    • ConsumeParams
    • ControllerTransferParams
    • CorporateActionDefaults
    • CorporateActionTargets
    • CountTransferRestriction
    • CountTransferRestrictionInput
    • CreateCheckpointScheduleParams
    • CreateSecurityTokenParams
    • CreateVenueParams
    • DeletePortfolioParams
    • DistributionParticipant
    • DistributionWithDetails
    • DividendDistributionDetails
    • DividendDistributionParams
    • EditClaimsParams
    • EventIdentifier
    • ExtrinsicData
    • Fees
    • HistoricSettlement
    • IdentityBalance
    • IdentityWithClaims
    • InstructionAffirmation
    • InvestInStoParams
    • Investment
    • InviteAccountParams
    • IssueTokensParams
    • KeyringPair
    • Leg
    • LinkCaDocsParams
    • MiddlewareConfig
    • ModifyCorporateActionsAgentParams
    • ModifyInstructionAffirmationParams
    • ModifyPrimaryIssuanceAgentParams
    • ModifySignerPermissionsParams
    • ModifyTokenTrustedClaimIssuersAddSetParams
    • ModifyTokenTrustedClaimIssuersRemoveParams
    • MoveFundsParams
    • NetworkProperties
    • PaginationOptions
    • PayDividendsParams
    • PercentageTransferRestriction
    • PercentageTransferRestrictionInput
    • Permissions
    • PermissionsLike
    • PlainTransactionArgument
    • PortfolioBalance
    • PortfolioCustodianRole
    • PortfolioMovement
    • ProcedureAuthorizationStatus
    • ProposalDetails
    • ProposalTimeFrames
    • ProposalVote
    • RedeemTokenParams
    • RegisterIdentityParams
    • RemoveCheckpointScheduleParams
    • RemoveCorporateActionParams
    • RemoveSecondaryKeysParams
    • RenamePortfolioParams
    • Requirement
    • RequirementCompliance
    • ReserveTickerParams
    • ResultSet
    • RevokeClaimsParams
    • ScheduleDetails
    • ScheduleWithDetails
    • Scope
    • SecondaryKey
    • SecurityTokenDetails
    • SetAssetRequirementsParams
    • SetCountTransferRestrictionsParams
    • SetCustodianParams
    • SetPercentageTransferRestrictionsParams
    • SetTokenDocumentsParams
    • SettlementLeg
    • SimpleEnumTransactionArgument
    • StoDetails
    • StoStatus
    • StoTier
    • StoWithDetails
    • TaxWithholding
    • TickerOwnerRole
    • TickerReservationDetails
    • Tier
    • ToggleFreezeSecondaryKeysParams
    • ToggleFreezeStoParams
    • ToggleFreezeTransfersParams
    • TogglePauseRequirementsParams
    • TokenCaaRole
    • TokenDocument
    • TokenIdentifier
    • TokenOwnerRole
    • TokenPiaRole
    • TransferBreakdown
    • TransferPolyXParams
    • TransferRestriction
    • TransferRestrictionInputBase
    • TransferRestrictionResult
    • TransferTokenOwnershipParams
    • TrustedClaimIssuer
    • UiKeyring
    • UniqueIdentifiers
    • VenueDetails
    • VenueOwnerRole
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • affirm
  • Protected context
  • id
  • reject
  • uuid
  • withdraw
  • Methods
  • details
  • exists
  • getAffirmations
  • getLegs
  • isEqual
  • Static generateUuid
  • Static unserialize

Was this helpful?

  1. Classes

Instruction

PreviousIdentityAuthorizationsNextIssuance

Last updated 3 years ago

Was this helpful?

Represents a settlement Instruction to be executed on a certain Venue

Hierarchy

  • ‹UniqueIdentifiers›

    ↳ Instruction

Index

Properties

Methods

Properties

affirm

Affirm this instruction (authorize)

Protected context

id

• id: BigNumber

Identifier number of the venue

reject

Reject this instruction

note reject on SettleOnAffirmation will execute the settlement and it will fail immediately.

note reject on SettleOnBlock behaves just like unauthorize

uuid

• uuid: string

withdraw

Withdraw affirmation from this instruction (unauthorize)

Methods

details

Retrieve information specific to this Instruction

exists

▸ exists(): Promise‹boolean›

Retrieve whether the Instruction still exists on chain. Executed/rejected instructions are pruned from the storage

Returns: Promise‹boolean›

getAffirmations

Retrieve every authorization generated by this Instruction (status and authorizing Identity)

note supports pagination

Parameters:

Name

Type

paginationOpts?

getLegs

Retrieve all legs of this Instruction

note supports pagination

Parameters:

Name

Type

paginationOpts?

isEqual

Whether this Entity is the same as another one

Parameters:

Name

Type

entity

Returns: boolean

Static generateUuid

▸ generateUuid‹Identifiers›(identifiers: Identifiers): string

Generate the Entity's UUID from its identifying properties

Type parameters:

â–ª Identifiers: object

Parameters:

Name

Type

Description

identifiers

Identifiers

Returns: string

Static unserialize

▸ unserialize‹Identifiers›(serialized: string): Identifiers

Unserialize a UUID into its Unique Identifiers

Type parameters:

â–ª Identifiers: object

Parameters:

Name

Type

Description

serialized

string

UUID to unserialize

Returns: Identifiers

• affirm: ProcedureMethod‹void, ›

Defined in

• context:

Inherited from .

Defined in

Defined in

• reject: ProcedureMethod‹void, ›

Defined in

Inherited from .

Defined in

• withdraw: ProcedureMethod‹void, ›

Defined in

▸ details(): Promise‹›

Defined in

Returns: Promise‹›

Defined in

▸ getAffirmations(paginationOpts?: ): Promise‹‹››

Defined in

Returns: Promise‹‹››

▸ getLegs(paginationOpts?: ): Promise‹‹››

Defined in

Returns: Promise‹‹››

▸ isEqual(entity: ‹object›): boolean

Inherited from .

Defined in

‹object›

Inherited from .

Defined in

Inherited from .

Defined in

Instruction
src/api/entities/Instruction/index.ts:289
Context
src/api/entities/Entity.ts:48
src/api/entities/Instruction/index.ts:60
Instruction
src/api/entities/Instruction/index.ts:283
src/api/entities/Entity.ts:46
Instruction
src/api/entities/Instruction/index.ts:294
src/api/entities/Instruction/index.ts:128
src/api/entities/Instruction/index.ts:107
PaginationOptions
ResultSet
InstructionAffirmation
src/api/entities/Instruction/index.ts:184
ResultSet
InstructionAffirmation
PaginationOptions
ResultSet
Leg
src/api/entities/Instruction/index.ts:230
ResultSet
Leg
Entity
src/api/entities/Entity.ts:61
src/api/entities/Entity.ts:14
src/api/entities/Entity.ts:23
Entity
affirm
context
id
reject
uuid
withdraw
details
exists
getAffirmations
getLegs
isEqual
generateUuid
unserialize
PaginationOptions
PaginationOptions
Entity
CheckpointSchedule
CheckpointSchedule
CheckpointSchedule
CheckpointSchedule
CheckpointSchedule
context
uuid
isEqual
generateUuid
unserialize
InstructionDetails
InstructionDetails