Reference / Modules / client / AuthenticatedLocClient
Class: AuthenticatedLocClient
client.AuthenticatedLocClient
Hierarchy
-
↳
AuthenticatedLocClient
Table of contents
Constructors
Properties
Methods
- acceptCollectionLoc
- acceptIdentityLoc
- acceptIdentityLocSubmittable
- acceptLoc
- acceptTransactionLoc
- acceptTransactionLocSubmittable
- acknowledgeFile
- acknowledgeFileSubmittable
- acknowledgeLink
- acknowledgeLinkSubmittable
- acknowledgeMetadata
- acknowledgeMetadataSubmittable
- addCollectionItem
- addCollectionItemSubmittable
- addCollectionItems
- addFile
- addLink
- addMetadata
- addTokensRecord
- addTokensRecordSubmittable
- addTokensRecords
- backend
- canAddRecord
- cancel
- cancelItemPublicDataSubmission
- cancelOpenLoc
- cancelPreAcknowledgeFile
- cancelPreAcknowledgeLink
- cancelPreAcknowledgeMetadata
- cancelPreClose
- cancelPrePublishFile
- cancelPrePublishLink
- cancelPrePublishMetadata
- cancelPreVoid
- cancelRecordPublicDataSubmission
- checkDelivery
- checkTokensRecordDelivery
- close
- createLocRequest
- createOpenLoc
- createSofRequest
- deleteFile
- deleteLink
- deleteMetadata
- dismissIssuer
- ensureEnoughFunds
- estimateFeesAcceptIdentityLoc
- estimateFeesAcceptTransactionLoc
- estimateFeesAcknowledgeFile
- estimateFeesAcknowledgeLink
- estimateFeesAcknowledgeMetadata
- estimateFeesAddCollectionItem
- estimateFeesAddTokensRecord
- estimateFeesOpenCollectionLoc
- estimateFeesOpenIdentityLoc
- estimateFeesOpenLogionIdentityLoc
- estimateFeesOpenLogionTransactionLoc
- estimateFeesOpenTransactionLoc
- estimateFeesPublishFile
- estimateFeesPublishLink
- estimateFeesPublishMetadata
- estimateFeesSetInvitedContributor
- getCollectionItem
- getCollectionItems
- getCollectionSize
- getDeliveries
- getInvitedContributors
- getLegalOfficerVerifiedIssuers
- getLoc
- getLocIssuers
- getLocRequest
- getTokensRecord
- getTokensRecordDeliveries
- getTokensRecords
- isInvitedContributorOf
- isIssuerOf
- nominateIssuer
- openCollectionLoc
- openCollectionLocSubmittable
- openIdentityLoc
- openIdentityLocSubmittable
- openLoc
- openLogionIdentityLoc
- openLogionIdentityLocSubmittable
- openLogionTransactionLoc
- openLogionTransactionLocSubmittable
- openTransactionLoc
- openTransactionLocSubmittable
- preAcknowledgeFile
- preAcknowledgeLink
- preAcknowledgeMetadata
- preClose
- prePublishFile
- prePublishLink
- prePublishMetadata
- preVoid
- publishFile
- publishFileSubmittable
- publishLink
- publishLinkSubmittable
- publishMetadata
- publishMetadataSubmittable
- rejectLoc
- requestFileReview
- requestLinkReview
- requestMetadataReview
- requestVote
- reviewFile
- reviewLink
- reviewMetadata
- rework
- setCollectionFileRestrictedDelivery
- setInvitedContributor
- setInvitedContributorSubmittable
- setIssuerSelection
- storageSize
- submit
- submitItemPublicData
- submitRecordPublicData
- termsAndConditions
- toFileParams
- toLinkParams
- toMetadataItemParams
- uploadItemFile
- uploadTokensRecordFile
- validTokenOrThrow
- voidLoc
Constructors
constructor
• new AuthenticatedLocClient(params
): AuthenticatedLocClient
Parameters
Name | Type |
---|---|
params | Object |
params.axiosFactory | AxiosFactory |
params.componentFactory | ComponentFactory |
params.config | LogionClientConfig |
params.currentAccount | ValidAccountId |
params.legalOfficer | LegalOfficerClass |
params.nodeApi | LogionNodeApiClass |
Returns
Overrides
Defined in
packages/client/src/LocClient.ts:769
Properties
axiosFactory
• Protected
Readonly
axiosFactory: AxiosFactory
Inherited from
Defined in
packages/client/src/LocClient.ts:557
componentFactory
• Private
Readonly
componentFactory: ComponentFactory
Defined in
packages/client/src/LocClient.ts:788
config
• Private
Readonly
config: LogionClientConfig
Defined in
packages/client/src/LocClient.ts:789
currentAccount
• Readonly
currentAccount: ValidAccountId
Defined in
packages/client/src/LocClient.ts:787
legalOfficer
• Protected
Readonly
legalOfficer: LegalOfficerClass
Inherited from
Defined in
packages/client/src/LocClient.ts:559
nodeApi
• Protected
Readonly
nodeApi: LogionNodeApiClass
Inherited from
Defined in
packages/client/src/LocClient.ts:558
Methods
acceptCollectionLoc
▸ acceptCollectionLoc(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | Object |
parameters.locId | UUID |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:2163
acceptIdentityLoc
▸ acceptIdentityLoc(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | AcceptIdentityLocParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:2011
acceptIdentityLocSubmittable
▸ acceptIdentityLocSubmittable(parameters
): undefined
| SubmittableExtrinsic
Parameters
Name | Type |
---|---|
parameters | EstimateFeesIdentityTransactionLocParams |
Returns
undefined
| SubmittableExtrinsic
Defined in
packages/client/src/LocClient.ts:2025
acceptLoc
▸ acceptLoc(args
): Promise
<void
>
Parameters
Name | Type |
---|---|
args | Object |
args.locId | UUID |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1982
acceptTransactionLoc
▸ acceptTransactionLoc(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | AcceptTransactionLocParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1857
acceptTransactionLocSubmittable
▸ acceptTransactionLocSubmittable(parameters
): undefined
| SubmittableExtrinsic
Parameters
Name | Type |
---|---|
parameters | EstimateFeesAcceptTransactionLocParams |
Returns
undefined
| SubmittableExtrinsic
Defined in
packages/client/src/LocClient.ts:1871
acknowledgeFile
▸ acknowledgeFile(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | { locId : UUID } & AckFileParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1558
acknowledgeFileSubmittable
▸ acknowledgeFileSubmittable(parameters
): SubmittableExtrinsic
Parameters
Name | Type |
---|---|
parameters | { locId : UUID } & RefFileParams |
Returns
SubmittableExtrinsic
Defined in
packages/client/src/LocClient.ts:1599
acknowledgeLink
▸ acknowledgeLink(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | { locId : UUID } & AckLinkParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1797
acknowledgeLinkSubmittable
▸ acknowledgeLinkSubmittable(parameters
): SubmittableExtrinsic
Parameters
Name | Type |
---|---|
parameters | { locId : UUID } & RefLinkParams |
Returns
SubmittableExtrinsic
Defined in
packages/client/src/LocClient.ts:1838
acknowledgeMetadata
▸ acknowledgeMetadata(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | { locId : UUID } & AckMetadataParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1682
acknowledgeMetadataSubmittable
▸ acknowledgeMetadataSubmittable(parameters
): SubmittableExtrinsic
Parameters
Name | Type |
---|---|
parameters | { locId : UUID } & RefMetadataParams |
Returns
SubmittableExtrinsic
Defined in
packages/client/src/LocClient.ts:1723
addCollectionItem
▸ addCollectionItem(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | BlockchainSubmission <AddCollectionItemParams & FetchParameters > |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:908
addCollectionItemSubmittable
▸ addCollectionItemSubmittable(parameters
): Promise
<SubmittableExtrinsic
>
Parameters
Name | Type |
---|---|
parameters | AddCollectionItemParams & FetchParameters & { termsAndConditions : TermsAndConditionsElement [] } |
Returns
Promise
<SubmittableExtrinsic
>
Defined in
packages/client/src/LocClient.ts:1062
addCollectionItems
▸ addCollectionItems(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | BlockchainBatchSubmission <AddCollectionItemParams & FetchParameters > |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:917
addFile
▸ addFile(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | AddFileParams & FetchParameters & { direct : boolean } |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:846
addLink
▸ addLink(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | AddLinkParams & FetchParameters |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:890
addMetadata
▸ addMetadata(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | AddMetadataParams & FetchParameters |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:828
addTokensRecord
▸ addTokensRecord(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | BlockchainSubmission <AddTokensRecordParams & FetchParameters > |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1347
addTokensRecordSubmittable
▸ addTokensRecordSubmittable(parameters
): Promise
<SubmittableExtrinsic
<"promise"
, ISubmittableResult
>>
Parameters
Name | Type |
---|---|
parameters | AddTokensRecordParams & FetchParameters |
Returns
Promise
<SubmittableExtrinsic
<"promise"
, ISubmittableResult
>>
Defined in
packages/client/src/LocClient.ts:1389
addTokensRecords
▸ addTokensRecords(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | BlockchainBatchSubmission <AddTokensRecordParams & FetchParameters > |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:986
backend
▸ backend(): AxiosInstance
Returns
AxiosInstance
Inherited from
Defined in
packages/client/src/LocClient.ts:565
canAddRecord
▸ canAddRecord(request
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
request | LocRequest |
Returns
Promise
<boolean
>
Defined in
packages/client/src/LocClient.ts:1294
cancel
▸ cancel(locId
): Promise
<void
>
Parameters
Name | Type |
---|---|
locId | UUID |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1216
cancelItemPublicDataSubmission
▸ cancelItemPublicDataSubmission(locId
, itemId
): Promise
<void
>
Parameters
Name | Type |
---|---|
locId | UUID |
itemId | Hash |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1143
cancelOpenLoc
▸ cancelOpenLoc(args
): Promise
<void
>
Parameters
Name | Type |
---|---|
args | Object |
args.locId | UUID |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:2002
cancelPreAcknowledgeFile
▸ cancelPreAcknowledgeFile(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | { locId : UUID } & AckFileParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1584
cancelPreAcknowledgeLink
▸ cancelPreAcknowledgeLink(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | { locId : UUID } & AckLinkParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1823
cancelPreAcknowledgeMetadata
▸ cancelPreAcknowledgeMetadata(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | { locId : UUID } & AckMetadataParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1708
cancelPreClose
▸ cancelPreClose(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | Object |
parameters.autoAck | boolean |
parameters.locId | UUID |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:2263
cancelPrePublishFile
▸ cancelPrePublishFile(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | PublishFileParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1531
cancelPrePublishLink
▸ cancelPrePublishLink(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | PublishLinkParams |
Returns
Promise
<void
>
Defined in
packages/client/src/LocClient.ts:1775