Skip to content

Commit

Permalink
Create wallet.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 27, 2024
1 parent 81e4ab0 commit 94c19fc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pi-nexus-sdk/lib/utils/wallet.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
interface WalletOptions {
apiUrl: string;
apiKey: string;
}

class Wallet {
constructor(options: WalletOptions);

getWallets(): Promise<Wallet[]>;
getWallet(walletId: string): Promise<Wallet>;
createWallet(walletData: WalletData): Promise<Wallet>;
}

export default Wallet;

0 comments on commit 94c19fc

Please sign in to comment.