Skip to content

api.procedures.types

polymesh-bot edited this page Jul 20, 2026 · 88 revisions

@polymeshassociation/polymesh-sdk / api/procedures/types

api/procedures/types

Enumerations

AllowanceOperation

Defined in: api/procedures/types.ts:1728

Enumeration Members

Decrease

Decrease: "Decrease"

Defined in: api/procedures/types.ts:1731

Increase

Increase: "Increase"

Defined in: api/procedures/types.ts:1730

Set

Set: "Set"

Defined in: api/procedures/types.ts:1729


ClaimOperation

Defined in: api/procedures/types.ts:936

Enumeration Members

Add

Add: "Add"

Defined in: api/procedures/types.ts:938

Edit

Edit: "Edit"

Defined in: api/procedures/types.ts:939

Revoke

Revoke: "Revoke"

Defined in: api/procedures/types.ts:937


InstructionAffirmationOperation

Defined in: api/procedures/types.ts:1146

Enumeration Members

Affirm

Affirm: "Affirm"

Defined in: api/procedures/types.ts:1147

AffirmAsMediator

AffirmAsMediator: "AffirmAsMediator"

Defined in: api/procedures/types.ts:1153

Reject

Reject: "Reject"

Defined in: api/procedures/types.ts:1152

RejectAsMediator

RejectAsMediator: "RejectAsMediator"

Defined in: api/procedures/types.ts:1158

Withdraw

Withdraw: "Withdraw"

Defined in: api/procedures/types.ts:1151

Deprecated

withdrawing an affirmation is no longer supported in chain v8

WithdrawAsMediator

WithdrawAsMediator: "WithdrawAsMediator"

Defined in: api/procedures/types.ts:1157

Deprecated

withdrawing an affirmation as a mediator is no longer supported in chain v8


RoleType

Defined in: api/procedures/types.ts:273

Enumeration Members

CddProvider

CddProvider: "CddProvider"

Defined in: api/procedures/types.ts:278

Deprecated

CddProvider role has been deprecated in favor of DidRegistrar role for chain v8

CorporateActionsAgent

CorporateActionsAgent: "CorporateActionsAgent"

Defined in: api/procedures/types.ts:281

DidRegistrar

DidRegistrar: "DidRegistrar"

Defined in: api/procedures/types.ts:284

Identity

Identity: "Identity"

Defined in: api/procedures/types.ts:283

PortfolioCustodian

PortfolioCustodian: "PortfolioCustodian"

Defined in: api/procedures/types.ts:280

TickerOwner

TickerOwner: "TickerOwner"

Defined in: api/procedures/types.ts:274

VenueOwner

VenueOwner: "VenueOwner"

Defined in: api/procedures/types.ts:279


SignerKeyRingType

Defined in: api/procedures/types.ts:1180

Enumeration Members

Ecdsa

Ecdsa: "Ecdsa"

Defined in: api/procedures/types.ts:1183

Ed25519

Ed25519: "Ed25519"

Defined in: api/procedures/types.ts:1181

Sr25519

Sr25519: "Sr25519"

Defined in: api/procedures/types.ts:1182


TransferRestrictionType

Defined in: api/procedures/types.ts:571

Enumeration Members

ClaimCount

ClaimCount: "ClaimCount"

Defined in: api/procedures/types.ts:574

ClaimPercentage

ClaimPercentage: "ClaimPercentage"

Defined in: api/procedures/types.ts:575

Count

Count: "Count"

Defined in: api/procedures/types.ts:572

Percentage

Percentage: "Percentage"

Defined in: api/procedures/types.ts:573


TxGroup

Defined in: api/procedures/types.ts:334

Transaction Groups (for secondary key permissions purposes) Includes all transactions that agents can perform plus secondary key specific transactions

Enumeration Members

AdvancedAssetManagement

AdvancedAssetManagement: "AdvancedAssetManagement"

Defined in: api/procedures/types.ts:339

Advanced Asset Management operations

See

types/txGroupConstants!ADVANCED_ASSET_MANAGEMENT_TX_TAGS for the complete list of transactions

AssetDocumentManagement

AssetDocumentManagement: "AssetDocumentManagement"

Defined in: api/procedures/types.ts:351

Asset Document Management operations

See

types/txGroupConstants!ASSET_DOCUMENT_MANAGEMENT_TX_TAGS for the complete list of transactions

AssetManagement

AssetManagement: "AssetManagement"

Defined in: api/procedures/types.ts:345

Asset management operations

See

types/txGroupConstants!ASSET_MANAGEMENT_TX_TAGS for the complete list of transactions

AssetMetadataManagement

AssetMetadataManagement: "AssetMetadataManagement"

Defined in: api/procedures/types.ts:357

Asset Metadata Management operations

See

types/txGroupConstants!ASSET_METADATA_MANAGEMENT_TX_TAGS for the complete list of transactions

AssetRegistration

AssetRegistration: "AssetRegistration"

Defined in: api/procedures/types.ts:363

Asset Registration operations

See

types/txGroupConstants!ASSET_REGISTRATION_TX_TAGS for the complete list of transactions

AuthorizationManagement

AuthorizationManagement: "AuthorizationManagement"

Defined in: api/procedures/types.ts:369

Authorization Management operations

See

types/txGroupConstants!AUTHORIZATION_MANAGEMENT_TX_TAGS for the complete list of transactions

CapitalDistribution

CapitalDistribution: "CapitalDistribution"

Defined in: api/procedures/types.ts:375

Capital distribution management

See

types/txGroupConstants!CAPITAL_DISTRIBUTION_TX_TAGS for the complete list of transactions

CddRegistration

CddRegistration: "CddRegistration"

Defined in: api/procedures/types.ts:381

CDD Registration operations

See

types/txGroupConstants!CDD_REGISTRATION_TX_TAGS for the complete list of transactions

CheckpointManagement

CheckpointManagement: "CheckpointManagement"

Defined in: api/procedures/types.ts:387

Checkpoint management

See

types/txGroupConstants!CHECKPOINT_MANAGEMENT_TX_TAGS for the complete list of transactions

ClaimsManagement

ClaimsManagement: "ClaimsManagement"

Defined in: api/procedures/types.ts:393

Claims Management operations

See

types/txGroupConstants!CLAIMS_MANAGEMENT_TX_TAGS for the complete list of transactions

ComplianceManagement

ComplianceManagement: "ComplianceManagement"

Defined in: api/procedures/types.ts:399

Compliance management operations

See

types/txGroupConstants!COMPLIANCE_MANAGEMENT_TX_TAGS for the complete list of transactions

CorporateActionsManagement

CorporateActionsManagement: "CorporateActionsManagement"

Defined in: api/procedures/types.ts:405

Corporate actions management

See

types/txGroupConstants!CORPORATE_ACTIONS_MANAGEMENT_TX_TAGS for the complete list of transactions

CorporateBallotManagement

CorporateBallotManagement: "CorporateBallotManagement"

Defined in: api/procedures/types.ts:411

Corporate ballot management

See

types/txGroupConstants!CORPORATE_BALLOT_MANAGEMENT_TX_TAGS for the complete list of transactions

CorporateVoting

CorporateVoting: "CorporateVoting"

Defined in: api/procedures/types.ts:417

Corporate voting operations

See

types/txGroupConstants!CORPORATE_VOTING_TX_TAGS for the complete list of transactions

ExternalAgentManagement

ExternalAgentManagement: "ExternalAgentManagement"

Defined in: api/procedures/types.ts:423

External Agent Management operations

See

types/txGroupConstants!EXTERNAL_AGENT_MANAGEMENT_TX_TAGS for the complete list of transactions

ExternalAgentParticipation

ExternalAgentParticipation: "ExternalAgentParticipation"

Defined in: api/procedures/types.ts:429

External Agent Participation operations

See

types/txGroupConstants!EXTERNAL_AGENT_PARTICIPATION_TX_TAGS for the complete list of transactions

Issuance

Issuance: "Issuance"

Defined in: api/procedures/types.ts:435

Issuance operations

See

types/txGroupConstants!ISSUANCE_TX_TAGS for the complete list of transactions

MultiSigManagement

MultiSigManagement: "MultiSigManagement"

Defined in: api/procedures/types.ts:441

MultiSig account management

See

types/txGroupConstants!MULTISIG_MANAGEMENT_TX_TAGS for the complete list of transactions

PortfolioManagement

PortfolioManagement: "PortfolioManagement"

Defined in: api/procedures/types.ts:447

Portfolio management operations

See

types/txGroupConstants!PORTFOLIO_MANAGEMENT_TX_TAGS for the complete list of transactions

Redemption

Redemption: "Redemption"

Defined in: api/procedures/types.ts:459

Redemption operations

See

types/txGroupConstants!REDEMPTION_TX_TAGS for the complete list of transactions

RelayerManagement

RelayerManagement: "RelayerManagement"

Defined in: api/procedures/types.ts:453

Relayer Management operations

See

types/txGroupConstants!RELAYER_MANAGEMENT_TX_TAGS for the complete list of transactions

SettlementManagement

SettlementManagement: "SettlementManagement"

Defined in: api/procedures/types.ts:465

Settlement Management operations

See

types/txGroupConstants!SETTLEMENT_MANAGEMENT_TX_TAGS for the complete list of transactions

StoManagement

StoManagement: "StoManagement"

Defined in: api/procedures/types.ts:471

STO Management operations

See

types/txGroupConstants!STO_MANAGEMENT_TX_TAGS for the complete list of transactions

TrustedClaimIssuersManagement

TrustedClaimIssuersManagement: "TrustedClaimIssuersManagement"

Defined in: api/procedures/types.ts:477

Trusted Claim Issuers Management operations

See

types/txGroupConstants!TRUSTED_CLAIM_ISSUERS_MANAGEMENT_TX_TAGS for the complete list of transactions

Interfaces

AcceptPrimaryKeyRotationParams

Defined in: api/procedures/types.ts:706

Properties

cddAuth?

optional cddAuth?: BigNumber | AuthorizationRequest

Defined in: api/procedures/types.ts:715

(optional) Authorization from a CDD service provider attesting the rotation of primary key

Deprecated

this value will be ignored from chain v8

ownerAuth

ownerAuth: BigNumber | AuthorizationRequest

Defined in: api/procedures/types.ts:710

Authorization from the owner who initiated the change


AcceptSubsidyParams

Defined in: api/procedures/types.ts:767

Properties

subsidizer

subsidizer: string | Account

Defined in: api/procedures/types.ts:771

Account providing the subsidy


AccountWithSignature

Defined in: api/procedures/types.ts:732

Properties

authSignature

authSignature: string

Defined in: api/procedures/types.ts:752

Off-chain authorization signature generated by secondaryAccount signing of the target Id authorization

Target Id authorization consists of the target Identity (to which the secondary account will be added), off chain authorization nonce of the target Identity and expiry date (same as expiresAt value) until which the off chain authorization will be valid. Signature has to be generated encoding the target Id authorization value in the specified order.

