DEV Community

Merissa Stemler
Merissa Stemler

Posted on

4 Checks to Track Fees on a Base Liquidity Position

If adding liquidity is pending or failed, check the transaction status before counting any fees. Fees belong to a position only after the pool has accepted it. BaseSwap is a decentralized exchange on Base for token swaps and liquidity; its BaseSwap liquidity pools are one way to supply tokens to a pool.

Confirm the position exists before tracking earnings

Start with the transaction hash, the unique code for your wallet’s transaction, in BaseScan, Base’s public block explorer. A “Success” status means the transaction ran; “Pending” means it is waiting to be included in a block; “Failed” means it did not complete.

If it is pending, wait before submitting the same action again. Transactions from one wallet are processed in nonce order, like numbered tickets: a stuck earlier ticket can hold later ones back. If it failed, the tokens you meant to add normally stay in your wallet, but the network fee for processing the failed attempt is still spent.

After success, check that your wallet or pool record shows a position. A liquidity position is your share of a pool’s two tokens. Some pools represent it with a liquidity-provider token, a receipt for your share; others track a position differently. Keep the pool name, wallet address and transaction hash together so you can find the same position later.

Estimate fees from your share and the pool’s trades

Trading fees are a small part of each swap, paid into the pool and earned by liquidity providers. Your share depends on how much liquidity you supplied compared with other providers, and how long your liquidity was eligible to earn. Think of it like a meter in a shared taxi: more eligible share and more rides mean more fare, while time spent outside the service area earns nothing.

For example, suppose a pool processes $100,000 in swaps during a period, charges an illustrative 0.3% trading fee, and your position earns 10% of those fees. The pool collects $300, and your estimated share is $30. This is only an example: the real fee rate, your share and eligible time vary by pool and trading activity.

Pool design affects where that estimate appears. In a simple pool, fees can stay in the pool’s token reserves, so a dashboard may show a changing position value rather than a separate “claimable fees” amount. In a concentrated-liquidity pool, liquidity earns fees only while the market price is within the price range the provider chose; earned fees may be tracked separately until collected.

Check these four items at each review:

  • Pool and token pair, so you compare the same market.
  • Your position size or share, which can change when others add or remove liquidity.
  • Trading volume and fee rate for the period, rather than an annual percentage alone.
  • Fees collected or reinvested, kept separate from token price gains or losses.

An annual percentage rate (APR) projects a short period’s returns across a year; it is not a promise of future earnings. A liquidity farm may add token rewards on top of swap fees, so record those rewards separately. If your position is in BaseSwap, use the pool’s available position information to identify what belongs to that pool, then compare it with the confirmed transaction and wallet records. Don’t count a pending add as earning yet.

Top comments (0)