UNPKG

@keplr-wallet/types

Version:

7 lines (6 loc) 301 B
export interface SecretUtils { getPubkey: () => Promise<Uint8Array>; decrypt: (ciphertext: Uint8Array, nonce: Uint8Array) => Promise<Uint8Array>; encrypt: (contractCodeHash: string, msg: object) => Promise<Uint8Array>; getTxEncryptionKey: (nonce: Uint8Array) => Promise<Uint8Array>; }