Development

Tools for development process.

  1. simulateTransaction - Simulate Arbitrum transaction with comprehensive asset change detection and detailed error analysis. Provides formatted output with gas usage, ETH transfers, and transaction impact assessment.

    Demo

    • Parameters:

      • from: From address (0x-prefixed)

      • to: To address (0x-prefixed)

      • data: Optional transaction calldata (hex string)

      • value: Optional value in wei (hex string)

      • gas: Optional gas limit (hex string)

      • Includes automatic error detection and asset change analysis.

  2. estimateGas - Estimate gas usage for a transaction

    Demo

    • Parameters:

      • to: Destination address

      • from: Optional sender address

      • data: Optional transaction data (hex string)

      • value: Optional value in wei as a string (e.g., '1000000000000000000')

      • gasPrice: Optional gas price in wei as a string (e.g., '20000000000')

      • nonce: Optional transaction nonce as a string (e.g., '0', '1')

      • type: Optional EIP-2718 transaction type (e.g., 0 for legacy, 2 for EIP-1559)

Last updated