Skip to main content

Reference / Modules / client / TokensRecord

Class: TokensRecord

client.TokensRecord

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new TokensRecord(args): TokensRecord

Parameters

NameType
argsObject
args.locClientLocClient
args.locIdUUID
args.tokensRecordClientTokensRecord

Returns

TokensRecord

Defined in

packages/client/src/TokensRecord.ts:10

Properties

_locId

Private Readonly _locId: UUID

Defined in

packages/client/src/TokensRecord.ts:20


locClient

Private locClient: LocClient

Defined in

packages/client/src/TokensRecord.ts:22


record

Private record: ClientTokensRecord

Defined in

packages/client/src/TokensRecord.ts:24

Accessors

addedOn

get addedOn(): string

Returns

string

Implementation of

ClientTokensRecord.addedOn

Defined in

packages/client/src/TokensRecord.ts:38


description

get description(): HashString

Returns

HashString

Implementation of

ClientTokensRecord.description

Defined in

packages/client/src/TokensRecord.ts:34


files

get files(): UploadableItemFile[]

Returns

UploadableItemFile[]

Implementation of

ClientTokensRecord.files

Defined in

packages/client/src/TokensRecord.ts:46


id

get id(): Hash

Returns

Hash

Implementation of

ClientTokensRecord.id

Defined in

packages/client/src/TokensRecord.ts:30


issuer

get issuer(): ValidAccountId

Returns

ValidAccountId

Implementation of

ClientTokensRecord.issuer

Defined in

packages/client/src/TokensRecord.ts:42


locId

get locId(): UUID

Returns

UUID

Defined in

packages/client/src/TokensRecord.ts:26

Methods

checkCertifiedCopy

checkCertifiedCopy(hash): Promise<CheckCertifiedCopyResult>

Parameters

NameType
hashHash

Returns

Promise<CheckCertifiedCopyResult>

Defined in

packages/client/src/TokensRecord.ts:60


checkHash

checkHash(hash): CheckHashResult

Parameters

NameType
hashHash

Returns

CheckHashResult

Defined in

packages/client/src/TokensRecord.ts:54


getRecordFile

getRecordFile(hash): undefined | UploadableItemFile

Parameters

NameType
hashHash

Returns

undefined | UploadableItemFile

Defined in

packages/client/src/TokensRecord.ts:50