@atala/prism-wallet-sdk / Exports / Domain / Mercury
Interface: Mercury
Domain.Mercury
Implemented by
Table of contents
Methods
Methods
packMessage
▸ packMessage(message
): Promise
<string
>
Parameters
Name | Type |
---|---|
message | Message |
Returns
Promise
<string
>
Defined in
src/domain/buildingBlocks/Mercury.ts:4
sendMessage
▸ sendMessage(message
): Promise
<Uint8Array
>
Parameters
Name | Type |
---|---|
message | Message |
Returns
Promise
<Uint8Array
>
Defined in
src/domain/buildingBlocks/Mercury.ts:6
sendMessageParseMessage
▸ sendMessageParseMessage(message
): Promise
<undefined
| Message
>
Parameters
Name | Type |
---|---|
message | Message |
Returns
Promise
<undefined
| Message
>
Defined in
src/domain/buildingBlocks/Mercury.ts:7
unpackMessage
▸ unpackMessage(message
): Promise
<Message
>
Parameters
Name | Type |
---|---|
message | string |
Returns
Promise
<Message
>