
What this does
This plug places a market buy on Hanji's ETH/USDC order book, spending USDC to acquire ETH without paying more than a set maximum price. It asks the caller for 1 USDC to spend. The order fills when ETH can be bought at or below the ceiling price of 2550, and skips fills above it. Doing this by hand means watching the book and risking a fill at a price above 2550 if the limit is set on a stale quote.
Actions · 1

Related plugs · 1