Overview
This node interacts with the Meteora decentralized liquidity mining protocol on the Solana blockchain. It supports operations such as retrieving user positions, opening and closing positions, and claiming rewards within a specified Meteora pool. A common use case is to manage liquidity mining activities programmatically by specifying the pool address and performing actions like fetching current user positions or managing positions.
Use Case Examples
- Retrieve all user positions for a given Meteora pool address to monitor liquidity mining status.
- Open a new position in a specified pool with defined strategy and bin offsets.
- Close all open positions in a pool to exit liquidity mining.
- Claim all accumulated rewards from a pool.
Properties
| Name | Meaning |
|---|---|
| Pool Address | The Meteora pool address to get user positions for, required for identifying the specific pool to query. |
Output
JSON
userPositions- Array of user position objects retrieved from the specified Meteora pool.
Dependencies
- Requires Solana blockchain connection credentials including RPC URL, WebSocket endpoint, and a private key for signing transactions.
Troubleshooting
- Ensure the provided pool address is a valid Solana public key and corresponds to an existing Meteora pool.
- Verify that the Solana API credentials (RPC URL, WebSocket endpoint, private key) are correctly configured and have necessary permissions.
- Common errors may include connection failures to the Solana network or invalid keypair decoding; verify the private key is correctly base58 encoded.
Links
- Meteora Protocol Documentation - Official documentation for the Meteora decentralized liquidity mining protocol.
- Solana Developer Resources - Resources for developing on the Solana blockchain, including connection setup and key management.