Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
valentiniljaz committed Oct 20, 2023
2 parents 7ced505 + 11381b7 commit ebb1984
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,21 @@ declare module 'binance-api-node' {
userAssetDribblets: UserAssetDribblets[]
}

export interface DustTransferResult {
amount: string;
fromAsset: string;
operateTime: number;
serviceChargeAmount: string;
tranId: number;
transferedAmount: string;
}

export interface DustTransfer {
totalServiceCharge: string
totalTransfered: string
transferResult: DustTransferResult[]
}

export interface DepositHistoryResponse {
[index: number]: {
insertTime: number
Expand Down Expand Up @@ -604,6 +619,10 @@ declare module 'binance-api-node' {
recvWindow?: number
timestamp: number
}): DustLog
dustTransfer(options: {
asset: string[],
recvWindow?: number,
})
universalTransfer(options: UniversalTransfer): Promise<{ tranId: number }>
universalTransferHistory(
options: UniversalTransferHistory,
Expand Down

0 comments on commit ebb1984

Please sign in to comment.