Choose a compute-unit price
Low, medium, high, and urgent quantiles give the bot an explicit bidding policy instead of one magic number.
PRIORITY-FEE WATCHER SOLANA $0.002 / SAMPLE
Poll timestamped Solana priority-fee quantiles five times per hour for $0.01. Stop automatically after 25 paid calls and $0.05 of maximum Utilia spend.
RECURRING BOT FEED
Each line includes the observation time, call number, paid amount, settlement transaction, and fresh fee data. Ctrl-C stops immediately; the call and spend ceilings stop it automatically.
export SOLANA_KEYPAIR_PATH=\
/absolute/path/to/low-balance-wallet.json
npx -y utilia-solana-agent@0.5.8 watch-fees \
--every 12m \
--max-calls 25
WALLET-MANAGED BASE CALL
AgentCash handles its own wallet, reads the x402 challenge, pays the exact Base USDC amount, and retries the request. The check command is free and shows the price before any payment.
npx -y agentcash@latest check \
https://api.utilia.ink/base/v1/fees/priority
npx -y agentcash@latest fetch \
https://api.utilia.ink/base/v1/fees/priority \
--yes
WHEN IT FITS
Use the feed immediately before setting a compute-unit price. Localize the sample with the writable accounts from the transaction when network-wide values are too broad.
Low, medium, high, and urgent quantiles give the bot an explicit bidding policy instead of one magic number.
Pass up to twenty account addresses to estimate contention around the programs and state the transaction will actually touch.
Every response carries its timestamp, source, sample count, and note so stale fee data is visible in logs and incident reviews.
If the transaction still fails, send the signature to the transaction diagnosis API →
BUDGET BEFORE BROADCAST
One live sample is $0.002. Failed operations cancel settlement.