πAggregator
Aggregator Contract API Documentation
Overview
Core Methods
executeSwap
struct SwapRequest {
address inputToken; // Input token address
address outputToken; // Output token address
uint256 inputAmount; // Input amount
uint256 minOutputAmount; // Minimum output amount
uint256 feeAmount; // Fee amount
address feeRecipient; // Fee recipient address
address recipient; // Recipient address
bool unwrapped; // Whether to unwrap WETH
bytes extData; // Extended data
}
struct Call {
address target; // Target contract address
bytes callData; // Call data
uint256 value; // Transfer amount
}executeBridge
extData Generation Instructions
Last updated
Was this helpful?