Parameters
Response
Object containing:
Array of token account objects containing:
Code Examples
Basic Request
Using web3.js
Notes
- Returns all token accounts where the given public key is a delegate
- The delegate has the authority to transfer tokens from these accounts
- The response is immediate as it reads from the current state
- The accounts can change with token transfers and other operations
- The delegate must be a valid public key
Best Practices
- Use appropriate commitment level based on your needs
- Cache results when appropriate to reduce RPC load
- Monitor for changes in delegated accounts
- Consider using websocket subscription for real-time updates
- Handle network errors and retry when appropriate
Common Errors
Use Cases
-
Delegate Account Analysis
-
Delegate Account Monitoring
-
Delegate Account Planning