Polymesh SDK API Reference
v8.0.0
v8.0.0
  • Introduction
  • Globals
  • Classes
    • Account
    • Agent
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • Context
    • CorporateAction
    • CorporateActions
    • Count
    • CurrentAccount
    • CurrentIdentity
    • CustomPermissionGroup
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • KnownPermissionGroup
    • Middleware
    • NumberedPortfolio
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • 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
    • PermissionGroupType
    • PermissionType
    • ProposalStage
    • RoleType
    • ScopeType
    • SignerType
    • StoBalanceStatus
    • StoSaleStatus
    • StoTimingStatus
    • TargetTreatment
    • TickerReservationStatus
    • TokenIdentifierType
    • TransactionArgumentType
    • TransactionQueueStatus
    • TransactionStatus
    • TransferError
    • TransferRestrictionType
    • TransferStatus
    • TxGroup
    • VenueType
  • Interfaces
    • ActiveTransferRestrictions
    • AddBatchTransactionOpts
    • AddClaimsParams
    • AddInstructionParams
    • AddInstructionsParams
    • AddInvestorUniquenessClaimParams
    • AddPairBaseParams
    • AddTransactionOpts
    • AddTransactionOptsBase
    • AgentWithGroup
    • ArrayTransactionArgument
    • Balance
    • CalendarPeriod
    • CddProviderRole
    • CheckpointWithData
    • ClaimClassicTickerParams
    • ClaimData
    • ClaimScope
    • ClaimTarget
    • ComplexTransactionArgument
    • ConditionCompliance
    • ConnectParamsBase
    • ConstructorParams
    • ConsumeParams
    • ControllerTransferParams
    • CorporateActionDefaults
    • CorporateActionTargets
    • CountTransferRestriction
    • CountTransferRestrictionInput
    • CreateCheckpointScheduleParams
    • CreateGroupParams
    • CreateSecurityTokenParams
    • CreateVenueParams
    • DeletePortfolioParams
    • DistributionParticipant
    • DistributionPayment
    • DistributionWithDetails
    • DividendDistributionDetails
    • DividendDistributionParams
    • EditClaimsParams
    • EventIdentifier
    • ExtrinsicData
    • Fees
    • GroupedInstructions
    • HistoricSettlement
    • HumanReadable
    • IdentityBalance
    • IdentityWithClaims
    • InstructionAffirmation
    • InvestInStoParams
    • Investment
    • InviteAccountParams
    • InviteExternalAgentParams
    • IssueTokensParams
    • KeyringPair
    • LeaveIdentityParams
    • Leg
    • LinkCaDocsParams
    • MiddlewareConfig
    • ModifyCorporateActionsAgentParams
    • ModifyInstructionAffirmationParams
    • ModifyPrimaryIssuanceAgentParams
    • ModifySignerPermissionsParams
    • ModifyTokenTrustedClaimIssuersAddSetParams
    • ModifyTokenTrustedClaimIssuersRemoveParams
    • MoveFundsParams
    • NetworkProperties
    • PaginationOptions
    • PayDividendsParams
    • PercentageTransferRestriction
    • PercentageTransferRestrictionInput
    • PlainTransactionArgument
    • PortfolioBalance
    • PortfolioCustodianRole
    • PortfolioMovement
    • ProcedureAuthorizationStatus
    • ProcedureMethod
    • ProcedureOpts
    • ProposalDetails
    • ProposalTimeFrames
    • ProposalVote
    • RedeemTokenParams
    • RegisterIdentityParams
    • RemoveCheckpointScheduleParams
    • RemoveCorporateActionParams
    • RemoveExternalAgentParams
    • RemoveSecondaryKeysParams
    • RenamePortfolioParams
    • Requirement
    • RequirementCompliance
    • ReserveTickerParams
    • ResultSet
    • RevokeClaimsParams
    • ScheduleDetails
    • ScheduleWithDetails
    • Scope
    • SecondaryKey
    • SectionPermissions
    • SecurityTokenDetails
    • SetAssetRequirementsParams
    • SetCountTransferRestrictionsParams
    • SetCustodianParams
    • SetPercentageTransferRestrictionsParams
    • SetTokenDocumentsParams
    • SettlementLeg
    • SignerValue
    • SimpleEnumTransactionArgument
    • SimplePermissions
    • StoDetails
    • StoStatus
    • StoTier
    • StoWithDetails
    • TaxWithholding
    • TickerOwnerRole
    • TickerReservationDetails
    • Tier
    • ToggleFreezeSecondaryKeysParams
    • ToggleFreezeStoParams
    • ToggleFreezeTransfersParams
    • TogglePauseRequirementsParams
    • TokenDocument
    • TokenIdentifier
    • TransactionPermissions
    • TransferBreakdown
    • TransferPolyxParams
    • TransferRestriction
    • TransferRestrictionInputBase
    • TransferRestrictionResult
    • TransferTickerOwnershipParams
    • TransferTokenOwnershipParams
    • TrustedClaimIssuer
    • UiKeyring
    • UniqueIdentifiers
    • VenueDetails
    • VenueOwnerRole
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • Protected context
  • id
  • uuid
  • Methods
  • addInstruction
  • addInstructions
  • details
  • exists
  • getInstructions
  • getPendingInstructions
  • isEqual
  • modify
  • toJson
  • Static generateUuid
  • Static unserialize

