Skip to content

coinset/currency.com

Repository files navigation

@coinset/currency.com

Universal Currency.com API client

🚸 This is not official

Public API

A request for an entry point that does not require authentication.

fetchAssets

The assets endpoint is to provide a detailed summary for each cryptocurrency available on the exchange. Docs

example:

import { fetchAssets } from "https://deno.land/x/currency_com@$VERSION/mod.ts";
await fetchAssets();

returns:

type AssetsResponse = {
  [x: string]: {
    name: string;
    description: string | null;
    can_withdraw: boolean;
    can_deposit: boolean;
    min_withdraw: number | null;
    max_withdraw: number | null;
    maker_fee: number | null;
    taker_fee: number | null;
  };
};