Note

Nonce value can be fetched using Identity.getOffChainAuthorizationNonce Signature can also be generated using the method accountManagement.generateOffChainAuthSignature

secondaryAccount

secondaryAccount: Modify<PermissionedAccount, { account: string | Account; permissions: PermissionsLike; }>

Defined in: api/procedures/types.ts:738

The secondary Account along with its permissions to be added

Note

This account should not be linked to any other Identity


AddAssetDocumentsParams

Defined in: api/procedures/types.ts:1590

Properties

documents

documents: AssetDocument[]

Defined in: api/procedures/types.ts:1594

documents to add to the asset


AddAssetRequirementParams

Defined in: api/procedures/types.ts:1454

Properties

conditions

conditions: InputCondition[]

Defined in: api/procedures/types.ts:1460

array of conditions that form the requirement that must be added. Conditions within a requirement are AND between them. This means that in order for a transfer to comply with this requirement, it must fulfill ALL conditions


AddClaimsParams

Defined in: api/procedures/types.ts:942

Properties

claims

claims: ClaimTarget[]

Defined in: api/procedures/types.ts:946

array of claims to be added

operation

operation: Add

Defined in: api/procedures/types.ts:947


AddInstructionsParams

Defined in: api/procedures/types.ts:1131

Properties

instructions

instructions: AddInstructionParams[]

Defined in: api/procedures/types.ts:1135

array of Instructions to be added in the Venue


AddInvestorUniquenessClaimParams

Defined in: api/procedures/types.ts:977

Properties

cddId

cddId: string

Defined in: api/procedures/types.ts:979

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:982

proof

proof: string | ScopeClaimProof

Defined in: api/procedures/types.ts:980

scope

scope: Scope

Defined in: api/procedures/types.ts:978

scopeId

scopeId: string

Defined in: api/procedures/types.ts:981


AddSecondaryAccountsParams

Defined in: api/procedures/types.ts:755

Properties

accounts

accounts: AccountWithSignature[]

Defined in: api/procedures/types.ts:764

List of accounts to be added as secondary accounts along with their off chain authorization signatures

expiresAt

expiresAt: Date

Defined in: api/procedures/types.ts:759

Expiry date until which all the off chain authorizations received from each account is valid


ApproveAllowanceParams

Defined in: api/procedures/types.ts:2154

Properties

amount

amount: BigNumber

Defined in: api/procedures/types.ts:2163

Maximum amount the spender may transfer. Passing 0 will revoke the approval. Balance::MAX = unlimited.

spender

spender: AccountLike

Defined in: api/procedures/types.ts:2158

Account authorized to spend the Asset


AssetBase

Defined in: api/procedures/types.ts:1818

Extended by

Properties

asset

asset: string | FungibleAsset

Defined in: api/procedures/types.ts:1822

Asset over which the Identity will be granted permissions


AssetMediatorParams

Defined in: api/procedures/types.ts:1976

Properties

mediators

mediators: (string | Identity)[]

Defined in: api/procedures/types.ts:1977


AttestPrimaryKeyRotationParams

Defined in: api/procedures/types.ts:1005

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:1019

(optional) when the generated authorization should expire

identity

identity: string | Identity

Defined in: api/procedures/types.ts:1014

Identity or the DID of the Identity that is to be rotated

targetAccount

targetAccount: string | Account

Defined in: api/procedures/types.ts:1009

The Account that will be attested to become the primary key of the identity. Can be ss58 encoded address or an instance of Account


BondPolyxParams

Defined in: api/procedures/types.ts:1992

Properties

amount

amount: BigNumber

Defined in: api/procedures/types.ts:2016

The amount of POLYX to bond (up to 6 decimals of precision)

Note

It is strongly recommended against bonding 100% an account's POLYX balance. At the minimum a stash account needs enough POLYX to sign the unbond extrinsic ()

autoStake

autoStake: boolean

Defined in: api/procedures/types.ts:2008

Can be set to true if rewardDestination is the signing account. Auto stake will stake all rewards so the balance will compound

controller

controller: string | Account

Defined in: api/procedures/types.ts:1998

The controller is the account responsible for managing staked POLYX. This can be the stash, but designating a different key can make it easier to update nomination preferences and maintain the POLYX in a more secure, but inconvenient, stash key.

payee

payee: string | Account

Defined in: api/procedures/types.ts:2003

The account that should receive the stashing rewards


CddProviderRole

Defined in: api/procedures/types.ts:292

Properties

type

type: CddProvider

Defined in: api/procedures/types.ts:293


ChildKeyWithAuth

Defined in: api/procedures/types.ts:1936

Properties

authSignature

authSignature: `0x${string}`

Defined in: api/procedures/types.ts:1953

Off-chain authorization signature generated by key signing of the target Id authorization

Target Id authorization consists of the target Identity (which will become the parent of the child Identity), off chain authorization nonce of the target Identity and expiry date (same as expiresAt value) until which the off chain authorization will be valid. Signature has to be generated encoding the target Id authorization value in the specified order.

Note

Nonce value can be fetched using Identity.getOffChainAuthorizationNonce Signature can also be generated using the method accountManagement.generateOffChainAuthSignature

key

key: string | Account

Defined in: api/procedures/types.ts:1942

The key that will become the primary key of the new child Identity

Note

This key should not be linked to any other Identity


ClaimCountRestrictionValue

Defined in: api/procedures/types.ts:578

Properties

claim

claim: InputStatClaim

Defined in: api/procedures/types.ts:582

issuer

issuer: Identity

Defined in: api/procedures/types.ts:581

max?

optional max?: BigNumber

Defined in: api/procedures/types.ts:580

min

min: BigNumber

Defined in: api/procedures/types.ts:579


ClaimCountTransferRestrictionInput

Defined in: api/procedures/types.ts:628

Properties

claim

claim: InputStatClaim

Defined in: api/procedures/types.ts:632

issuer

issuer: Identity

Defined in: api/procedures/types.ts:631

max?

optional max?: BigNumber

Defined in: api/procedures/types.ts:630

min

min: BigNumber

Defined in: api/procedures/types.ts:629

type

type: ClaimCount

Defined in: api/procedures/types.ts:633


ClaimPercentageRestrictionValue

Defined in: api/procedures/types.ts:585

Properties

claim

claim: InputStatClaim

Defined in: api/procedures/types.ts:589

issuer

issuer: Identity

Defined in: api/procedures/types.ts:588

max

max: BigNumber

Defined in: api/procedures/types.ts:587

min

min: BigNumber

Defined in: api/procedures/types.ts:586


ClaimPercentageTransferRestrictionInput

Defined in: api/procedures/types.ts:635

Properties

claim

claim: InputStatClaim

Defined in: api/procedures/types.ts:639

issuer

issuer: Identity

Defined in: api/procedures/types.ts:638

max

max: BigNumber

Defined in: api/procedures/types.ts:637

min

min: BigNumber

Defined in: api/procedures/types.ts:636

type

type: ClaimPercentage

Defined in: api/procedures/types.ts:640


ConfigureDividendDistributionParams

Defined in: api/procedures/types.ts:1531

Properties

checkpoint

checkpoint: InputCaCheckpoint

Defined in: api/procedures/types.ts:1556

checkpoint to be used to calculate Dividends. If a Schedule is passed, the next Checkpoint it creates will be used. If a Date is passed, a Checkpoint will be created at that date and used

currency

currency: string

Defined in: api/procedures/types.ts:1564

ticker of the currency in which Dividends will be distributed

declarationDate?

optional declarationDate?: Date

Defined in: api/procedures/types.ts:1535

date at which the issuer publicly declared the Dividend Distribution. Optional, defaults to the current date

defaultTaxWithholding?

optional defaultTaxWithholding?: BigNumber

Defined in: api/procedures/types.ts:1546

default percentage (0-100) of the Benefits to be held for tax purposes

description

description: string

Defined in: api/procedures/types.ts:1536

expiryDate?

optional expiryDate?: Date

Defined in: api/procedures/types.ts:1580

optional, defaults to never expiring

maxAmount

maxAmount: BigNumber

Defined in: api/procedures/types.ts:1572

maximum amount of currency to distribute in total

originPortfolio?

optional originPortfolio?: BigNumber | NumberedPortfolio

Defined in: api/procedures/types.ts:1560

portfolio from which the Dividends will be distributed. Optional, defaults to the Dividend Distributions Agent's Default Portfolio

paymentDate

paymentDate: Date

Defined in: api/procedures/types.ts:1576

date from which Asset Holders can claim their Dividends

perShare

perShare: BigNumber

Defined in: api/procedures/types.ts:1568

amount of currency to distribute per each share of the Asset that a target holds

targets?

optional targets?: InputCorporateActionTargets

Defined in: api/procedures/types.ts:1542

Asset Holder Identities to be included (or excluded) from the Dividend Distribution. Inclusion/exclusion is controlled by the treatment property. When the value is Include, all Asset Holders not present in the array are excluded, and vice-versa. If no value is passed, the default value for the Asset is used. If there is no default value, all Asset Holders will be part of the Dividend Distribution

taxWithholdings?

optional taxWithholdings?: InputCorporateActionTaxWithholdings

Defined in: api/procedures/types.ts:1551

percentage (0-100) of the Benefits to be held for tax purposes from individual Asset Holder Identities. This overrides the value of defaultTaxWithholding


ControllerTransferParams

Defined in: api/procedures/types.ts:1279

Properties

amount

amount: BigNumber

Defined in: api/procedures/types.ts:1287

amount of Asset tokens to transfer

destination?

optional destination?: AssetHolderLike

Defined in: api/procedures/types.ts:1292

(optional) portfolio (or portfolio ID) or account to which Assets will be transferred to. Defaults to default portfolio. If specified it must be one of the callers own portfolios or accounts

originPortfolio

originPortfolio: PortfolioLike

Defined in: api/procedures/types.ts:1283

portfolio (or portfolio ID) from which Assets will be transferred


CountTransferRestrictionInput

Defined in: api/procedures/types.ts:612

Properties

count

count: BigNumber

Defined in: api/procedures/types.ts:616

limit on the amount of different (unique) investors that can hold the Asset at once

type

type: Count

Defined in: api/procedures/types.ts:617


CreateAssetParams

Defined in: api/procedures/types.ts:792

Extended by

Properties

assetType

assetType: string | BigNumber

Defined in: api/procedures/types.ts:812

Type of security that the Asset represents (e.g., Equity, Debt, Commodity). Common values are included in the types!KnownAssetType enum, but custom values can be used as well. Custom values must be registered on-chain the first time they're used, requiring an additional transaction. They aren't tied to a specific Asset. If using a custom type, it can be provided as a string (representing name) or a BigNumber (representing the custom type ID).

documents?

optional documents?: AssetDocument[]

