Overview
This node interacts with the Meteora decentralized liquidity management protocol on the Solana blockchain. It supports multiple operations related to user positions and rewards within Meteora pools. Specifically, the 'Claim all rewards' operation allows users to claim all accumulated rewards from a specified Meteora pool address. This is useful for users who want to collect their earned rewards from liquidity provision or other activities in the pool.
Use Case Examples
- A user wants to claim all their rewards from a specific Meteora pool by providing the pool's address to the node.
- A DeFi automation workflow that periodically claims rewards from multiple Meteora pools to maximize yield.
Properties
| Name | Meaning |
|---|---|
| Pool Address | The Meteora pool address to claim all rewards for, required for the 'Claim all rewards' operation. |
Output
JSON
index- An array of results from the claimAllRewards function, representing the claimed rewards and transaction details.
Dependencies
- Meteora SDK (@meteora-ag/dlmm)
- bs58 for decoding private keys
- @solana/web3.js for blockchain interaction
Troubleshooting
- Ensure the provided pool address is a valid Solana public key; invalid keys will cause errors.
- The node requires valid Solana API credentials including RPC URL, WebSocket endpoint, and a private key for signing transactions; missing or incorrect credentials will cause failures.
- Network or RPC endpoint issues may cause transaction failures or timeouts; verify connectivity and endpoint status.
Links
- Meteora Protocol Documentation - Official documentation for the Meteora decentralized liquidity management protocol.
- Solana Developer Resources - Resources for developing on the Solana blockchain, including SDKs and API references.