@goat-sdk/plugin-coinmarketcap
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

CoinMarketCap GOAT Plugin

Get quotes and swap on CoinMarketCap

Installation

npm install @goat-sdk/plugin-coinmarketcap
yarn add @goat-sdk/plugin-coinmarketcap
pnpm add @goat-sdk/plugin-coinmarketcap

Usage

import { coinmarketcap } from '@goat-sdk/plugin-coinmarketcap';

const tools = await getOnChainTools({
    wallet: // ...
    plugins: [
       coinmarketcap({
            apiKey: process.env.COINMARKETCAP_API_KEY // Get it from: https://coinmarketcap.com/api/documentation/v1/
       })
    ]
});

Tools

  • Get listings
  • Get quotes
  • Get exchanges market data
  • Get latest news
  • Get all cryptocurrencies
  • Get latest OHLCV values
  • Get trending cryptocurrencies
  • Get most visited cryptocurrencies
  • Get gainers and losers


Readme

Keywords

Package Sidebar

Install

npm i @goat-sdk/plugin-coinmarketcap

Homepage

ohmygoat.dev

Weekly Downloads

8

Version

0.1.6

License

MIT

Unpacked Size

73.4 kB

Total Files

32

Last publish

Collaborators

  • aigustin
  • mpaella