sign: (data: string | Record<string, unknown>) => { message?: string; messageHash: string; r: string; s: string; signature: string; v: string }
Type declaration
- (data: string | Record<string, unknown>): { message?: string; messageHash: string; r: string; s: string; signature: string; v: string }
Parameters
data: string | Record<string, unknown>
Returns { message?: string; messageHash: string; r: string; s: string; signature: string; v: string }
optionalreadonlymessage?: string
readonlymessageHash: string
readonlyr: string
readonlys: string
readonlysignature: string
readonlyv: string