Skip to content
Coin Press

Reporting from across crypto

How to size repeated treasury swaps on Avalanche

Size repeated Avalanche treasury swaps from live quotes, pool depth and a set execution budget, then review each tranche before it trades again.

Coin Press Newsroom3 min read

Abstract cover artwork for this story

Size repeated treasury swaps on Avalanche by testing the full order against current pool depth, then splitting it only when smaller trades improve the total result. A treasury that converts assets on a schedule needs to account for price impact, swap fees and changing market conditions, not just the token amount it wants to sell.

Blackhole is a decentralized exchange on Avalanche’s C-Chain, where tokens trade through liquidity pools. For background on how Blackhole Swap can handle treasury payouts, see the separate guide. The sizing question is different: how much can the treasury trade at once without accepting a poor rate or disrupting its next payout?

How do you set a size for each swap?

Start with the amount the treasury needs to convert and the time available to do it. A near-term payout may require a faster conversion, while a reserve rebalance can often be spread over more time. Set a maximum acceptable execution cost for the whole conversion before choosing individual trade sizes.

Then request quotes for the full amount and for several smaller portions. A quote estimates how many tokens the treasury will receive at that size. Compare the quoted output after fees, and check how much the rate worsens as the order grows. That worsening is price impact: the trade itself moves the pool’s price.

Use the results to choose a starting tranche size. If the full order has much worse price impact than smaller orders, splitting may help. If the quotes are close, extra transactions may add cost and work without improving the result.

When does splitting a treasury swap help?

Splitting helps when smaller trades can use available liquidity at better prices and the treasury has time to wait between them. It does not guarantee a better average rate. Later quotes can move as other traders use the pool or as the market price changes.

  • Compare the full order with smaller quotes using the same token pair.
  • Include the swap fee and network fee in the expected cost.
  • Allow for the possibility that the price will move between tranches.
  • Keep enough of the source token for planned payouts and fees.

A repeated schedule can make execution easier to manage, but a fixed-size trade is not automatically a good size. Review each quote before trading. If the price or available liquidity has changed, adjust the next tranche or wait if the payout schedule allows.

What should a treasury check before each trade?

Before signing, check the token pair, quoted output, fee and slippage limit. Slippage is the amount the final execution rate may differ from the quote before the trade is rejected. Set that limit to match the treasury’s approved cost tolerance; a wider limit can let a trade complete at a worse rate.

Also confirm that the wallet has AVAX for C-Chain transaction fees. Avalanche’s documentation says these fees are paid in AVAX and vary with network use. A failed or delayed transaction can leave the treasury’s conversion unfinished, so record the planned amount, expected output and actual result for each tranche.

The practical rule is simple: use live quotes to find a tranche size that fits both the payout timetable and the cost limit. Recheck conditions as the treasury trades. For Blackhole Swap, as for any pool-based trade, the amount to convert is only part of the decision; the rate available for that amount matters just as much.