Was this helpful?

  1. Classes

Venue

PreviousTrustedClaimIssuersNextEnums

Last updated 3 years ago

Was this helpful?

Represents a Venue through which settlements are handled

Hierarchy

  • ‹UniqueIdentifiers, string›

    ↳ Venue

Index

Properties

Methods

Properties

Protected context

id

• id: BigNumber

Identifier number of the venue

uuid

• uuid: string

Methods

addInstruction

Creates a settlement Instruction in this Venue

note required role:

  • Venue Owner

Parameters:

Name

Type

args

opts?

addInstructions

Creates a batch of settlement Instructions in this Venue

note required role:

  • Venue Owner

Parameters:

Name

Type

args

opts?

details

Retrieve information specific to this venue

exists

▸ exists(): Promise‹boolean›

Retrieve whether the Venue exists

Returns: Promise‹boolean›

getInstructions

Retrieve all pending and failed Instructions in this Venue

getPendingInstructions

Retrieve all pending Instructions in this Venue

deprecated in favor of getInstructions

isEqual

Whether this Entity is the same as another one

Parameters:

Name

Type

entity

Returns: boolean

modify

Modify description and type

note required role:

  • Venue Owner

Parameters:

Name

Type

args

opts?

toJson

â–¸ toJson(): string

Return the Venue's ID

Returns: string

Static generateUuid

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

Generate the Entity's UUID from its identifying properties

Type parameters:

â–ª Identifiers

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

Parameters:

Name

Type

Description

serialized

string

UUID to unserialize

Returns: Identifiers

• context:

Inherited from .

Defined in

Defined in

Inherited from .

Defined in

▸ addInstruction(args: , opts?: ): Promise‹‹[], ››

Defined in

note this method is of type , which means you can call addInstruction.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Returns: Promise‹‹[], ››

▸ addInstructions(args: , opts?: ): Promise‹‹[]››

Defined in

note this method is of type , which means you can call addInstructions.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Returns: Promise‹‹[]››

▸ details(): Promise‹›

Defined in

Returns: Promise‹›

Defined in

▸ getInstructions(): Promise‹Pick‹, "pending" | "failed"››

Defined in

Returns: Promise‹Pick‹, "pending" | "failed"››

▸ getPendingInstructions(): Promise‹[]›

Defined in

Returns: Promise‹[]›

▸ isEqual(entity: ‹unknown, unknown›): boolean

Inherited from .

Defined in

‹unknown, unknown›

▸ modify(args: , opts?: ): Promise‹‹void››

Defined in

note this method is of type , which means you can call modify.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Returns: Promise‹‹void››

Overrides .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Context
src/api/entities/Entity.ts:48
src/api/entities/Venue/index.ts:58
src/api/entities/Entity.ts:46
AddInstructionParams
ProcedureOpts
TransactionQueue
Instruction
Instruction
src/api/entities/Venue/index.ts:243
ProcedureMethod
TransactionQueue
Instruction
Instruction
AddInstructionsParams
ProcedureOpts
TransactionQueue
Instruction
src/api/entities/Venue/index.ts:256
ProcedureMethod
TransactionQueue
Instruction
VenueDetails
src/api/entities/Venue/index.ts:111
VenueDetails
src/api/entities/Venue/index.ts:92
GroupedInstructions
src/api/entities/Venue/index.ts:145
GroupedInstructions
Instruction
src/api/entities/Venue/index.ts:199
Instruction
Entity
src/api/entities/Entity.ts:61
src/api/entities/Venue/index.ts:269
ProcedureMethod
TransactionQueue
src/api/entities/Venue/index.ts:276
src/api/entities/Entity.ts:14
src/api/entities/Entity.ts:23
Entity
context
id
uuid
addInstruction
addInstructions
details
exists
getInstructions
getPendingInstructions
isEqual
modify
toJson
generateUuid
unserialize
AddInstructionParams
ProcedureOpts
AddInstructionsParams
ProcedureOpts
Entity
ProcedureOpts
Entity
Entity
Entity
ProcedureOpts
TransactionQueue
Entity
Entity
Entity
context
uuid
isEqual
toJson
generateUuid
unserialize
ModifyVenueParams
ModifyVenueParams