Skip to main content

@atala/prism-wallet-sdk / Exports / Domain / Mercury

Interface: Mercury

Domain.Mercury

Implemented by

Table of contents

Methods

Methods

packMessage

packMessage(message): Promise<string>

Parameters

NameType
messageMessage

Returns

Promise<string>

Defined in

src/domain/buildingBlocks/Mercury.ts:4


sendMessage

sendMessage(message): Promise<Uint8Array>

Parameters

NameType
messageMessage

Returns

Promise<Uint8Array>

Defined in

src/domain/buildingBlocks/Mercury.ts:6


sendMessageParseMessage

sendMessageParseMessage(message): Promise<undefined | Message>

Parameters

NameType
messageMessage

Returns

Promise<undefined | Message>

Defined in

src/domain/buildingBlocks/Mercury.ts:7


unpackMessage

unpackMessage(message): Promise<Message>

Parameters

NameType
messagestring

Returns

Promise<Message>

Defined in

src/domain/buildingBlocks/Mercury.ts:5