Function
signTransactionWithKeyStores
signTransactionWithKeyStores( keyStores: KeyStore[], authDataService: AuthDataService, tx: RawGtx | GTX | SignedTransaction, ): Promise<SignedTransaction>Same as signTransaction but accepts keystores instead of an authenticator. Useful if you need to sign a transaction that e.g., does not have access to auth descriptors. Such as when registering an account.
Parameters
- keyStores: KeyStore[]
the keystores to use for signing
- authDataService: AuthDataService
an auth data service instance to use when signing the transaction
- tx: RawGtx | GTX | SignedTransaction
the transaction to sign.
Returns Promise<SignedTransaction>
the signed transaction
- keyStores: KeyStore[]