# Trade perpetuals and inspect funding-rate markets

Find Hyperliquid, Solana, GMX and Ostium markets, select the correct account and signing flow, and track orders, fills and funding exposure.

Guide: https://www.bitpont.com/help/ai-agents/perpetuals-and-funding-rates/

MCP resource: `bitpont://guides/perpetuals-and-funding-rates`

## 1. Identify the venue and instrument

Use derivativeMarketSearch to find a published instrument by venue and symbol, then open its canonical market page. Read the perpetual market view below for current venue data. For Solana use perpMarkets with venue set to solana. Persist the exact venue market ID or index and account. Hyperliquid spot and perpetual books are distinct, and a venue-specific market can also require a dex identifier.

## 2. Prepare using that venue’s rules

On Hyperliquid, inspect book depth and keep side, size, price precision and any reduce-only choice with the order draft. On Solana, select the subaccount and sign the exact order-intent message before building the transaction. GMX and Ostium have wallet transaction builders. Use the available execution routes to choose the correct submission method.

## 3. Check fills and funding separately

Use the venue order ID or request reference to inspect fills and the resulting position. A pending trigger or resting order may leave position size unchanged. For a Boros funding-rate trade, record its market ID, maturity and chosen account mode before preparation. Keep the quoted rate, collateral and settled payments in their original units.

## Read Hyperliquid, GMX and Ostium markets

```
curl -fsS "https://www.bitpont.com/api/v1/views/perpetual-markets" \
  -H 'Content-Type: application/json' \
  -d '{}'
```

### MCP tool call

```json
{
  "method": "tools/call",
  "params": {
    "name": "bitpont_viewPerpetualMarkets",
    "arguments": {}
  }
}
```

## Tools

- `derivativeMarketSearch`
- `viewPerpetualMarkets`
- `perpMarkets`
- `hyperliquidOrderDraft`
- `solPerpIntent`
- `gmxPrepare`
- `borosPrepare`

## Further reading

- [Hyperliquid agent integration](<https://www.bitpont.com/developers/hyperliquid/>)
- [Funding rates explained](<https://www.bitpont.com/help/funding-rates/>)
- [Trade GMX V2 perpetuals on Arbitrum with an agent](<https://www.bitpont.com/help/ai-agents/gmx-arbitrum-perpetual-orders/>)
- [Open, manage and reconcile an Ostium trade](<https://www.bitpont.com/help/ai-agents/ostium-trade-and-settlement/>)
- [Trade and settle Boros funding rates on Arbitrum](<https://www.bitpont.com/help/ai-agents/boros-funding-rate-trades/>)
- [Build Hyperliquid spot and perpetual orders for the right market](<https://www.bitpont.com/help/ai-agents/hyperliquid-spot-and-perpetual-orders/>)
- [Initialize a Solana perps account and recover an order](<https://www.bitpont.com/help/ai-agents/solana-perps-account-and-order-recovery/>)
- [Read the options chain and place Derive limit orders](<https://www.bitpont.com/help/ai-agents/options-limit-orders/>)
