Skip to content

Welshman Docs / @welshman/signer / sign

Function: sign() ​

sign(event, secret): object

Defined in: packages/signer/src/util.ts:24

Parameters ​

event ​

HashedEvent

secret ​

string

Returns ​

object

content ​

content: string

created_at ​

created_at: number

id ​

id: string

kind ​

kind: number

pubkey ​

pubkey: string

sig ​

sig: string

tags ​

tags: string[][]