-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.Identity.IdentityAuthorizations.IdentityAuthorizations
api/entities/Identity/IdentityAuthorizations.IdentityAuthorizations
Handles all Identity Authorization related functionality
-
↳
IdentityAuthorizations
▸ getHistoricalAuthorizations(opts?
): Promise
<ResultSet
<AuthorizationRequest
>>
Fetch all historical Authorization Requests for which this Signer is the target
Name | Type | Description |
---|---|---|
opts |
Object |
- |
opts.size? |
BigNumber |
page size |
opts.start? |
BigNumber |
page offset |
opts.status? |
AuthorizationStatusEnum |
fetch only authorizations with this status. Fetches all statuses if not passed |
opts.type? |
AuthTypeEnum |
fetch only authorizations of this type. Fetches all types if not passed |
Promise
<ResultSet
<AuthorizationRequest
>>
Note
supports pagination
Note
uses the middlewareV2
Authorizations.getHistoricalAuthorizations
api/entities/common/namespaces/Authorizations.ts:150
▸ getOne(args
): Promise
<AuthorizationRequest
>
Retrieve a single Authorization Request targeting or issued by this Identity by its ID
Name | Type |
---|---|
args |
Object |
args.id |
BigNumber |
Promise
<AuthorizationRequest
>
Throws
if there is no Authorization Request with the passed ID targeting or issued by this Identity
api/entities/Identity/IdentityAuthorizations.ts:60
▸ getReceived(opts?
): Promise
<AuthorizationRequest
[]>
Fetch all pending Authorization Requests for which this Signer is the target
Name | Type | Description |
---|---|---|
opts? |
Object |
- |
opts.includeExpired? |
boolean |
whether to include expired authorizations. Defaults to true |
opts.type? |
AuthorizationType |
fetch only authorizations of this type. Fetches all types if not passed |
Promise
<AuthorizationRequest
[]>
api/entities/common/namespaces/Authorizations.ts:42
▸ getSent(paginationOpts?
): Promise
<ResultSet
<AuthorizationRequest
>>
Fetch all pending authorization requests issued by this Identity
Name | Type |
---|---|
paginationOpts? |
PaginationOptions |
Promise
<ResultSet
<AuthorizationRequest
>>
Note
supports pagination
Entities
- Account
- Asset
- Authorization Request
- Checkpoint
- Checkpoint Schedule
- Corporate Action
- Corporate Action Base
- Custom Permission Group
- Default Portfolio
- Default Trusted Claim Issuer
- Dividend Distribution
- Entity
- Identity
- Instruction
- Known Permission Group
- Metadata Entry
- Multi Sig Proposal
- Numbered Portfolio
- Offering
- Permission Group
- Portfolio
- Subsidies
- Subsidy
- Ticker Reservation
- Venue
- Authorizations
- Types