Get quote

Get quote on SynFutures

Base
Base

Reads onchain state

Quotes a trade of a size on a SynFutures instrument on Base against its AMM, at the block the plug runs. The instrument's inquire answers at the instrument's 18-decimal precision: the benchmark price, the mark price, the notional the trade would enter at, the fee it would pay and the least margin it would need; a long asks for a positive size and a short for a negative one. The trade's own price is its notional over its size. Reach for it to trade only when the price a size would fill at is good enough, or to post exactly the margin a trade needs.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on SynFutures · 13