Reference / Modules / client / PublicApi
Class: PublicApi
client.PublicApi
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new PublicApi(args
): PublicApi
Parameters
Name | Type |
---|---|
args | Object |
args.sharedState | SharedState |
Returns
Defined in
packages/client/src/Public.ts:19
Properties
fees
• Readonly
fees: FeesEstimator
Defined in
packages/client/src/Public.ts:28
sharedState
• Private
sharedState: SharedState
Defined in
packages/client/src/Public.ts:26
Methods
findCollectionLocItemById
▸ findCollectionLocItemById(params
): Promise
<undefined
| CollectionItem
>
Parameters
Name | Type |
---|---|
params | Object |
params.itemId | Hash |
params.locId | UUID |
Returns
Promise
<undefined
| CollectionItem
>
Defined in
packages/client/src/Public.ts:65
findLocById
▸ findLocById(params
): Promise
<undefined
| PublicLoc
>
Parameters
Name | Type |
---|---|
params | FetchParameters |
Returns
Promise
<undefined
| PublicLoc
>
Defined in
packages/client/src/Public.ts:30
getLocAndClient
▸ getLocAndClient(params
): Promise
<undefined
| { client
: LocClient
; loc
: LegalOfficerCase
}>
Parameters
Name | Type |
---|---|
params | FetchParameters |
Returns
Promise
<undefined
| { client
: LocClient
; loc
: LegalOfficerCase
}>
Defined in
packages/client/src/Public.ts:45
getTokensRecord
▸ getTokensRecord(params
): Promise
<undefined
| TokensRecord
>
Parameters
Name | Type |
---|---|
params | Object |
params.locId | UUID |
params.recordId | Hash |
Returns
Promise
<undefined
| TokensRecord
>
Defined in
packages/client/src/Public.ts:94
getTokensRecords
▸ getTokensRecords(params
): Promise
<TokensRecord
[]>
Parameters
Name | Type |
---|---|
params | GetTokensRecordsRequest |
Returns
Promise
<TokensRecord
[]>