# PolyMarket, Prediction Markets Simplified

Access PolyMarket via Uniblock’s unified blockchain API. Retrieve normalized market data, trading volumes, and event outcomes.

POLYMARKET INCLUDED IN UNIFIED ENDPOINTS

### API Endpoints

- **[GET eth/blocknumber](https://docs.uniblock.dev/api-reference/token/get-address-token-balances#get-address-token-balances)**  
  Get the latest block number
- **[GET eth/getbalance](https://docs.uniblock.dev/api-reference/nft/get-nft-collection-metadata#get-nft-collection-metadata)**  
  Retrieve the ETH balance of an address
- **[GET eth/gettransactionbyhash](https://docs.uniblock.dev/api-reference/transaction/get-address-transactions)**  
  Fetch transaction details by hash
- **[GET eth/getlogs](https://docs.uniblock.dev/api-reference/token/get-token-metadata)**  
  Query logs for smart contract events
- **[GET market-data/price](https://docs.uniblock.dev/api-reference/nft/get-nft-metadata)**  
  Get real-time token prices
- **[GET market-data/24-hour-volume](https://docs.uniblock.dev/api-reference/nft/get-wallet-nft-balances)**  
  Fetch a token’s 24-hour trading volume

### USE CASES

- PREDICTION MARKETS
- DEFI PLATFORMS
- PORTFOLIO DASHBOARDS
- TRADING ANALYTICS

Boost sales, reduce code, and eliminate headaches with Uniblock's seamless PolyMarket integration.

### Focus on your core product

Stop diverting your engineers to yet another integration and let them get back to work.

### Give customer success a break

Manage your simplified integration issues in a single pane. No therapist required.

### Stop Losing Sales to Integration Delays

Launch Web3 integrations in days, not quarters. Your sales team will thank you.

### POLYMARKET API EXAMPLE

**INPUT**
```javascript
const options = {method: 'POST', headers: {accept: 'application/json','content-type': 'application/json'}, body: JSON.stringify({id: 1, jsonrpc: '2.0', method: 'eth_getLogs', params: [{address:'0x123...', topics:['0xabc...']}]})}; fetch('https://api.uniblock.dev/uni/v1/json-rpc?provider=PolyMarket', options)
  .then(r=>r.json()).then(console.log).catch(console.error);
```

**OUTPUT**
```json
{"id":1,"jsonrpc":"2.0","result":[{"blockNumber":"0x10fb78","transactionHash":"0xabc...","data":"0xdef..."}]}
```

#### About PolyMarket

PolyMarket is a decentralized prediction market platform providing APIs for event outcomes, market data, and trading analytics across Ethereum and Polygon.
