diff options
Diffstat (limited to 'packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts')
-rw-r--r-- | packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts b/packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts index ef149823c..d7eddd699 100644 --- a/packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts +++ b/packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts @@ -43,6 +43,7 @@ import { DerivedTipPlanchet, DeriveRefreshSessionRequest, DeriveTipRequest, + SignTrackTransactionRequest, } from "../../types/cryptoTypes"; const logger = new Logger("cryptoApi.ts"); @@ -326,6 +327,10 @@ export class CryptoApi { return this.doRpc<DerivedTipPlanchet>("createTipPlanchet", 1, req); } + signTrackTransaction(req: SignTrackTransactionRequest): Promise<string> { + return this.doRpc<string>("signTrackTransaction", 1, req); + } + hashString(str: string): Promise<string> { return this.doRpc<string>("hashString", 1, str); } |