API - Support & FAQs
Last updated
Last updated
This page provides information on how to get support for the Haiku API suite and addresses common questions developers may have when interacting with the platform.
If you have any questions about using the Haiku API, the following support is available:
Documentation: Review this documentation for detailed guidance on API usage and best practices.
Q: How do I obtain an API Key?
A: API keys can be requested by contacting our support team at [email protected]
Q: What should I do if my API key is compromised?
A: Immediately revoke the compromised API key and contact support to generate a new one or if any assistance is needed.
Transactions
Q: My transaction failed. How can I debug it?
A: Check the following:
Ensure sufficient gas limits
Validate that all contract addresses are correct
Use tools like Tenderly or Etherscan to simulate or analyse failed transactions.
Q: How can I set a slippage tolerance for swaps?
A: Use the slippage
parameter in your intent payload. For example:
Q: How can I finalise my transaction?
A: Use a Web3 library like Ethers.js to sign and broadcast the transaction.
Q: What is Permit2 and why is it important?
Q: How can I revoke an approval?
Q: What does a 429 error mean?
A: This indicates that you've exceeded the API rate limit. Wait and retry using an exponential backoff strategy.
Q: What should I do if I receive a 400 error?
A: Review your request payload for missing or incorrect parameters.
Discord: Join the and lodge a ticket in the channel.
Bug reporting: If you discover a bug, please in our Discord.
A: Permit2 is a token approval mechanism that simplifies token spending authorisations. .
A: Use to revoke token allowances or manually submit a zero-amount approval transaction.
If you have questions not covered here, please in the Haiku Discord or check the relevant API documentation sections for further guidance.