Defined in: api/procedures/types.ts:821

fundingRound?

optional fundingRound?: string

Defined in: api/procedures/types.ts:820

(Optional) funding round in which the Asset currently is (e.g., Series A, Series B).

initialStatistics?

optional initialStatistics?: InputStatType[]

Defined in: api/procedures/types.ts:834

(Optional) type of statistics that should be enabled for the Asset.

Enabling statistics allows for TransferRestrictions to be made. For example, the SEC requires registration for a company that has either more than 2000 investors or more than 500 non-accredited investors. To prevent crossing this limit, two restrictions are needed: a Count of 2000, and a ScopedCount of non-accredited with a maximum of 500. source

These restrictions require a Count and ScopedCount statistic to be created. Although they can be created after the Asset is made, it is recommended to create statistics before the Asset is circulated. Count statistics made after Asset creation need their initial value set, so it is simpler to create them before investors hold the Asset. If you need to create a stat for an Asset after creation, you can use the TransferRestrictions.setStats method in the TransferRestrictions namespace.

initialSupply?

optional initialSupply?: BigNumber

Defined in: api/procedures/types.ts:797

Amount of Asset tokens to be minted on creation (optional; by default, no tokens are minted).

isDivisible

isDivisible: boolean

Defined in: api/procedures/types.ts:805

Whether a single Asset token can be divided into decimal parts.

name

name: string

Defined in: api/procedures/types.ts:793

portfolioId?

optional portfolioId?: BigNumber

Defined in: api/procedures/types.ts:801

Portfolio to which the Asset tokens will be issued on creation (optional; defaults to the default portfolio).

securityIdentifiers?

optional securityIdentifiers?: SecurityIdentifier[]

Defined in: api/procedures/types.ts:816

Array of domestic or international alphanumeric security identifiers for the Asset (e.g., ISIN, CUSIP, FIGI).


CreateAssetWithTickerParams

Defined in: api/procedures/types.ts:855

Extends

Properties

assetType

assetType: string | BigNumber

Defined in: api/procedures/types.ts:812

Type of security that the Asset represents (e.g., Equity, Debt, Commodity). Common values are included in the types!KnownAssetType enum, but custom values can be used as well. Custom values must be registered on-chain the first time they're used, requiring an additional transaction. They aren't tied to a specific Asset. If using a custom type, it can be provided as a string (representing name) or a BigNumber (representing the custom type ID).

Inherited from

CreateAssetParams.assetType

documents?

optional documents?: AssetDocument[]

Defined in: api/procedures/types.ts:821

Inherited from

CreateAssetParams.documents

fundingRound?

optional fundingRound?: string

Defined in: api/procedures/types.ts:820

(Optional) funding round in which the Asset currently is (e.g., Series A, Series B).

Inherited from

CreateAssetParams.fundingRound

initialStatistics?

optional initialStatistics?: InputStatType[]

Defined in: api/procedures/types.ts:834

(Optional) type of statistics that should be enabled for the Asset.

Enabling statistics allows for TransferRestrictions to be made. For example, the SEC requires registration for a company that has either more than 2000 investors or more than 500 non-accredited investors. To prevent crossing this limit, two restrictions are needed: a Count of 2000, and a ScopedCount of non-accredited with a maximum of 500. source

These restrictions require a Count and ScopedCount statistic to be created. Although they can be created after the Asset is made, it is recommended to create statistics before the Asset is circulated. Count statistics made after Asset creation need their initial value set, so it is simpler to create them before investors hold the Asset. If you need to create a stat for an Asset after creation, you can use the TransferRestrictions.setStats method in the TransferRestrictions namespace.

Inherited from

CreateAssetParams.initialStatistics

initialSupply?

optional initialSupply?: BigNumber

Defined in: api/procedures/types.ts:797

Amount of Asset tokens to be minted on creation (optional; by default, no tokens are minted).

Inherited from

CreateAssetParams.initialSupply

isDivisible

isDivisible: boolean

Defined in: api/procedures/types.ts:805

Whether a single Asset token can be divided into decimal parts.

Inherited from

CreateAssetParams.isDivisible

name

name: string

Defined in: api/procedures/types.ts:793

Inherited from

CreateAssetParams.name

portfolioId?

optional portfolioId?: BigNumber

Defined in: api/procedures/types.ts:801

Portfolio to which the Asset tokens will be issued on creation (optional; defaults to the default portfolio).

Inherited from

CreateAssetParams.portfolioId

securityIdentifiers?

optional securityIdentifiers?: SecurityIdentifier[]

Defined in: api/procedures/types.ts:816

Array of domestic or international alphanumeric security identifiers for the Asset (e.g., ISIN, CUSIP, FIGI).

Inherited from

CreateAssetParams.securityIdentifiers

ticker?

optional ticker?: string

Defined in: api/procedures/types.ts:861

(optional) ticker to be linked with the Asset

Note

from 7.x chain, ticker has been made optional. For 6.x chain, it is still mandatory.


CreateBallotParams

Defined in: api/procedures/types.ts:2052

Properties

declarationDate

declarationDate: Date

Defined in: api/procedures/types.ts:2083

Date on which the Corporate Action is declared

description

description: string

Defined in: api/procedures/types.ts:2071

Description of the Corporate Action to which the Ballot is attached

endDate

endDate: Date

Defined in: api/procedures/types.ts:2066

Date when Ballot voting ends

meta

meta: BallotMeta

Defined in: api/procedures/types.ts:2056

Title and motions of the Ballot

rcv

rcv: boolean

Defined in: api/procedures/types.ts:2088

Specifies whether Ranked Choice Voting (RCV) is enabled for this ballot.

startDate

startDate: Date

Defined in: api/procedures/types.ts:2061

Date when Ballot voting starts

targets?

optional targets?: InputCorporateActionTargets

Defined in: api/procedures/types.ts:2078

Asset Holder Identities to be included (or excluded) from the Ballot. Inclusion/exclusion is controlled by the treatment property. When the value is Include, all Asset Holders not present in the array are excluded, and vice-versa. If no value is passed, the default value for the Asset is used. If there is no default value, all Asset Holders will be part of the Ballot


CreateCheckpointScheduleParams

Defined in: api/procedures/types.ts:1440

Properties

points

points: Date[]

Defined in: api/procedures/types.ts:1444

The points in time in the future for which to create checkpoints for


CreateChildIdentitiesParams

Defined in: api/procedures/types.ts:1956

Properties

childKeyAuths

childKeyAuths: ChildKeyWithAuth[]

Defined in: api/procedures/types.ts:1965

List of child keys along with their off chain authorization signatures

expiresAt

expiresAt: Date

Defined in: api/procedures/types.ts:1960

Expiry date until which all the off chain authorizations received from each key will be valid


CreateChildIdentityParams

Defined in: api/procedures/types.ts:1929

Properties

secondaryKey

secondaryKey: string | Account

Defined in: api/procedures/types.ts:1933

The secondary key that will become the primary key of the new child Identity


CreateGroupParams

Defined in: api/procedures/types.ts:1644

Properties

permissions

permissions: { transactions: TransactionPermissions; } | { transactionGroups: (AdvancedAssetManagement | AssetManagement | AssetDocumentManagement | AssetMetadataManagement | CapitalDistribution | CheckpointManagement | ComplianceManagement | CorporateActionsManagement | CorporateBallotManagement | ExternalAgentManagement | Issuance | Redemption | StoManagement | TrustedClaimIssuersManagement)[]; }

Defined in: api/procedures/types.ts:1645


CreateMultiSigParams

Defined in: api/procedures/types.ts:1873

Properties

permissions?

optional permissions?: PermissionsLike

Defined in: api/procedures/types.ts:1882

Grants permissions to the MultiSig upon creation. The caller must be the primary key of the Identity for these to work

requiredSignatures

requiredSignatures: BigNumber

Defined in: api/procedures/types.ts:1878

signers

signers: Signer[]

Defined in: api/procedures/types.ts:1877

Note

Signer must be an Account as of v7


CreateNftCollectionParams

Defined in: api/procedures/types.ts:880

Properties

assetId?

optional assetId?: string

Defined in: api/procedures/types.ts:887

The ID of the asset to be used to create the collection. If no assetId is provided, a new asset with NonFungible asset type will be created

Note

for spec version before 7.x, this value is overwritten by ticker value

collectionKeys

collectionKeys: CollectionKeyInput[]

Defined in: api/procedures/types.ts:916

The required metadata values each NFT in the collection will have

Note

Images — Most Polymesh networks (mainnet, testnet, etc.) have global metadata keys registered to help standardize displaying images If imageUri is specified as a collection key, then each token will need to be issued with an image URI.

documents?

optional documents?: AssetDocument[]

Defined in: api/procedures/types.ts:920

Links to off chain documents related to the NftCollection

fundingRound?

optional fundingRound?: string

Defined in: api/procedures/types.ts:925

A optional field that can be used to provide information about the funding state of the asset

name?

optional name?: string

Defined in: api/procedures/types.ts:900

The collection name. defaults to ticker

nftType

nftType: string | BigNumber

Defined in: api/procedures/types.ts:905

Throws

if provided string that does not have a custom type

Throws

if provided a BigNumber that does not correspond to a custom type

securityIdentifiers?

optional securityIdentifiers?: SecurityIdentifier[]

Defined in: api/procedures/types.ts:909

array of domestic or international alphanumeric security identifiers for the Asset (e.g. ISIN, CUSIP, FIGI)

ticker?

optional ticker?: string

Defined in: api/procedures/types.ts:896

The primary identifier for the collection. The ticker must either be free, or the signer has appropriate permissions if reserved.

Since spec version 7.x, this value (if provided) is then linked to assetId asset

Note

This value is mandatory for spec version before 7.x


CreateTransactionBatchParams

Defined in: api/procedures/types.ts:1869

Type Parameters

Type Parameter
ReturnValues extends readonly [...unknown[]]

Properties

transactions

transactions: Readonly<TransactionArray<ReturnValues>>

Defined in: api/procedures/types.ts:1870


CreateTransactionBatchProcedureMethod()

Defined in: api/procedures/types.ts:183

CreateTransactionBatchProcedureMethod<ReturnValues>(args, opts?): Promise<PolymeshTransactionBatch<ReturnValues, ReturnValues, unknown[][]>>

Defined in: api/procedures/types.ts:184

Type Parameters

Type Parameter
ReturnValues extends readonly unknown[]

Parameters

Parameter Type
args CreateTransactionBatchParams<ReturnValues>
opts? ProcedureOpts

Returns

Promise<PolymeshTransactionBatch<ReturnValues, ReturnValues, unknown[][]>>

Properties

checkAuthorization

checkAuthorization: <ReturnValues>(args, opts?) => Promise<ProcedureAuthorizationStatus>

Defined in: api/procedures/types.ts:188

