Back to Knowledge Directory
Solana & Web3
Drift Protocol
Decentralized perpetuals and spot trading exchange with cross-margin accounts built for agent-driven strategies.
29 API Actions AvailableWebsite ↗
Available API Actions (1)
Structured function definitions and payload specifications for AI agent tool execution.
ON_CHAINopen_perp_position
Open a leveraged perpetual futures position on a supported market.
PARAMETERS SCHEMA
| Param Name | Type | Required | Description |
|---|---|---|---|
| marketIndex | number | Yes | Perp market index |
| direction | string | Yes | long or short |
| baseAssetAmount | number | Yes | Position size |
Related Solana & Web3 Integrations
Solana Agent Kit
Connect any AI framework to Solana protocols for token deployment, swaps, NFT minting, and staking.
Anchor Protocol
Rust-based framework for writing secure Solana smart contracts and building client interfaces for AI agents.
Wormhole Interoperability
Cross-chain messaging and token bridge connecting Solana agents to Ethereum, Arbitrum, Base, and Sui.