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

Previous-Transaction Recipient Re-Send Tool (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

This tool enables you to extract recipient addresses from a previous transaction on any supported EVM Layer 2 network (Arbitrum, Base, Optimism, Polygon, and more) and distribute an ERC-20 token to each of those recipients in a single batch transaction. Instead of manually re-entering addresses or maintaining off-chain lists, you simply provide a past transaction hash. The tool retrieves the transaction receipt, scans its logs for standard Transfer events, extracts all recipient addresses, and executes the batch send using the appropriate BotGentz sender contract for the detected L2 chain. The fee is paid in the chain's native token.

HOW TO USE

Connect your wallet on any supported L2. Enter the hash of a previous transaction that contains Transfer events (e.g., an ERC-20 or NFT transfer, a batch send, or any transaction that emitted Transfer logs). Specify the ERC-20 token you want to distribute and the amount to send per extracted recipient. The tool will fetch the transaction receipt, extract unique recipient addresses from Transfer events, display the results for review, and execute the batch send. Each extracted address receives the specified amount.

TECHNICAL MECHANISM

The tool uses the provider's getTransactionReceipt method to retrieve the receipt of the specified transaction. It then iterates through the receipt's logs, filtering for the standard Transfer event topic (0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef). For each matching log, it extracts the recipient address from the third topic (index 2), which corresponds to the "to" address in the standard ERC-20 Transfer event. The tool aggregates unique addresses using a Set to avoid duplicates. It reads the distribution token's decimals dynamically and converts the per-recipient amount to the appropriate precision. The total distribution amount is the sum of all per-recipient amounts. The tool reads the current fee from the BotGentz sender contract using the fee() view function, which is set by the contract owner and may change over time. The fee is attached to the sendERC20 transaction as the value field. The tool displays the contract owner and the fee prominently before you sign. Allowances are set to the exact total distribution amount, never unlimited.

WHAT IT CANNOT SEE

- Native gas tokens as distribution tokens (only ERC-20 tokens are supported)

- Any non-ERC-20 token standard (e.g., ERC-721, ERC-1155)

- Token tax/fee-on-transfer mechanics for non-standard tokens

- Incorrectly entered transaction hashes (no recovery)

- Contracts that reject transfers (e.g., blacklisted addresses)

- Recurring sends — each execution is a separate transaction

- Rebasing or fee-bearing tokens — assumes standard ERC-20

- Off-chain data or cross-chain state

- Gas cost estimates beyond the contract fee

- Transactions that do not contain Transfer events (no recipients extracted)

- Non-standard event structures or indexed parameter positions

- Recipients who have since transferred the tokens they received

PLEASE NOTE

This tool is designed for EVM Layer 2 networks supported by the BotGentz registry. The previous transaction must contain Transfer events with the standard ERC-20/ERC-721 topic structure. The tool assumes the recipient is at topics[2] (the third topic), which is standard for Transfer events. Only unique addresses are included in the batch. Always verify the contract owner, the fee amount, the extracted recipient count, and the total distribution amount before signing. You are responsible for ensuring the transaction hash is correct, the tokens are transferable, and you have sufficient native balance for both the fee and gas. The tool does not automatically retry failed transactions or recover from network congestion; each execution is a single, discrete operation.

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.