Type Parameters
Type Parameter
ReturnValues extends unknown[]
Parameters
Parameter Type
args CreateTransactionBatchParams<ReturnValues>
opts? ProcedureOpts
Returns

Promise<ProcedureAuthorizationStatus>


CreateVenueParams

Defined in: api/procedures/types.ts:1266

Properties

description

description: string

Defined in: api/procedures/types.ts:1267

signers?

optional signers?: (string | Account)[]

Defined in: api/procedures/types.ts:1272

(optional) list of signers that are allowed to sign receipts for this venue

type

type: VenueType

Defined in: api/procedures/types.ts:1268


DecreaseAllowanceParams

Defined in: api/procedures/types.ts:1742

Properties

allowance

allowance: BigNumber

Defined in: api/procedures/types.ts:1746

amount of POLYX to decrease the allowance by

operation

operation: Decrease

Defined in: api/procedures/types.ts:1747


DidRegistrarRole

Defined in: api/procedures/types.ts:296

Properties

type

type: DidRegistrar

Defined in: api/procedures/types.ts:297


EditClaimsParams

Defined in: api/procedures/types.ts:950

Properties

claims

claims: ClaimTarget[]

Defined in: api/procedures/types.ts:954

array of claims to be edited

operation

operation: Edit

Defined in: api/procedures/types.ts:955


EnableOffChainFundingParams

Defined in: api/procedures/types.ts:2147

Properties

offChainTicker

offChainTicker: string

Defined in: api/procedures/types.ts:2151

The ticker of the off-chain asset


ExecuteManualInstructionParams

Defined in: api/procedures/types.ts:1259

Properties

skipAffirmationCheck?

optional skipAffirmationCheck?: boolean

Defined in: api/procedures/types.ts:1263

(optional) Set to true to skip affirmation check, useful for batch transactions


GlobalCollectionKeyInput

Defined in: api/procedures/types.ts:864

Properties

id

id: BigNumber

Defined in: api/procedures/types.ts:866

type

type: Global

Defined in: api/procedures/types.ts:865


IdentityRole

Defined in: api/procedures/types.ts:317

Properties

did

did: string

Defined in: api/procedures/types.ts:319

type

type: Identity

Defined in: api/procedures/types.ts:318


ImmortalProcedureOptValue

Defined in: api/procedures/types.ts:156

This transaction will never expire

Properties

immortal

readonly immortal: true

Defined in: api/procedures/types.ts:157


IncreaseAllowanceParams

Defined in: api/procedures/types.ts:1734

Properties

allowance

allowance: BigNumber

Defined in: api/procedures/types.ts:1738

amount of POLYX to increase the allowance by

operation

operation: Increase

Defined in: api/procedures/types.ts:1739


InstructionFungibleLeg

Defined in: api/procedures/types.ts:1061

Properties

amount

amount: BigNumber

Defined in: api/procedures/types.ts:1062

asset

asset: string | FungibleAsset

Defined in: api/procedures/types.ts:1065

from

from: AssetHolderLike

Defined in: api/procedures/types.ts:1063

to

to: AssetHolderLike

Defined in: api/procedures/types.ts:1064


InstructionIdParams

Defined in: api/procedures/types.ts:1142

Properties

id

id: BigNumber

Defined in: api/procedures/types.ts:1143


InstructionNftLeg

Defined in: api/procedures/types.ts:1068

Properties

asset

asset: string | NftCollection

Defined in: api/procedures/types.ts:1072

from

from: AssetHolderLike

Defined in: api/procedures/types.ts:1070

nfts

nfts: (BigNumber | Nft)[]

Defined in: api/procedures/types.ts:1069

to

to: AssetHolderLike

Defined in: api/procedures/types.ts:1071


InstructionOffChainLeg

Defined in: api/procedures/types.ts:1075

Properties

asset

asset: string

Defined in: api/procedures/types.ts:1081

the ticker of the off chain asset

from

from: string | Identity

Defined in: api/procedures/types.ts:1076

offChainAmount

offChainAmount: BigNumber

Defined in: api/procedures/types.ts:1082

to

to: string | Identity

Defined in: api/procedures/types.ts:1077


InviteAccountParams

Defined in: api/procedures/types.ts:700

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:703

permissions?

optional permissions?: PermissionsLike

Defined in: api/procedures/types.ts:702

targetAccount

targetAccount: string | Account

Defined in: api/procedures/types.ts:701


InviteExternalAgentParams

Defined in: api/procedures/types.ts:1654

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:1671

date at which the authorization request for invitation expires (optional)

Note

if expiry date is not set, the invitation will never expire

Note

due to chain limitations, the expiry will be ignored if the passed permissions don't correspond to an existing Permission Group

permissions

permissions: CustomPermissionGroup | KnownPermissionGroup | { transactions: TransactionPermissions | null; } | { transactionGroups: (AdvancedAssetManagement | AssetManagement | AssetDocumentManagement | AssetMetadataManagement | CapitalDistribution | CheckpointManagement | ComplianceManagement | CorporateActionsManagement | CorporateBallotManagement | ExternalAgentManagement | Issuance | Redemption | StoManagement | TrustedClaimIssuersManagement)[]; }

Defined in: api/procedures/types.ts:1656

target

target: string | Identity

Defined in: api/procedures/types.ts:1655


IssueTokensParams

Defined in: api/procedures/types.ts:837

Properties

account?

optional account?: string

Defined in: api/procedures/types.ts:852

(optional) Account to which the Asset tokens will be issued

Note

only one of portfolioId or account can be provided. If both are not provided, assets are issued in default portfolio

amount

amount: BigNumber

Defined in: api/procedures/types.ts:841

amount of Asset tokens to be issued

portfolioId?

optional portfolioId?: BigNumber

Defined in: api/procedures/types.ts:845

portfolio to which the Asset tokens will be issued (optional, default is the default portfolio)


LaunchOfferingParams

Defined in: api/procedures/types.ts:1604

Properties

end?

optional end?: Date

Defined in: api/procedures/types.ts:1632

end date of the Offering (optional, defaults to never)

minInvestment

minInvestment: BigNumber

Defined in: api/procedures/types.ts:1641

minimum amount that can be spent on this offering

name

name: string

Defined in: api/procedures/types.ts:1624

offeringPortfolio

offeringPortfolio: PortfolioLike

Defined in: api/procedures/types.ts:1608

portfolio in which the Asset tokens to be sold are stored

raisingCurrency

raisingCurrency: string

Defined in: api/procedures/types.ts:1617

ticker symbol of the currency in which the funds are being raised (e.g. 'USD' or 'CAD'). Other Assets can be used as currency as well

raisingPortfolio

raisingPortfolio: PortfolioLike

Defined in: api/procedures/types.ts:1612

portfolio in which the raised funds will be stored

start?

optional start?: Date

Defined in: api/procedures/types.ts:1628

start date of the Offering (optional, defaults to right now)

tiers

tiers: OfferingTier[]

Defined in: api/procedures/types.ts:1637

array of sale tiers. Each tier consists of an amount of Assets to be sold at a certain price. Tokens in a tier can only be bought when all tokens in previous tiers have been bought

venue?

optional venue?: Venue

Defined in: api/procedures/types.ts:1623

venue through which all offering related trades will be settled (optional, defaults to the first Sto type Venue owned by the owner of the Offering Portfolio. If passed, it must be of type Sto)


LinkCaDocsParams

Defined in: api/procedures/types.ts:1678

Properties

documents

documents: AssetDocument[]

Defined in: api/procedures/types.ts:1682

list of documents


LinkTickerToAssetParams

Defined in: api/procedures/types.ts:1685

Properties

ticker

ticker: string

Defined in: api/procedures/types.ts:1689

The ticker to attach


LocalCollectionKeyInput

Defined in: api/procedures/types.ts:869

Properties

name

name: string

Defined in: api/procedures/types.ts:871

spec

spec: MetadataSpec

Defined in: api/procedures/types.ts:872

type

type: Local

Defined in: api/procedures/types.ts:870


ModifyAssetTrustedClaimIssuersAddSetParams

Defined in: api/procedures/types.ts:1488

Properties

claimIssuers

claimIssuers: InputTrustedClaimIssuer[]

Defined in: api/procedures/types.ts:1489


ModifyAssetTrustedClaimIssuersRemoveParams

Defined in: api/procedures/types.ts:1492

Properties

claimIssuers

claimIssuers: (string | Identity)[]

Defined in: api/procedures/types.ts:1496

array of Identities (or DIDs) of the default claim issuers


ModifyCaCheckpointParams

Defined in: api/procedures/types.ts:1692

Properties

checkpoint

checkpoint: InputCaCheckpoint | null

Defined in: api/procedures/types.ts:1693


ModifyCorporateActionsAgentParams

Defined in: api/procedures/types.ts:1503

Properties

requestExpiry?

optional requestExpiry?: Date

Defined in: api/procedures/types.ts:1511

date at which the authorization request to modify the Corporate Actions Agent expires (optional, never expires if a date is not provided)

target

target: string | Identity

Defined in: api/procedures/types.ts:1507

Identity to be set as Corporate Actions Agent


ModifyMultiSigParams

Defined in: api/procedures/types.ts:1885

Properties

multiSig

multiSig: MultiSig

Defined in: api/procedures/types.ts:1889

The MultiSig to be modified

requiredSignatures?

optional requiredSignatures?: BigNumber

Defined in: api/procedures/types.ts:1897

The required number of signatures for the MultiSig

signers?

optional signers?: Account[]

Defined in: api/procedures/types.ts:1893

The signer accounts to set for the MultiSig


ModifyPrimaryIssuanceAgentParams

Defined in: api/procedures/types.ts:1385

Properties

requestExpiry?

optional requestExpiry?: Date

Defined in: api/procedures/types.ts:1393

date at which the authorization request to modify the primary issuance agent expires (optional, never expires if a date is not provided)

target

target: string | Identity

Defined in: api/procedures/types.ts:1389

Identity to be set as primary issuance agent


ModifySignerPermissionsParams

Defined in: api/procedures/types.ts:718

Properties

secondaryAccounts

secondaryAccounts: Modify<PermissionedAccount, { account: string | Account; permissions: PermissionsLike; }>[]

Defined in: api/procedures/types.ts:722

list of secondary Accounts


MortalProcedureOptValue

Defined in: api/procedures/types.ts:163

This transaction will be rejected if not included in a block after a while (default: ~5 minutes)

Properties

immortal

readonly immortal: false

Defined in: api/procedures/types.ts:164

lifetime?

readonly optional lifetime?: BigNumber

Defined in: api/procedures/types.ts:171

The number of blocks the for which the transaction remains valid. Target block time is 6 seconds. The default should suffice for most use cases

Note

this value will get rounded up to the closest power of 2, e.g. 65 rounds up to 128

Note

this value should not exceed 4096, which is the chain's BlockHashCount as the lesser of the two will be used.


MoveFundsParams

