This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Subscription Refund Batch Distributor (Any L2)

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Subscription Refund Batch Distributor (Any L2) is a specialised blockchain audit tool that enables project teams and subscription managers to prepare and verify batch subscription refund distributions across any L2 network. It reads on-chain refund contract balances, checks token balances for multiple subscriber wallets simultaneously, fetches token decimals to ensure accurate formatting, and retrieves current gas price estimates for cost planning. The tool also queries subscription refund contract records, including subscription plan and total refunded amounts, providing a consolidated view of the proposed refund plan alongside actual on-chain holdings. All data is presented in a clean table with per-address breakdowns, making it easy to spot discrepancies between intended refund amounts and on-chain balances. The interface is designed for rapid auditing of large subscriber lists without requiring any on-chain transactions.

HOW TO USE

Connect your wallet to the appropriate L2 network using the built-in wallet bridge. Enter the subscription refund contract address, optionally specify a token contract address (leave blank for native currency), and a list of subscriber addresses with their refund amounts (format: address,amount — one per line). Click the scan button — the tool will read the refund contract balance, query each subscriber address for its current token balance, and calculate the total allocation against the contract balance. A progress bar shows real-time status, and results appear in a sortable table with refund amounts and current balance columns. You can then use this data to prepare your subscription refund distribution transaction with confidence. All operations are read-only and do not modify any state.

TECHNICAL MECHANISM

The tool uses ethers.js v5.7.2 to interact with the blockchain via the injected wallet provider. It performs batched eth_call requests with controlled concurrency (4 simultaneous queries) to avoid rate limits while maintaining responsiveness. For the refund contract address, it queries the total balance using the provider's getBalance method or the ERC-20 balanceOf method, and also attempts to read contract state including subscriptionPlan and totalRefunded via standard subscription refund contract interfaces. For each subscriber, it fetches the current balance to show the pre-refund state. The tool parses refund amounts, converts them using the correct decimals, and sums them to compare against the contract balance. Gas price is fetched using ethers' getFeeData(), which returns the current network fee estimate. All queries use the view/pure function pattern, meaning they consume no gas and execute instantly.

WHAT IT CANNOT SEE

This tool cannot verify subscription refund eligibility. It does not confirm whether subscribers are entitled to refunds based on subscription or billing records. It cannot validate refund entitlement amounts — these must be provided by the subscription manager based on their own records. The tool has no access to off-chain subscription data, billing records, or private decision-making records. It cannot determine whether the refund plan is compliant with subscription policies or has received proper authorisation. It only reads what is publicly available on the blockchain through the contract interfaces you specify.

PLEASE NOTE

This tool is designed exclusively for EVM-compatible chains, including Optimism, Arbitrum, Base, Scroll, Mantle, Linea, and other L2 networks. It does not support non-EVM networks. The refund contract address you provide should implement standard subscription refund distribution interfaces. Always verify the subscriber list and refund amounts before relying on the scan output. The tool is read-only and does not execute transfers or modifications. Always double-check that you are on the correct network before scanning.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.