Skip to main content

@bloock/sdk / RecordReceipt

Class: RecordReceipt

Represents a receipt for a record, including anchor ID, client, record, and status information.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new RecordReceipt(anchor, client, record, status): RecordReceipt

Constructs a RecordReceipt object with the specified parameters.

Parameters

NameType
anchornumber
clientstring
recordstring
statusstring

Returns

RecordReceipt

Defined in

entity/integrity/record_receipt.ts:19

Properties

anchor

anchor: number

Defined in

entity/integrity/record_receipt.ts:7


client

client: string

Defined in

entity/integrity/record_receipt.ts:8


record

record: string

Defined in

entity/integrity/record_receipt.ts:9


status

status: string

Defined in

entity/integrity/record_receipt.ts:10

Methods

toProto

toProto(): RecordReceipt

Returns

RecordReceipt

Defined in

entity/integrity/record_receipt.ts:30


fromProto

fromProto(r): RecordReceipt

Parameters

NameType
rRecordReceipt

Returns

RecordReceipt

Defined in

entity/integrity/record_receipt.ts:26