Defined in: api/procedures/types.ts:1858

Properties

items

items: PortfolioMovement[]

Defined in: api/procedures/types.ts:1866

list of Assets (and the corresponding token amounts) that will be moved

to?

optional to?: BigNumber | DefaultPortfolio | NumberedPortfolio

Defined in: api/procedures/types.ts:1862

portfolio (or portfolio ID) that will receive the funds. Optional, if no value is passed, the funds will be moved to the default Portfolio of this Portfolio's owner


MultiSigProcedureOpt

Defined in: api/procedures/types.ts:174

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:178

The block number for which the proposal expires


NftControllerTransferParams

Defined in: api/procedures/types.ts:1295

Properties

destination?

optional destination?: AssetHolderLike

Defined in: api/procedures/types.ts:1317

(optional) portfolio (or portfolio ID) or account to which Assets will be transferred to. Defaults to default portfolio. If specified it must be one of the callers own portfolios or accounts

Note

this takes precedence over destinationPortfolio

destinationPortfolio?

optional destinationPortfolio?: PortfolioLike

Defined in: api/procedures/types.ts:1310

Optional portfolio (or portfolio ID) to which NFTs will be transferred to. Defaults to default portfolio. If specified it must be one of the callers own portfolios

Deprecated

in favour of destination. If both are passed destination will take precedence

nfts

nfts: (BigNumber | Nft)[]

Defined in: api/procedures/types.ts:1303

The NFTs to transfer

originPortfolio

originPortfolio: PortfolioLike

Defined in: api/procedures/types.ts:1299

portfolio (or portfolio ID) from which NFTs will be transferred from


NoArgsProcedureMethod()

Defined in: api/procedures/types.ts:222

Type Parameters

Type Parameter Default type
ProcedureReturnValue -
ReturnValue ProcedureReturnValue

NoArgsProcedureMethod(opts?): Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Defined in: api/procedures/types.ts:223

Parameters

Parameter Type
opts? ProcedureOpts

Returns

Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Properties

checkAuthorization

checkAuthorization: (opts?) => Promise<ProcedureAuthorizationStatus>

Defined in: api/procedures/types.ts:224

Parameters
Parameter Type
opts? ProcedureOpts
Returns

Promise<ProcedureAuthorizationStatus>


NominateValidatorsParams

Defined in: api/procedures/types.ts:2048

Properties

validators

validators: (string | Account)[]

Defined in: api/procedures/types.ts:2049


OffChainAffirmationReceipt

Defined in: api/procedures/types.ts:1195

Properties

legId

legId: BigNumber

Defined in: api/procedures/types.ts:1203

Index of the off chain leg within the instruction to be affirmed

metadata

metadata: string | undefined

Defined in: api/procedures/types.ts:1215

(optional) Metadata value that can be used to attach messages to the receipt

signature

signature: OffChainSignature

Defined in: api/procedures/types.ts:1211

Signature confirming the receipt details

signer

signer: string | Account

Defined in: api/procedures/types.ts:1207

Signer of this receipt

uid

uid: BigNumber

Defined in: api/procedures/types.ts:1199

Unique receipt number set by the signer for their receipts


OffChainSignature

Defined in: api/procedures/types.ts:1186

Properties

type

type: SignerKeyRingType

Defined in: api/procedures/types.ts:1187

value

value: `0x${string}`

Defined in: api/procedures/types.ts:1192

The off chain signature value. NOTE: The off chain payload should be wrapped with bytes before signing. For e.g. <Bytes>Off chain payload</Bytes> should be signed to get the signature value


OptionalArgsProcedureMethod()

Defined in: api/procedures/types.ts:208

Type Parameters

Type Parameter Default type
MethodArgs -
ProcedureReturnValue -
ReturnValue ProcedureReturnValue

OptionalArgsProcedureMethod(args?, opts?): Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Defined in: api/procedures/types.ts:213

Parameters

Parameter Type
args? MethodArgs
opts? ProcedureOpts

Returns

Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Properties

checkAuthorization

checkAuthorization: (args?, opts?) => Promise<ProcedureAuthorizationStatus>

Defined in: api/procedures/types.ts:216

Parameters
Parameter Type
args? MethodArgs
opts? ProcedureOpts
Returns

Promise<ProcedureAuthorizationStatus>


PayDividendsParams

Defined in: api/procedures/types.ts:1849

Properties

targets

targets: (string | Identity)[]

Defined in: api/procedures/types.ts:1850


PercentageTransferRestrictionInput

Defined in: api/procedures/types.ts:620

Properties

percentage

percentage: BigNumber

Defined in: api/procedures/types.ts:624

maximum percentage (0-100) of the total supply of the Asset that can be held by a single investor at once

type

type: Percentage

Defined in: api/procedures/types.ts:625


PortfolioCustodianRole

Defined in: api/procedures/types.ts:312

Properties

portfolioId

portfolioId: PortfolioId

Defined in: api/procedures/types.ts:314

type

type: PortfolioCustodian

Defined in: api/procedures/types.ts:313


PortfolioId

Defined in: api/procedures/types.ts:305

Properties

did

did: string

Defined in: api/procedures/types.ts:306

number?

optional number?: BigNumber

Defined in: api/procedures/types.ts:307


ProcedureAuthorizationStatus

Defined in: api/procedures/types.ts:69

Properties

accountFrozen

accountFrozen: boolean

Defined in: api/procedures/types.ts:85

