generate_bridge_code
Generate TypeScript code for bridging assets between Arbitrum layers (L1/L2/L3) using the Arbitrum SDK, supporting ETH and ERC20 token transfers.
Instructions
Generate TypeScript code for Arbitrum asset bridging using the Arbitrum SDK. Supports ETH/ERC20 bridging L1<->L2 and L1->L3.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bridge_type | Yes | Type of bridging operation to generate code for | |
| amount | No | Amount to bridge (in ETH or token units) | 0.1 |
| token_address | No | L1 token address (required for erc20 operations) | |
| destination_address | No | Destination address (for deposit_to operations) |