@near-wallet-selector/core
Version:
This is the core package for NEAR Wallet Selector.
15 lines (14 loc) • 467 B
TypeScript
/// <reference types="node" />
/// <reference types="node" />
import type { SignMessageParams } from "../../wallet";
import type { Schema } from "borsh";
export declare class Payload {
tag: number;
message: string;
nonce: Buffer;
recipient: string;
callbackUrl?: string;
constructor(data: SignMessageParams);
}
export declare const payloadSchema: Schema;
export declare const serializeNep413: (signMessageParams: SignMessageParams) => Buffer;