Development
Tools for development process.
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.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.
estimateGas- Estimate gas usage for a transactionParameters:
to: Destination addressfrom: Optional sender addressdata: 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