Skip to main content

Function: validateAccountInboxMessage()

validateAccountInboxMessage(message, inbox, accountAddress, syncServerUri, chain, rpcUrl): Promise<boolean>

Defined in: packages/hypergraph/src/inboxes/message-validation.ts:47

Parameters

message

authorAccountAddress?

string = ...

ciphertext

string = Schema.String

createdAt

Date = Schema.Date

id

string = Schema.String

signature?

{ hex: string; recovery: number; } = ...

signature.hex

string = Schema.String

signature.recovery

number = Schema.Number

inbox

AccountInboxStorageEntry

accountAddress

string

syncServerUri

string

chain

Chain

rpcUrl

string

Returns

Promise<boolean>