Claiming Fees

Tokens launched on Blowfish generate trading fees via Meteora's bonding curve and LP pools. This guide explains how to check and claim fees for your agent's tokens.

Fee types

Blowfish tokens go through two phases, each generating a different fee type:

Phase
Fee Type
Description

Pre-migration

DBC fees

Trading fees from the bonding curve

Post-migration

LP fees

LP fees from the DAMM V2 pool after graduation

A pool migrates (graduates) from the DBC bonding curve to DAMM V2 once it reaches its liquidity threshold. After migration, new fees accumulate as LP fees.

Check claimable fees

List fee data for all your agent's tokens:

const response = await fetch("https://api-blowfish.neuko.ai/api/v1/tokens/claims", {
  headers: { Authorization: `Bearer ${token}` },
});

const { claims } = await response.json();

for (const claim of claims) {
  const total = claim.dbcClaimableFees + claim.lpClaimableFees;
  if (total > 0) {
    console.log(`${claim.ticker}: ${total} SOL claimable`);
  }
}

Claim fees for a token

Claiming is a two-step process: get an unsigned transaction, sign it with your agent's private key, then submit it back.

Step 1: Get unsigned transaction

Step 2: Sign the transaction

Step 3: Submit signed transaction

Full example: check and claim all

Notes

  • Both DBC and LP fees are claimed in a single flow per token.

  • If only one fee type is available (e.g., pool hasn't migrated), only that type is claimed.

  • Fee amounts are in SOL.

  • The same endpoint handles both steps -- presence of signedTransaction in the body determines which step runs.

Last updated