diff options
Diffstat (limited to 'lib/wallet/cryptoApi.ts')
-rw-r--r-- | lib/wallet/cryptoApi.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/wallet/cryptoApi.ts b/lib/wallet/cryptoApi.ts index 585aa39e7..db29592fc 100644 --- a/lib/wallet/cryptoApi.ts +++ b/lib/wallet/cryptoApi.ts @@ -176,6 +176,10 @@ export class CryptoApi { return this.doRpc("createPreCoin", 1, denom, reserve); } + hashString(str: string): Promise<string> { + return this.doRpc("hashString", 1, str); + } + hashRsaPub(rsaPub: string): Promise<string> { return this.doRpc("hashRsaPub", 2, rsaPub); } |