- Preparing search index...
- The search index is not available
ternoa-js
Function getSignatureFromExtension
- getSignatureFromExtension(signerAddress: string, injectorExtension: Record<string, any>, data: string): Promise<undefined | string>
-
Parameters
-
signerAddress: string
-
injectorExtension: Record<string, any>
-
data: string
Returns Promise<undefined | string>
Name
getSignatureFromExtension
Summary
Signs data using an injector extension. We recommand Polkadot extention.
Returns
Hex value of the signed data.