MyCrypto/common/libs/wallet/IWallet.js

7 lines
186 B
JavaScript

import type { RawTransaction } from 'libs/transaction';
export interface IWallet {
getAddress: () => Promise<string>,
signRawTransaction: (_tx: RawTransaction) => Promise<string>
}