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

0.3.13 • Public • Published

Polymarket GOAT Plugin

Make bets and get market data from Polymarket.

Installation

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

Usage

Follow the instructions in the example to get your API key and start using the plugin:

import { polymarket } from "@goat-sdk/plugin-polymarket";


const plugin = polymarket({
    credentials: {
        key: process.env.POLYMARKET_API_KEY as string,
        secret: process.env.POLYMARKET_SECRET as string,
        passphrase: process.env.POLYMARKET_PASSPHRASE as string,
    },
});

Tools

  • Get events
  • Get market info
  • Create order
  • Get active orders
  • Cancel order
  • Cancel all orders


Readme

Keywords

Package Sidebar

Install

npm i @goat-sdk/plugin-polymarket

Homepage

ohmygoat.dev

Weekly Downloads

15

Version

0.3.13

License

MIT

Unpacked Size

57.4 kB

Total Files

36

Last publish

Collaborators

  • aigustin
  • mpaella