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

Was this helpful?

  1. Classes

Portfolios

PreviousPortfolioNextRequirements

Last updated 2 years ago

Was this helpful?

Handles all Portfolio related functionality on the Identity side

Hierarchy

  • Namespace‹›

    ↳ Portfolios

Index

Properties

Methods

Properties

Protected context

• context: Context

Inherited from void


Protected parent

Inherited from void

Methods

delete

Delete a Portfolio by ID

note required role:

  • Portfolio Custodian

Parameters:

▪ args: object

Name
Type

portfolio


getCustodiedPortfolios

note supports pagination

Parameters:

Name
Type

paginationOpts?


getPortfolio

Retrieve a Numbered Portfolio or the Default Portfolio if Portfolio ID is not passed

Parameters:

▪ args: object

Name
Type

portfolioId

BigNumber


getPortfolios

▸ getPortfolios(): Promise‹[]›

Retrieve all the Portfolios owned by this Identity

Returns: Promise‹[]›

Defined in

• parent:

Defined in

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

Defined in

note this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it

BigNumber |

▪Optional opts:

Returns: Promise‹‹void››

▸ getCustodiedPortfolios(paginationOpts?: ): Promise‹‹ | ››

Defined in

Retrieve all Portfolios custodied by this Identity. This only includes portfolios owned by a different Identity but custodied by this one. To fetch Portfolios owned by this Identity, use

Returns: Promise‹‹ | ››

▸ getPortfolio(): Promise‹›

Defined in

Returns: Promise‹›

▸ getPortfolio(args: object): Promise‹›

Defined in

Returns: Promise‹›

Defined in

src/api/entities/Namespace.ts:11
Identity
src/api/entities/Namespace.ts:9
ProcedureOpts
TransactionQueue
src/api/entities/Identity/Portfolios.ts:164
ProcedureMethod
delete.checkAuthorization
ProcedureOpts
TransactionQueue
PaginationOptions
ResultSet
DefaultPortfolio
NumberedPortfolio
src/api/entities/Identity/Portfolios.ts:77
ResultSet
DefaultPortfolio
NumberedPortfolio
DefaultPortfolio
src/api/entities/Identity/Portfolios.ts:124
DefaultPortfolio
NumberedPortfolio
src/api/entities/Identity/Portfolios.ts:125
NumberedPortfolio
src/api/entities/Identity/Portfolios.ts:46
Identity
context
parent
delete
getCustodiedPortfolios
getPortfolio
getPortfolios
getPortfolios
NumberedPortfolio
PaginationOptions