How to Claim USDC Rewards from Staked DYDX

Last updated: December 5, 2024

When claiming USDC rewards from staked DYDX, it's important to follow the correct process to avoid errors. This article outlines the steps to successfully claim your rewards.

Steps to Claim USDC Rewards

  1. Check your available rewards using the Kiln API endpoint: https://api.kiln.fi/v1/dydx/stakes

  2. Ensure you have sufficient DYDX tokens for transaction fees

  3. Claim your DYDX rewards first

  4. After claiming DYDX rewards, proceed to claim your USDC rewards

    For additional details or to perform these actions via Kiln's dashboard, please see Kiln's unstaking DYDX doc.

Common Issues and Solutions

Error: "Insufficient balance"

If you receive a 422 error with the message "Insufficient balance" when trying to claim a significant portion of your USDC rewards, it likely means the USDC is not yet in your wallet. This can happen if you haven't claimed your DYDX rewards first.

Claiming Small Amounts Works, but Larger Amounts Fail

If you can claim very small amounts (e.g., 0.01 USDC) but not larger amounts, it's a sign that you need to claim your DYDX rewards before attempting to claim USDC rewards.

API Usage

When using the API to claim rewards, use the following endpoint:

/v1/dydx/transaction/noble-ibc-transfer

Ensure your request includes:

  • The correct public key

  • The amount of USDC you wish to claim (in usdc)

  • Sufficient gas fees in DYDX

Best Practices

  • Always check your available rewards before attempting to claim

  • Claim DYDX rewards before claiming USDC rewards

  • Ensure you have sufficient DYDX for transaction fees

  • If you encounter issues, try claiming a small amount first to verify the process is working

By following these steps and best practices, you should be able to successfully claim your USDC rewards from staked DYDX without encountering errors.