29 lines
1.1 KiB
TypeScript
29 lines
1.1 KiB
TypeScript
/**
|
|
* User wallet and deposit address service.
|
|
* Derives TRON deposit addresses for USDT (TRC20) only.
|
|
*/
|
|
import { Transaction } from '../models';
|
|
import { type WalletTypeCapabilities } from './walletCapabilities';
|
|
/**
|
|
* Gets or creates a USDT TRC20 deposit address for a user.
|
|
*/
|
|
export declare function getOrCreateDepositAddress(userId: string, walletTypeCode: string): Promise<{
|
|
address: string;
|
|
walletType: WalletTypeCapabilities;
|
|
}>;
|
|
export declare function getWalletTypes(): Promise<WalletTypeCapabilities[]>;
|
|
export declare function getUserBalances(userId: string): Promise<Array<{
|
|
walletType: WalletTypeCapabilities;
|
|
available: string;
|
|
locked: string;
|
|
bonusAvailable: string;
|
|
testAvailable: string;
|
|
}>>;
|
|
export declare function listUserTransactions(userId: string, limit: number, offset: number): Promise<Transaction[]>;
|
|
export declare function listUserTransactionsPaginated(userId: string, limit: number, offset: number): Promise<{
|
|
items: Transaction[];
|
|
total: number;
|
|
limit: number;
|
|
offset: number;
|
|
}>;
|
|
//# sourceMappingURL=walletService.d.ts.map
|