kraken-withdrawal-fee
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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

Package Sidebar

Install

npm i kraken-withdrawal-fee

Weekly Downloads

2

Version

0.0.3

License

Apache-2.0

Unpacked Size

16.2 kB

Total Files

7

Last publish

Collaborators

  • soulmachine