Methods
Static signApplicationLinkData
- signApplicationLinkData(username: string, pubKey: Buffer, privKey: Buffer): { address: string; pub_key: string; signature: string; value: string }
-
Parameters
-
username: string
-
pubKey: Buffer
-
privKey: Buffer
Returns { address: string; pub_key: string; signature: string; value: string }
VerificationData object
-
address: string
-
pub_key: string
-
signature: string
-
value: string
Static signBytes
- signBytes(hash: Buffer, privateKey: Buffer): Buffer
-
Parameters
-
hash: Buffer
-
privateKey: Buffer
Returns Buffer
signed message as Buffer
Static signTxBody
- signTxBody(txBody: TxBody, authInfo: AuthInfo, accountNumber: number, privKey: Buffer): Uint8Array
-
Parameters
-
-
-
accountNumber: number
-
privKey: Buffer
Returns Uint8Array
sign bytes
Sign the VerificationData for an ApplicationLink request