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
Type
name
string
Delete a Portfolio by ID
Parameters:
▪ args: object
Name
Type
portfolio
Retrieve a numbered Portfolio or the default Portfolio if Portfolio ID is not passed
Parameters:
Name
Type
args?
undefined | object
Retrieve all the Portfolios owned by this Identity
• context:
Defined in
• parent:
Defined in
▸ create(args
: object): Promise‹‹››
Defined in
Returns: Promise‹‹››
▸ delete(args
: object): Promise‹‹void››
Defined in
BigNumber |
Returns: Promise‹‹void››
▸ getCustodiedPortfolios(): 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(args?
: undefined | object): Promise‹ | ›
Defined in
Returns: Promise‹ | ›
▸ getPortfolios(): Promise‹[, ]›
Defined in
Returns: Promise‹[, ]›