Prepare: pay with ETH
buy_with_ethUnsigned transaction swapping the wallet's ETH for USDG or a stock on Uniswap, or through Route (route.fun) for a stock bought exact in when Route guarantees more (no Borro contract, no Borro fee), for the flows that need them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| want | Yes | USDG, or a stock symbol | |
| amount | Yes | How much of it to get, in whole units as a decimal string, like "1.5" | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign | |
| slip_bps | No | Most the price may move, in hundredths of a percent (default 100, 1%) |