Constructors
Methods
computeBytesForSigning
- computeBytesForSigning(message: Message): Uint8Array<ArrayBufferLike>
Returns Uint8Array<ArrayBufferLike>
computeBytesForVerifying
- computeBytesForVerifying(message: Message): Uint8Array<ArrayBufferLike>
Returns Uint8Array<ArrayBufferLike>
packMessage
- packMessage(
message: Message,
): {
address: string;
message: string;
signature: string;
signer: string;
version: number;
} Returns {
address: string;
message: string;
signature: string;
signer: string;
version: number;
}
unpackMessage
- unpackMessage(
packedMessage: {
address?: string;
message: string;
signature?: string;
signer?: string;
version?: number;
},
): Message Parameters
- packedMessage: {
address?: string;
message: string;
signature?: string;
signer?: string;
version?: number;
}