0.0.3 • Published 4 years ago

kraken-withdrawal-fee v0.0.3

Weekly downloads
13
License
Apache-2.0
Repository
github
Last release
4 years ago

kraken-withdrawal-fee

Kraken Withdrawal Fees and Minimums.

How to use

const { getWithdrawalFee } = require("kraken-withdrawal-fee");

console.info(getWithdrawalFee("BTC"));

API Manual

There is only one API in this library:

/**
 * Get withdrawal fee of the symbol.
 *
 * @param symbol The currency symbol, e.g., BTC, ETH, USDT, etc.
 * @returns The WithdrawalFee
 */
export function getWithdrawalFee(symbol: string): WithdrawalFee;

Which returns an WithdrawalFee:

export interface WithdrawalFee {
  symbol: string;
  platform?: string;
  fee: number;
  min: number;
}

References