whether the Account is frozen (i.e. can't perform any transactions)

agentPermissions

agentPermissions: CheckPermissionsResult<Identity>

Defined in: api/procedures/types.ts:73

whether the Identity complies with all required Agent permissions

noIdentity

noIdentity: boolean

Defined in: api/procedures/types.ts:90

true only if the Procedure requires an Identity but the signing Account doesn't have one associated

roles

roles: CheckRolesResult

Defined in: api/procedures/types.ts:81

whether the Identity complies with all required Roles

signerPermissions

signerPermissions: CheckPermissionsResult<Account>

Defined in: api/procedures/types.ts:77

whether the Account complies with all required Signer permissions


ProcedureMethod()

Defined in: api/procedures/types.ts:194

Type Parameters

Type Parameter Default type
MethodArgs -
ProcedureReturnValue -
ReturnValue ProcedureReturnValue

ProcedureMethod(args, opts?): Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Defined in: api/procedures/types.ts:199

Parameters

Parameter Type
args MethodArgs
opts? ProcedureOpts

Returns

Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Properties

checkAuthorization

checkAuthorization: (args, opts?) => Promise<ProcedureAuthorizationStatus>

Defined in: api/procedures/types.ts:202

Parameters
Parameter Type
args MethodArgs
opts? ProcedureOpts
Returns

Promise<ProcedureAuthorizationStatus>


ProcedureOpts

Defined in: api/procedures/types.ts:116

Properties

mortality?

optional mortality?: MortalityProcedureOpt

Defined in: api/procedures/types.ts:136

This option allows for transactions that never expire, aka "immortal". By default, a transaction is only valid for approximately 5 minutes (250 blocks) after its construction. Allows for transaction construction to be decoupled from its submission, such as requiring manual approval for the signing or providing "at least once" guarantees.

More information can be found here. Note the Polymesh chain will never reap Accounts, so the risk of a replay attack is mitigated.

multiSigOpts?

optional multiSigOpts?: MultiSigProcedureOpt

Defined in: api/procedures/types.ts:141

These options will only apply when the signingAccount is a MultiSig signer and the transaction is being wrapped as a proposal

nonce?

optional nonce?: BigNumber | Promise<BigNumber> | (() => BigNumber | Promise<BigNumber>)

Defined in: api/procedures/types.ts:129

nonce value for signing the transaction

An api/entities/Account!Account can directly fetch its current nonce by calling account.getCurrentNonce. More information can be found at: https://polkadot.js.org/docs/api/cookbook/tx/#how-do-i-take-the-pending-tx-pool-into-account-in-my-nonce

Note

the passed value can be either the nonce itself or a function that returns the nonce. This allows, for example, passing a closure that increases the returned value every time it's called, or a function that fetches the nonce from the chain or a different source

signingAccount?

optional signingAccount?: string | Account

Defined in: api/procedures/types.ts:120

Account or address of a signing key to replace the current one (for this procedure only)

skipChecks?

optional skipChecks?: SkipChecksOpt

Defined in: api/procedures/types.ts:150

This option allows for skipping checks for the Procedure. By default, all checks are performed.

This can be useful while batching transactions which could have failed due to insufficient roles or permissions individually, but you don't want to fail the entire batch.

Note

even if the checks are skipped from being validated on the SDK, they will still be validated on the chain


RedeemNftParams

Defined in: api/procedures/types.ts:1416

Properties

from?

optional from?: BigNumber | DefaultPortfolio | NumberedPortfolio

Defined in: api/procedures/types.ts:1422

portfolio (or portfolio ID) from which Assets will be redeemed (optional, defaults to the default Portfolio)

Note

either from or fromAccount must be provided

fromAccount?

optional fromAccount?: string | Account

Defined in: api/procedures/types.ts:1429

(optional) Account from which Assets will be redeemed

Note

only one of from or fromAccount can be provided. If none are provided, defaults to the default Portfolio


RedeemTokensParams

Defined in: api/procedures/types.ts:1396

Properties

amount

amount: BigNumber

Defined in: api/procedures/types.ts:1400

amount of Asset tokens to be redeemed

from?

optional from?: BigNumber | DefaultPortfolio | NumberedPortfolio

Defined in: api/procedures/types.ts:1406

portfolio (or portfolio ID) from which Assets will be redeemed (optional, defaults to the default Portfolio)

Note

either from or fromAccount must be provided

fromAccount?

optional fromAccount?: string | Account

Defined in: api/procedures/types.ts:1413

(optional) Account from which Assets will be redeemed

Note

either from or fromAccount must be provided. fromAccount takes precedence over from


RegisterCustomAssetTypeParams

Defined in: api/procedures/types.ts:1988

Properties

name

name: string

Defined in: api/procedures/types.ts:1989


RegisterCustomClaimTypeParams

Defined in: api/procedures/types.ts:1972

Properties

name

name: string

Defined in: api/procedures/types.ts:1973


RegisterIdentityParams

Defined in: api/procedures/types.ts:985

Properties

createCdd?

optional createCdd?: boolean

Defined in: api/procedures/types.ts:998

(optional) also issue a CDD claim for the created DID, completing the onboarding process for the Account

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:1002

(optional) when the generated CDD claim should expire, createCdd must be true if specified

secondaryAccounts?

optional secondaryAccounts?: Modify<PermissionedAccount, { permissions: PermissionsLike; }>[]

Defined in: api/procedures/types.ts:994

(optional) secondary accounts for the new Identity with their corresponding permissions.

Note

Each Account will need to accept the generated authorizations before being linked to the Identity

targetAccount

targetAccount: string | Account

Defined in: api/procedures/types.ts:989

The Account that should function as the primary key of the newly created Identity. Can be ss58 encoded address or an instance of Account


RemoveAssetDocumentsParams

Defined in: api/procedures/types.ts:1597

Properties

documentIds

documentIds: BigNumber[]

Defined in: api/procedures/types.ts:1601

IDs of documents to remove from the asset


RemoveAssetRequirementParams

Defined in: api/procedures/types.ts:1476

Properties

requirement

requirement: BigNumber | Requirement

Defined in: api/procedures/types.ts:1477


RemoveCheckpointScheduleParams

Defined in: api/procedures/types.ts:1447

Properties

schedule

schedule: BigNumber | CheckpointSchedule

Defined in: api/procedures/types.ts:1451

schedule (or ID) of the schedule to be removed


RemoveCorporateActionParams

Defined in: api/procedures/types.ts:1499

Properties

corporateAction

corporateAction: BigNumber | CorporateActionBase

Defined in: api/procedures/types.ts:1500


RemoveExternalAgentParams

Defined in: api/procedures/types.ts:1674

Properties

target

target: string | Identity

Defined in: api/procedures/types.ts:1675


RemoveSecondaryAccountsParams

Defined in: api/procedures/types.ts:728

Properties

accounts

accounts: Account[]

Defined in: api/procedures/types.ts:729


RenamePortfolioParams

Defined in: api/procedures/types.ts:1810

Properties

name

name: string

Defined in: api/procedures/types.ts:1811


ReserveTickerParams

Defined in: api/procedures/types.ts:928

Properties

extendPeriod?

optional extendPeriod?: boolean

Defined in: api/procedures/types.ts:933

ticker

ticker: string

Defined in: api/procedures/types.ts:932

ticker symbol to reserve


RevokeClaimsParams

Defined in: api/procedures/types.ts:958

Properties

claims

claims: Omit<ClaimTarget, "expiry">[]

Defined in: api/procedures/types.ts:962

array of claims to be revoked

operation

operation: Revoke

Defined in: api/procedures/types.ts:963


RevokeSubsidyParams

Defined in: api/procedures/types.ts:774

Properties

beneficiary

beneficiary: string | Account

Defined in: api/procedures/types.ts:778

Account whose pending subsidy will be revoked


RotatePrimaryKeyParams

Defined in: api/procedures/types.ts:1022

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:1031

(optional) when the generated authorization should expire

targetAccount

targetAccount: string | Account

Defined in: api/procedures/types.ts:1026

The Account that should function as the primary key of the newly created Identity. Can be ss58 encoded address or an instance of Account


ScopeClaimProof

Defined in: api/procedures/types.ts:968

Properties

proofScopeIdCddIdMatch

proofScopeIdCddIdMatch: object

Defined in: api/procedures/types.ts:970

blindedScopeDidHash

blindedScopeDidHash: string

challengeResponses

challengeResponses: [string, string]

subtractExpressionsRes

subtractExpressionsRes: string

proofScopeIdWellFormed

proofScopeIdWellFormed: string

Defined in: api/procedures/types.ts:969


SetAllowanceParams

Defined in: api/procedures/types.ts:1750

Properties

allowance

allowance: BigNumber

Defined in: api/procedures/types.ts:1754

amount of POLYX to set the allowance to

operation

operation: Set

Defined in: api/procedures/types.ts:1755


SetAssetDocumentsParams

Defined in: api/procedures/types.ts:1583

Properties

documents

documents: AssetDocument[]

Defined in: api/procedures/types.ts:1587

list of documents


SetAssetRequirementsParams

Defined in: api/procedures/types.ts:1480

Properties

requirements

requirements: InputCondition[][]

Defined in: api/procedures/types.ts:1485

array of array of conditions. For a transfer to be successful, it must comply with all the conditions of at least one of the arrays. In other words, higher level arrays are OR between them, while conditions inside each array are AND between them


SetClaimCountTransferRestrictionsParams

Defined in: api/procedures/types.ts:690

Properties

restrictions

restrictions: ClaimCountTransferRestrictionInput[]

Defined in: api/procedures/types.ts:691

type

type: ClaimCount

Defined in: api/procedures/types.ts:692


SetClaimPercentageTransferRestrictionsParams

Defined in: api/procedures/types.ts:695

Properties

restrictions

restrictions: ClaimPercentageTransferRestrictionInput[]

Defined in: api/procedures/types.ts:696

type

type: ClaimPercentage

Defined in: api/procedures/types.ts:697


SetCountTransferRestrictionsParams

Defined in: api/procedures/types.ts:682

Properties

restrictions

restrictions: CountTransferRestrictionInput[]

Defined in: api/procedures/types.ts:686

array of Count Transfer Restrictions with their corresponding exemptions (if applicable)

type

type: Count

Defined in: api/procedures/types.ts:687


SetCustodianParams

Defined in: api/procedures/types.ts:1853

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:1855

targetIdentity

targetIdentity: string | Identity

Defined in: api/procedures/types.ts:1854


SetGroupPermissionsParams

Defined in: api/procedures/types.ts:1696

Properties

permissions

permissions: { transactions: TransactionPermissions; } | { transactionGroups: (AdvancedAssetManagement | AssetManagement | AssetDocumentManagement | AssetMetadataManagement | CapitalDistribution | CheckpointManagement | ComplianceManagement | CorporateActionsManagement | CorporateBallotManagement | ExternalAgentManagement | Issuance | Redemption | StoManagement | TrustedClaimIssuersManagement)[]; }

Defined in: api/procedures/types.ts:1697


SetMultiSigAdminParams

Defined in: api/procedures/types.ts:1900

Properties

admin

admin: string | Identity | null

Defined in: api/procedures/types.ts:1904

The identity to become an admin for the MultiSig. null will remove the current admin


SetPermissionGroupParams

Defined in: api/procedures/types.ts:1845

This procedure can be called with:

  • An Asset's existing Custom Permission Group. The Identity will be assigned as an Agent of that Group for that Asset
  • A Known Permission Group and an Asset. The Identity will be assigned as an Agent of that Group for that Asset
  • A set of Transaction Permissions and an Asset. If there is no Custom Permission Group with those permissions, a Custom Permission Group will be created for that Asset with those permissions, and the Identity will be assigned as an Agent of that Group for that Asset. Otherwise, the existing Group will be used
  • An array of Agent Transaction Groups that represent a set of permissions. If there is no Custom Permission Group with those permissions, a Custom Permission Group will be created with those permissions, and the Identity will be assigned as an Agent of that Group for that Asset. Otherwise, the existing Group will be used

Properties

group

group: CustomPermissionGroup | KnownPermissionGroup | TransactionsParams | TxGroupParams

Defined in: api/procedures/types.ts:1846


SetStakingControllerParams

Defined in: api/procedures/types.ts:2019

Properties

controller

controller: string | Account

Defined in: api/procedures/types.ts:2025

The account responsible for managing the signing stash's staking preferences

Deprecated

Chain v8 will ignore this argument. Instead the stash will become its own controller


SetStakingPayeeParams

Defined in: api/procedures/types.ts:2028

Properties

autoStake

autoStake: boolean

Defined in: api/procedures/types.ts:2038

If set to true then rewards will be auto staked in order to compound

Note

The payee must be the stash account in order to auto stake

payee

payee: string | Account

Defined in: api/procedures/types.ts:2032

The account who will receive the staking rewards


SkipChecksOpt

Defined in: api/procedures/types.ts:93

Properties

accountFrozen?

optional accountFrozen?: boolean

Defined in: api/procedures/types.ts:109

whether to skip the account frozen check

agentPermissions?

optional agentPermissions?: boolean

Defined in: api/procedures/types.ts:105

whether to skip the agent permissions check

identity?

optional identity?: boolean

Defined in: api/procedures/types.ts:113

whether to skip the identity check (i.e. whether the signing Account has an associated Identity)

roles?

optional roles?: boolean

Defined in: api/procedures/types.ts:97

whether to skip the roles check

signerPermissions?

optional signerPermissions?: boolean

Defined in: api/procedures/types.ts:101

whether to skip the signer permissions check


SubsidizeAccountParams

Defined in: api/procedures/types.ts:781

Properties

allowance

allowance: BigNumber

Defined in: api/procedures/types.ts:789

amount of POLYX to be subsidized. This can be increased/decreased later on

beneficiary

beneficiary: string | Account

Defined in: api/procedures/types.ts:785

Account to subsidize


TickerOwnerRole

Defined in: api/procedures/types.ts:287

Properties

ticker

ticker: string

Defined in: api/procedures/types.ts:289

type

type: TickerOwner

Defined in: api/procedures/types.ts:288


TransactionsParams

Defined in: api/procedures/types.ts:1825

Extends

Properties

asset

asset: string | FungibleAsset

Defined in: api/procedures/types.ts:1822

Asset over which the Identity will be granted permissions

Inherited from

AssetBase.asset

transactions

transactions: TransactionPermissions | null

Defined in: api/procedures/types.ts:1829

a null value means full permissions


TransferAssetOwnershipParams

Defined in: api/procedures/types.ts:1432

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:1437

date at which the authorization request for transfer expires (optional)

target

target: string | Identity

Defined in: api/procedures/types.ts:1433


TransferPolyxParams

Defined in: api/procedures/types.ts:1046

Properties

amount

amount: BigNumber

Defined in: api/procedures/types.ts:1054

amount of POLYX to be transferred

memo?

optional memo?: string

Defined in: api/procedures/types.ts:1058

identifier string to help differentiate transfers

to

to: string | Account

Defined in: api/procedures/types.ts:1050

Account that will receive the POLYX


TransferRestrictionClaimCountInput

Defined in: api/procedures/types.ts:648

Properties

claim

claim: InputStatClaim

Defined in: api/procedures/types.ts:652

issuer

issuer: Identity

Defined in: api/procedures/types.ts:651

max?

optional max?: BigNumber

Defined in: api/procedures/types.ts:650

min

min: BigNumber

Defined in: api/procedures/types.ts:649

type

type: ClaimCount

Defined in: api/procedures/types.ts:653


TransferRestrictionInputClaimPercentage

Defined in: api/procedures/types.ts:655

Properties

claim

claim: InputStatClaim

Defined in: api/procedures/types.ts:659

issuer

issuer: Identity

Defined in: api/procedures/types.ts:658

max

max: BigNumber

Defined in: api/procedures/types.ts:657

min

min: BigNumber

Defined in: api/procedures/types.ts:656

type

type: ClaimPercentage

Defined in: api/procedures/types.ts:660


TransferRestrictionInputCount

Defined in: api/procedures/types.ts:607

Properties

count

count: BigNumber

Defined in: api/procedures/types.ts:608

type

type: Count

Defined in: api/procedures/types.ts:609


TransferRestrictionInputPercentage

Defined in: api/procedures/types.ts:643

Properties

percentage

percentage: BigNumber

Defined in: api/procedures/types.ts:644

type

type: Percentage

Defined in: api/procedures/types.ts:645


TransferTickerOwnershipParams

Defined in: api/procedures/types.ts:1720

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:1725

date at which the authorization request for transfer expires (optional)

target

target: string | Identity

Defined in: api/procedures/types.ts:1721


TxData

Defined in: api/procedures/types.ts:260

Transaction data for display purposes

Type Parameters

Type Parameter Default type
Args extends unknown[] unknown[]

Properties

args

args: Args

Defined in: api/procedures/types.ts:268

arguments with which the transaction will be called

tag

tag: TxTag

Defined in: api/procedures/types.ts:264

transaction string identifier


TxGroupParams

Defined in: api/procedures/types.ts:1832

Extends

Properties

asset

asset: string | FungibleAsset

Defined in: api/procedures/types.ts:1822

Asset over which the Identity will be granted permissions

Inherited from

AssetBase.asset

transactionGroups

transactionGroups: (AdvancedAssetManagement | AssetManagement | AssetDocumentManagement | AssetMetadataManagement | CapitalDistribution | CheckpointManagement | ComplianceManagement | CorporateActionsManagement | CorporateBallotManagement | ExternalAgentManagement | Issuance | Redemption | StoManagement | TrustedClaimIssuersManagement)[]

Defined in: api/procedures/types.ts:1833


UnlinkChildParams

Defined in: api/procedures/types.ts:1968

Properties

child

child: string | ChildIdentity

Defined in: api/procedures/types.ts:1969


UpdatePolyxBondParams

Defined in: api/procedures/types.ts:2041

Properties

amount

amount: BigNumber

Defined in: api/procedures/types.ts:2045

The amount of POLYX to unbond from staking


UpdateVenueSignersParams

Defined in: api/procedures/types.ts:1275

Properties

signers

signers: (string | Account)[]

Defined in: api/procedures/types.ts:1276


VenueOwnerRole

Defined in: api/procedures/types.ts:300

Properties

type

type: VenueOwner

Defined in: api/procedures/types.ts:301

venueId

venueId: BigNumber

Defined in: api/procedures/types.ts:302


WaivePermissionsParams

Defined in: api/procedures/types.ts:1814

Properties

asset

asset: string | FungibleAsset

Defined in: api/procedures/types.ts:1815

Type Aliases

AddAssetStatParams

AddAssetStatParams = object & AddCountStatParams | AddBalanceStatParams | AddClaimCountStatParams | AddClaimBalanceStatParams

Defined in: api/procedures/types.ts:555

Type Declaration

asset

asset: FungibleAsset


AddBalanceStatInput

AddBalanceStatInput = object

Defined in: api/procedures/types.ts:498

Properties

balance?

optional balance?: BigNumber

Defined in: api/procedures/types.ts:505

The total asset holder balance value for the stat

Note

If not provided when enabling a stat, it will default to zero. If not provided when updating stats, the current value will remain unchanged


AddBalanceStatParams

AddBalanceStatParams = AddBalanceStatInput & object

Defined in: api/procedures/types.ts:508

Type Declaration

type

type: Balance


AddClaimBalanceStatParams

AddClaimBalanceStatParams = ClaimBalanceStatInput & object

Defined in: api/procedures/types.ts:551

Type Declaration

type

type: ScopedBalance


AddClaimCountStatParams

AddClaimCountStatParams = ClaimCountStatInput & object

Defined in: api/procedures/types.ts:512

Type Declaration

type

type: ScopedCount


AddCountStatParams

AddCountStatParams = AddCountStatInput & object

Defined in: api/procedures/types.ts:494

Type Declaration

type

type: Count


AddCountTransferRestrictionParams

AddCountTransferRestrictionParams = CountTransferRestrictionInput & object

Defined in: api/procedures/types.ts:672

Type Declaration

type

type: Count


AddInstructionParams

AddInstructionParams = object & { endBlock?: BigNumber; } | { endAfterBlock?: BigNumber; } | { endAfterLock?: true; }

Defined in: api/procedures/types.ts:1087

Type Declaration

legs

legs: InstructionLeg[]

array of Asset movements

mediators?

optional mediators?: (string | Identity)[]

additional identities that must affirm the instruction

Note

mediators are mandatory if settlement is to be locked for execution (providing endAfterLock)

memo?

optional memo?: string

identifier string to help differentiate instructions

tradeDate?

optional tradeDate?: Date

date at which the trade was agreed upon (optional, for off chain trades)

valueDate?

optional valueDate?: Date

date at which the trade was executed (optional, for off chain trades)


AddInstructionWithVenueIdParams

AddInstructionWithVenueIdParams = AddInstructionParams & object

Defined in: api/procedures/types.ts:1138

Type Declaration

venueId

venueId: BigNumber | undefined


AffirmAsMediatorParams

AffirmAsMediatorParams = object

Defined in: api/procedures/types.ts:1234

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:1235


AffirmInstructionParams

AffirmInstructionParams = object

Defined in: api/procedures/types.ts:1218

Properties

holders?

optional holders?: AssetHolderLike[]

Defined in: api/procedures/types.ts:1224

(optional) Asset holders that the signer controls and wants to affirm the instruction

Note

if empty, all the legs containing any custodied portfolios or accounts of of the signer will be affirmed

receipts?

optional receipts?: OffChainAffirmationReceipt[]

Defined in: api/procedures/types.ts:1231

(optional) list of offchain receipts required for affirming offchain legs(if any) in the instruction

Receipt can be generated using generateOffChainAffirmationReceipt method


AgentTxGroup

AgentTxGroup = typeof AGENT_TX_GROUP_VALUES[number]

Defined in: api/procedures/types.ts:486

Type-level union of the TxGroup values that External Agents can use.


AllowIdentityToCreatePortfoliosParams

AllowIdentityToCreatePortfoliosParams = object

Defined in: api/procedures/types.ts:1980

Properties

did

did: Identity | string

Defined in: api/procedures/types.ts:1981


AssetHolderId

AssetHolderId = string | PortfolioId

Defined in: api/procedures/types.ts:310


BatchIssueNftParams

BatchIssueNftParams = object

Defined in: api/procedures/types.ts:1374

Properties

metadataList

metadataList: NftMetadataInput[][]

Defined in: api/procedures/types.ts:1378

List of metadata for each NFT to be issued

portfolioId?

optional portfolioId?: BigNumber

Defined in: api/procedures/types.ts:1382

portfolio to which the NFTCollection will be issued (optional, default is the default portfolio)


CastBallotVoteParams

CastBallotVoteParams = object

Defined in: api/procedures/types.ts:2102

Properties

votes

votes: BallotVote[][]

Defined in: api/procedures/types.ts:2107

The votes to be cast.

Note

Votes for all motion choices must be provided.


ClaimBalanceStatInput

ClaimBalanceStatInput = { claimType: Accredited; issuer: Identity; value?: { accredited: BigNumber; nonAccredited: BigNumber; }; } | { claimType: Affiliate; issuer: Identity; value?: { affiliate: BigNumber; nonAffiliate: BigNumber; }; } | { claimType: Jurisdiction; issuer: Identity; value?: object[]; }

Defined in: api/procedures/types.ts:516

Union Members

Type Literal

{ claimType: Accredited; issuer: Identity; value?: { accredited: BigNumber; nonAccredited: BigNumber; }; }

claimType

claimType: Accredited

issuer

issuer: Identity

value?

optional value?: object

The total balance values for token holder with the accredited and non-accredited claim

Note

If not provided when enabling a stat, values will default to zero. If not provided when updating stats, the current values will remain unchanged

value.accredited

accredited: BigNumber

value.nonAccredited

nonAccredited: BigNumber


Type Literal

{ claimType: Affiliate; issuer: Identity; value?: { affiliate: BigNumber; nonAffiliate: BigNumber; }; }

claimType

claimType: Affiliate

issuer

issuer: Identity

value?

optional value?: object

The total balance values for token holder with the affiliate and non-affiliate claim

Note

If not provided when enabling a stat, values will default to zero. If not provided when updating stats, the current values will remain unchanged

value.affiliate

affiliate: BigNumber

value.nonAffiliate

nonAffiliate: BigNumber


Type Literal

{ claimType: Jurisdiction; issuer: Identity; value?: object[]; }

claimType

claimType: Jurisdiction

issuer

issuer: Identity

value?

optional value?: object[]

The total balance values for token holder per jurisdiction claim

Note

If not provided when enabling a stat, values will default to zero. If not provided when updating stats, the current values will remain unchanged


CollectionKeyInput

CollectionKeyInput = GlobalCollectionKeyInput | LocalCollectionKeyInput

Defined in: api/procedures/types.ts:878

Global key must be registered. local keys must provide a specification as they are created with the NftCollection


CorporateBallotParams

CorporateBallotParams = Omit<CreateBallotParams, "declarationDate" | "rcv"> & object

Defined in: api/procedures/types.ts:2091

Type Declaration

declarationDate

declarationDate: Date

rcv

rcv: boolean


GenericPolymeshTransaction

GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue> = PolymeshTransaction<ProcedureReturnValue, ReturnValue> | PolymeshTransactionBatch<ProcedureReturnValue, ReturnValue>

Defined in: api/procedures/types.ts:247

Type Parameters

Type Parameter
ProcedureReturnValue
ReturnValue

InitiateCorporateActionParams

InitiateCorporateActionParams = object

Defined in: api/procedures/types.ts:2110

Properties

checkpoint

checkpoint: InputCaCheckpoint | null

Defined in: api/procedures/types.ts:2129

The checkpoint of the Corporate Action (the record date on which the Corporate Action is applied)

declarationDate

declarationDate: Date

Defined in: api/procedures/types.ts:2119

The date on which the Corporate Action is declared

defaultTaxWithholding

defaultTaxWithholding: BigNumber | null

Defined in: api/procedures/types.ts:2144

The default tax withholding to be applied to the Corporate Action

description

description: string

Defined in: api/procedures/types.ts:2124

The description of the Corporate Action

kind

kind: CorporateActionKind

Defined in: api/procedures/types.ts:2114

The kind of Corporate Action to initiate

targets

targets: InputCorporateActionTargets | null

Defined in: api/procedures/types.ts:2139

The targets of the Corporate Action

taxWithholdings

taxWithholdings: InputTaxWithholding[]

Defined in: api/procedures/types.ts:2134

The tax withholdings to be applied to the Corporate Action


InputCorporateActionTargets

InputCorporateActionTargets = Modify<CorporateActionTargets, { identities: (string | Identity)[]; }>

Defined in: api/procedures/types.ts:230

Targets of a corporate action in a flexible structure for input purposes


InputCorporateActionTaxWithholdings

InputCorporateActionTaxWithholdings = Modify<TaxWithholding, { identity: string | Identity; }>[]

Defined in: api/procedures/types.ts:240

Per-Identity tax withholdings of a corporate action in a flexible structure for input purposes


InstructionLeg

InstructionLeg = InstructionFungibleLeg | InstructionNftLeg | InstructionOffChainLeg

Defined in: api/procedures/types.ts:1085


InvestInOfferingParams

InvestInOfferingParams = object & { fundingPortfolio: PortfolioLike; } | { offChainFundingReceipt: OffChainFundingReceipt; offChainTicker: string; }

Defined in: api/procedures/types.ts:1775


IssueNftParams

IssueNftParams = object

Defined in: api/procedures/types.ts:1366

Properties

metadata

metadata: NftMetadataInput[]

Defined in: api/procedures/types.ts:1367

portfolioId?

optional portfolioId?: BigNumber

Defined in: api/procedures/types.ts:1371

portfolio to which the NFTCollection will be issued (optional, default is the default portfolio)


ModifyAssetParams

ModifyAssetParams = { assetType?: KnownAssetType | string | BigNumber; fundingRound?: string; identifiers?: SecurityIdentifier[]; makeDivisible?: true; name: string; } | { assetType?: KnownAssetType | string | BigNumber; fundingRound?: string; identifiers?: SecurityIdentifier[]; makeDivisible: true; name?: string; } | { assetType?: KnownAssetType | string | BigNumber; fundingRound: string; identifiers?: SecurityIdentifier[]; makeDivisible?: true; name?: string; } | { assetType?: KnownAssetType | string | BigNumber; fundingRound?: string; identifiers: SecurityIdentifier[]; makeDivisible?: true; name?: string; } | { assetType: KnownAssetType | string | BigNumber; fundingRound?: string; identifiers?: SecurityIdentifier[]; makeDivisible?: true; name?: string; }

Defined in: api/procedures/types.ts:1320

Union Members

Type Literal

{ assetType?: KnownAssetType | string | BigNumber; fundingRound?: string; identifiers?: SecurityIdentifier[]; makeDivisible?: true; name: string; }

assetType?

optional assetType?: KnownAssetType | string | BigNumber

fundingRound?

optional fundingRound?: string

identifiers?

optional identifiers?: SecurityIdentifier[]

makeDivisible?

optional makeDivisible?: true

makes an indivisible Asset divisible

name

name: string


Type Literal

{ assetType?: KnownAssetType | string | BigNumber; fundingRound?: string; identifiers?: SecurityIdentifier[]; makeDivisible: true; name?: string; }


Type Literal

{ assetType?: KnownAssetType | string | BigNumber; fundingRound: string; identifiers?: SecurityIdentifier[]; makeDivisible?: true; name?: string; }


Type Literal

{ assetType?: KnownAssetType | string | BigNumber; fundingRound?: string; identifiers: SecurityIdentifier[]; makeDivisible?: true; name?: string; }


Type Literal

{ assetType: KnownAssetType | string | BigNumber; fundingRound?: string; identifiers?: SecurityIdentifier[]; makeDivisible?: true; name?: string; }


ModifyCaDefaultConfigParams

ModifyCaDefaultConfigParams = { defaultTaxWithholding: BigNumber; targets?: InputTargets; taxWithholdings?: InputTaxWithholding[]; } | { defaultTaxWithholding?: BigNumber; targets: InputTargets; taxWithholdings?: InputTaxWithholding[]; } | { defaultTaxWithholding?: BigNumber; targets?: InputTargets; taxWithholdings: InputTaxWithholding[]; }

Defined in: api/procedures/types.ts:1514


ModifyClaimsParams

ModifyClaimsParams = AddClaimsParams | EditClaimsParams | RevokeClaimsParams

Defined in: api/procedures/types.ts:966


ModifyComplianceRequirementParams

ModifyComplianceRequirementParams = object

Defined in: api/procedures/types.ts:1463

Properties

conditions

conditions: InputCondition[]

Defined in: api/procedures/types.ts:1473

array of conditions to replace the existing array of conditions for the requirement (identified by id). Conditions within a requirement are AND between them. This means that in order for a transfer to comply with this requirement, it must fulfill ALL conditions

id

id: BigNumber

Defined in: api/procedures/types.ts:1467

ID of the Compliance Requirement


ModifyCorporateBallotParams

ModifyCorporateBallotParams = Partial<Pick<CreateBallotParams, "meta" | "endDate" | "rcv">> & object

Defined in: api/procedures/types.ts:2096

Type Declaration

ballot

ballot: CorporateBallot | BigNumber


ModifyInstructionAffirmationParams

ModifyInstructionAffirmationParams = InstructionIdParams & object & AffirmInstructionParams | object & WithdrawInstructionParams | object & RejectInstructionParams | object & AffirmAsMediatorParams | { operation: WithdrawAsMediator | RejectAsMediator; }

Defined in: api/procedures/types.ts:1238


ModifyOfferingTimesParams

ModifyOfferingTimesParams = { end: Date | null; start?: Date; } | { end?: Date | null; start: Date; } | { end: Date | null; start: Date; }

Defined in: api/procedures/types.ts:1758

Union Members

Type Literal

{ end: Date | null; start?: Date; }

end

end: Date | null

new end time (optional, will be left th same if not passed). A null value means the Offering doesn't end

start?

optional start?: Date

new start time (optional, will be left the same if not passed)


Type Literal

{ end?: Date | null; start: Date; }


Type Literal

{ end: Date | null; start: Date; }


ModifyVenueParams

ModifyVenueParams = { description?: string; type: VenueType; } | { description: string; type?: VenueType; } | { description: string; type: VenueType; }

Defined in: api/procedures/types.ts:1706


MortalityProcedureOpt

MortalityProcedureOpt = ImmortalProcedureOptValue | MortalProcedureOptValue

Defined in: api/procedures/types.ts:181


NftMetadataInput

NftMetadataInput = object

Defined in: api/procedures/types.ts:1360

Properties

id

id: BigNumber

Defined in: api/procedures/types.ts:1362

type

type: MetadataType

Defined in: api/procedures/types.ts:1361

value

value: string

Defined in: api/procedures/types.ts:1363


RegisterMetadataParams

RegisterMetadataParams = { name: string; specs: MetadataSpec; } | { details?: MetadataValueDetails; name: string; specs: MetadataSpec; value: string; }

Defined in: api/procedures/types.ts:1911


RejectInstructionParams

RejectInstructionParams = object

Defined in: api/procedures/types.ts:1161

Properties

assetHolder?

optional assetHolder?: AssetHolderLike

Defined in: api/procedures/types.ts:1165

(optional) Asset holder that the signer controls and wants to reject the instruction


RevokeIdentityToCreatePortfoliosParams

RevokeIdentityToCreatePortfoliosParams = object

Defined in: api/procedures/types.ts:1984

Properties

did

did: Identity | string

Defined in: api/procedures/types.ts:1985


Role

Role = TickerOwnerRole | CddProviderRole | VenueOwnerRole | PortfolioCustodianRole | IdentityRole | DidRegistrarRole

Defined in: api/procedures/types.ts:322


RotatePrimaryKeyToSecondaryParams

RotatePrimaryKeyToSecondaryParams = object

Defined in: api/procedures/types.ts:1034

Properties

expiry?

optional expiry?: Date

Defined in: api/procedures/types.ts:1043

(optional) when the generated authorization should expire

permissions

permissions: PermissionsLike

Defined in: api/procedures/types.ts:1035

targetAccount

targetAccount: string | Account

Defined in: api/procedures/types.ts:1039

The Account that should function as the primary key of the newly created Identity. Can be ss58 encoded address or an instance of Account


SetMetadataParams

SetMetadataParams = { details?: MetadataValueDetails; value: string; } | { details: MetadataValueDetails; }

Defined in: api/procedures/types.ts:1907


SetTransferRestrictionParams

SetTransferRestrictionParams = CountTransferRestrictionInput | PercentageTransferRestrictionInput | ClaimCountTransferRestrictionInput | ClaimPercentageTransferRestrictionInput

Defined in: api/procedures/types.ts:488


SetTransferRestrictionStatParams

SetTransferRestrictionStatParams = object

Defined in: api/procedures/types.ts:562

Properties

stats

stats: (AddCountStatParams | AddBalanceStatParams | AddClaimCountStatParams | AddClaimBalanceStatParams)[]

Defined in: api/procedures/types.ts:563


SetVenueFilteringParams

SetVenueFilteringParams = object

Defined in: api/procedures/types.ts:1923

Properties

allowedVenues?

optional allowedVenues?: BigNumber[]

Defined in: api/procedures/types.ts:1925

disallowedVenues?

optional disallowedVenues?: BigNumber[]

Defined in: api/procedures/types.ts:1926

enabled?

optional enabled?: boolean

Defined in: api/procedures/types.ts:1924


TransactionArray

TransactionArray<ReturnValues> = { [K in keyof ReturnValues]: GenericPolymeshTransaction<any, ReturnValues[K]> }

Defined in: api/procedures/types.ts:251

Type Parameters

Type Parameter
ReturnValues extends readonly [...unknown[]]

TransferFundsParams

TransferFundsParams = InstructionFungibleLeg | InstructionNftLeg & object

Defined in: api/procedures/types.ts:2166

Type Declaration

memo?

optional memo?: string


TransferRestriction

TransferRestriction = { type: Count; value: BigNumber; } | { type: Percentage; value: BigNumber; } | { type: ClaimCount; value: ClaimCountRestrictionValue; } | { type: ClaimPercentage; value: ClaimPercentageRestrictionValue; }

Defined in: api/procedures/types.ts:592


TransferRestrictionExemptionParams

TransferRestrictionExemptionParams = object

Defined in: api/procedures/types.ts:676

Properties

claim?

optional claim?: ClaimType

Defined in: api/procedures/types.ts:679

identities

identities: (Identity | string)[]

Defined in: api/procedures/types.ts:678

type

type: StatType

Defined in: api/procedures/types.ts:677


TransferRestrictionParams

TransferRestrictionParams = object

Defined in: api/procedures/types.ts:663

Properties

restrictions

restrictions: (TransferRestrictionInputCount | TransferRestrictionInputPercentage | TransferRestrictionClaimCountInput | TransferRestrictionInputClaimPercentage)[]

Defined in: api/procedures/types.ts:664


WithdrawInstructionParams

WithdrawInstructionParams = object

Defined in: api/procedures/types.ts:1171

Deprecated

withdrawing affirmation is no longer supported in chain v8

Properties

holders?

optional holders?: AssetHolderLike[]

Defined in: api/procedures/types.ts:1177

(optional) Asset holders that the signer controls and wants to affirm the instruction or withdraw affirmation

Note

if empty, all the legs containing any custodied Asset Holders of the signer will be affirmed/affirmation will be withdrawn, based on the operation.

@polymeshassociation/polymesh-sdk

Modules

Types
- [Utils](../wiki/base.utils)

Clone this wiki locally