Newbies Pass Muster

    @nimiq/fastspot-api
    TypeScript icon, indicating that this package has built-in type declarations

    1.6.1 • Public • Published

    Fastspot API

    Typescript library to interact with the Fastspot API

    yarn add @nimiq/fastspot-api
    import { init, getEstimate, SwapAsset } from '@nimiq/fastspot-api'
    
    init('https://api.test.fastspot.io/fast/v1', '<API Key>')
    
    // Get an estimate to buy 1000 NIM with EUR
    const estimate = await getEstimate(SwapAsset.EUR, { [SwapAsset.NIM]: 1000 })

    Keywords

    none

    Install

    npm i @nimiq/fastspot-api

    DownloadsWeekly Downloads

    69

    Version

    1.6.1

    License

    Apache-2.0

    Unpacked Size

    35.4 kB

    Total Files

    11

    Last publish

    Collaborators

    • sisou
    • maxharz
    • styppo
    • mnimiq
    • cb5890
    • jeffesquivels
    • nimiq-network
    • danimoh