Portfolios
Last updated
Was this helpful?
Last updated
Was this helpful?
Handles all Portfolio related functionality on the Identity side
Namespace‹›
↳ Portfolios
Protected
contextInherited from void
Protected
parentInherited from void
Create a new Portfolio for the Identity
Parameters:
▪ args: object
name
string
Delete a Portfolio by ID
note
required role:
Portfolio Custodian
Parameters:
▪ args: object
portfolio
note
supports pagination
Parameters:
paginationOpts?
Retrieve a Numbered Portfolio or the Default Portfolio if Portfolio ID is not passed
Parameters:
▪ args: object
portfolioId
BigNumber
▸ getPortfolios(): Promise‹[]›
Retrieve all the Portfolios owned by this Identity
Returns: Promise‹[]›
• context:
Defined in
• parent:
Defined in
▸ create(args
: object, opts?
: ): Promise‹‹››
Defined in
note
this method is of type , which means you can call create.checkAuthorization
on it to see whether the Current Account has the required permissions to run it
▪Optional
opts:
Returns: Promise‹‹››
▸ delete(args
: object, opts?
: ): Promise‹‹void››
Defined in
note
this method is of type , which means you can call delete.checkAuthorization
on it to see whether the Current Account has the required 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