OnFinality
New RPC users get 35% off their first monthView the offer
OnFinality Learn
Network & Protocol Guides3 min read

How to Reconcile Sonic FeeM Rewards by Contract

Trace a Sonic FeeM transaction by contract and reconcile expected attribution against the program’s tracked reward and claim records.

TL;DR

Trace a Sonic FeeM transaction by contract and reconcile expected attribution against the program’s tracked reward and claim records.

Choose one registered contract

Confirm the contract’s registration and registration date in FeeM. Select a confirmed transaction after that date and capture its hash, gasUsed and effectiveGasPrice. Their product gives the transaction’s gas charge in the smallest unit of S.

Account for internal calls

If the contract called another registered contract, record both addresses. The transaction receipt gives total gas usage. The FeeM rules attribute gas to registered contracts based on execution traces, including subcalls. Use the program’s tracked figures when reconciling attribution; do not credit the full receipt fee to the first contract.

Check the reward against a claim

Record the contract, observation period, attributed reward and claim hash in separate fields. If the on-chain receipt exists but the tracked balance differs, check registration timing and whether the dashboard has covered the transaction. Verify any claim independently with its receipt.

Network connection settings · Official documentation

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started