Polldevelopers
poll.fun

Developer tools

  • REST API
  • TypeScript API Client
  • Poll CLI
  • CLI Installation
  • Poll MCP Server
  • Claude Desktop Setup
  • API Authentication
  • Prompt Gallery

SDK

  • Overview
  • Installation
  • Quick Start
  • Multi-Outcome Bets
  • Core Concepts

API Reference

  • Reference Overview
  • SDK Class
  • Accounts
  • Types
  • Enums

Advanced

  • Advanced Overview
  • Transaction Handling
  • Error Handling
  1. Docs
  2. Poll TypeScript SDK
  3. API Reference

SDK API Reference

Choose the part of the TypeScript SDK you need, from top-level methods to the account and type definitions behind them.

SDK Class

Methods for bets, wagers, voting, settlement, and PDA derivation.

Open reference

Accounts

Typed helpers for fetching and decoding onchain account data.

Open reference

Types

Parameters and return types used throughout the SDK.

Open reference

Enums

Bet states, outcomes, resolution modes, and transaction options.

Open reference