dotwallet
Version:
A DotWallet helper library
41 lines (40 loc) • 866 B
TypeScript
export declare enum SupportCoinType {
BTC = "BTC",
BSV = "BSV",
ETH = "ETH"
}
export interface Vout {
address: string;
amount: number;
}
export interface DotWalletResult {
code: number;
msg: string;
data: any;
}
export interface MircoOrderInformation {
order_sn: string;
pay_txid: string;
}
export interface DepositBalance {
confirm: number;
unconfirm: number;
totalSize: number;
totalCount: number;
totalFee: number;
}
export interface PushChainResult {
orderID: string;
txID: string;
fee: number;
}
export interface DepositAccount {
coinType: string;
usage: string;
address: string;
}
export declare class DWError extends Error {
code: number;
constructor(code: number, msg?: string);
}
export declare function CreateSignature(queryData: any, app_secret: string): string;