UNPKG

@bajetech/digitalbits-wallet-sdk

Version:

A library to make it easier to write wallets that interact with the DigitalBits blockchain

10 lines (7 loc) 187 B
import { EncryptedKey, KeyMetadata } from "../types"; export function getKeyMetadata(encryptedKey: EncryptedKey): KeyMetadata { const { id } = encryptedKey; return { id, }; }