Endpoints, fields, amounts, limits, approvals, contracts, and error codes of the Options API.
This page describes the taker endpoints of the Options API on Ethereum. All paths are relative to https://api.bebop.xyz/options/ethereum/v1.
Item
Value
Authentication
GET /instruments, GET /assets/{underlying}/summary, and GET /status are public. The other endpoints on this page take Authorization: Bearer <API key>. The key must have options taker access, or Bebop returns 403.
Position scope
Position endpoints return the positions opened with your API key, for all wallets. A position from another key returns 404.
Field names
Query parameters use snake_case, except includeExpired and includeRetiredFactories. Response fields use camelCase.
Null values
A field without a value is null. Responses do not leave out keys.
GET /instruments. The instruments that Bebop lists. By default, the list has the active instruments of the current Greek Factory that expire more than 30 seconds from now. The list is sorted by expiration.
string
One option token address. Returns that instrument also if it is inactive, expired, or from a retired Greek Factory. An unknown address returns an empty list. Bebop rejects instrument together with underlying, quote, option_type, expiration_from, expiration_to, or cursor.
string
Underlying token address.
string
Quote token address.
string
call or put.
integer
Earliest expiration, inclusive.
integer
Latest expiration, inclusive.
boolean
default:"false"
Also include the instruments that expired or that expire in 30 seconds or less.
boolean
default:"false"
Also include the instruments of a retired Greek Factory. See Contracts.
integer
default:"50"
Page size, 1 to 200.
string
The nextCursor of the previous page. Send the same filters on each page.
object[]
required
Show instrument fields
string
Option token (OT) address. It identifies the instrument in all other calls.
string
Receipt token (RT) address. Also the contract for redemption.
string
Token name.
string
OT symbol.
string
RT symbol.
string
Underlying token address.
string
Quote token address. The premium is paid in this token.
string
Token that the taker locks: the underlying for a call, the quote token for a put.
string
Token that the OT holder pays to exercise: the quote token for a call, the underlying for a put.
string
Collateral token symbol.
string
Settlement token symbol.
integer
OT and RT decimals. Equal to collateralDecimals.
integer
Collateral token decimals.
integer
Settlement token decimals.
string
call or put.
string
european.
string
Strike in quote token per underlying token. Can be rounded.
string
Exact on-chain strike, 18 decimals. For a put, the on-chain strike is the reciprocal: strike is (10**36 // strikeRaw) / 10**18.
integer
Expiration.
integer
End of the exercise window.
integer
Length of the exercise window, in seconds.
boolean
true when the instrument is from the current Greek Factory and 48 hours or more remain before expiration.
boolean
true when the instrument has not expired.
string
Greek Factory of the instrument. The approvals for the instrument are on this contract.
string
Total OT amount exercised, raw units.
integer | null
Time of the last exercise, or null.
string | null
Largest open size that a connected maker declared for this underlying, in raw underlying units, also for a put. null when no maker declared a size. It is not a guaranteed fill size.
string | null
required
Cursor for the next page, or null on the last page.
GET /assets/{underlying}/summary. Indicative prices for the instruments of one underlying, grouped by expiration. Use it to compare strikes and expirations before you request a quote. The prices are not executable. Only GET /quote gives a firm premium.Each instrument has pricing and statistics. Either one can be null when its data is not fresh. An instrument with null pricing stays in the list.
string
required
ETH (WETH), cbBTC, or the underlying token address. The value is not case-sensitive. An unknown value returns 404NotFound.
string
required
Asset symbol: ETH for WETH, or cbBTC.
string
required
Underlying token address.
string
required
Quote token address (USDC).
integer
required
5.
boolean
required
Always true.
integer | null
required
Identifier of the price set. It changes when the prices change.
integer | null
required
Time of the market data that the prices use.
integer | null
required
Time when Bebop calculated the prices.
integer | null
required
Time when Bebop published the prices.
number | null
required
Underlying spot price in USD.
string
required
Current UTC date, YYYY-MM-DD. The today statistics are for this date.
integer | null
required
Time of the statistics.
integer | null
required
Last block in the statistics.
integer | null
required
Last block of the trade data in the statistics.
object[]
required
One item for each expiration.
Show expiry fields
integer
Expiration.
number | null
Forward price for this expiration, in USD. null when Bebop cannot price the expiration. atmIv and timeToExpiry are then also null.
number | null
Implied volatility at the forward price, as a decimal.
number | null
Years to expiration, on a 365-day year.
object[]
The instruments of this expiration.
Show instrument fields
string
Option token (OT) address.
string
Strike in quote token per underlying token.
string
call or put.
boolean
true when 48 hours or more remain before expiration.
boolean
true when the instrument has not expired.
string
available, unavailable, near_expiry, outside_expiry_range, outside_strike_range, or unsafe_prices. pricing has a value only when the status is available.
object | null
Indicative prices. All USD values are per underlying unit, also for a put.
Show pricing fields
integer[]
The one or two market expirations that the price uses. Two values mean that Bebop interpolated between them.
number
Mid implied volatility, as a decimal.
number
Sell-to-open implied volatility, as a decimal.
number
Buy-to-close implied volatility, as a decimal.
number
Sell-to-open premium in USD, before the fee.
number
Mid premium in USD.
number
Buy-to-close premium in USD, before the fee.
number
Sell-to-open premium in USD, after the fee.
number
netPremiumUsd as an annual rate on the collateral, as a decimal. The collateral is the spot price for a call and the strike for a put. The time includes the exercise window.
number
Forward delta at markIv, from -1 to 1.
number
Probability, from 0 to 1, that the option expires in the money at markIv.
number
Change of the premium in USD for one percentage point of implied volatility.
object | null
Sell-to-open values. Same fields as display on an open quote, without impliedItmProbability. null when pricing is null.
object | null
Trade statistics of the instrument on Bebop. Amounts are decimal strings in underlying units, and USD values are decimal strings with 2 decimals.
Show statistics fields
object | null
Current OT supply: totalSupplyRaw (raw units), underlyingAmount, and notionalUsd.
object | null
The same fields at the end of the previous UTC day.
object | null
Last trade: priceQuotePerUnderlying, volumeUnderlying, positionEffect (open or close), and timestamp.
object
Statistics of the current UTC day: dateUtc, complete, open, high, low, close (premium in quote token per underlying unit), openVolumeUnderlying, closeVolumeUnderlying, volumeUnderlying, openVolumeUsd, closeVolumeUsd, and volumeUsd.
GET /status. Tells you whether indicative prices are available on this chain. It does not affect quotes: GET /quote works when the status is unavailable.
string
required
available when Bebop has fresh indicative prices. unavailable when it has none. Then pricing is null for all instruments in Get indicative prices.
{ "status": "available"}
Request an open quote
GET /quote. A firm sell-to-open quote. Bebop sends the request to every eligible maker and returns the highest valid premium.
Wallet that sends the transaction and locks the collateral. The signed order is bound to this wallet.
boolean
default:"false"
When true, Bebop also checks the wallet balance, allowance, and permission, and returns the result in issues.
Bebop rejects an open when the wallet holds OT of the instrument (ExistingOptionBalance).
string
required
Request ID. Give it to Bebop support with a question about the request.
string
required
Quote ID.
string
required
ID of the position that the trade opens or adds to. All opens of one wallet on one instrument share one position ID. The format is pos-<chainId>-<wallet>-<instrument>, with lowercase addresses.
integer
required
1.
string
required
Option token address.
string
required
sell for an open. buy for a close.
string
required
OT amount, raw units.
string
required
Premium in raw quote token units. On an open, the amount that the wallet receives, after fee. On a close, the amount that the wallet pays, including fee.
string
required
Bebop fee in raw quote token units. premium already has the fee applied: deducted on an open, added on a close. The fee does not include gas.
integer
required
Time after which the transaction fails. At most 60 seconds after the request, and at least 30 seconds before the instrument expiration.
string[] | null
required
null when validate is false. Otherwise, a list of wallet problems, empty when the wallet is ready. The values are in Quote issues.
object
required
The settlement transaction. Send it from taker_address without changes.
Show tx fields
string
Bebop settlement contract address.
string
Calldata.
string
Native value in wei. "0".
number | null
required
Implied volatility of the winning quote, as a decimal (0.55 is 55%). Not a settlement term.
number | null
required
Delta of the winning quote, from -1 to 1. Not a settlement term.
number | null
required
Underlying spot price in USD that the maker used. Not a settlement term.
object | null
required
Display values for a sell-to-open, per underlying unit. null on a close quote, and when no values are available. Not a settlement term.
Show display fields
boolean
true when the option is in the money.
number
Intrinsic value in USD.
number
Premium minus intrinsic value, in USD, before the fee.
number
Bebop fee in USD.
number
Time value after the fee, in USD.
number
Share of the premium that is intrinsic value, from 0 to 1.
number
Annualized net time value as a decimal. Can be negative.
number
Amount in USD by which intrinsicUsd is more than the premium after the fee. 0 when netTimeValueUsd is not negative.
number
Collateral value in USD.
number
Effective sale or purchase price of the underlying in USD, if the option is exercised.
string
ok, caution, or critical.
string
otm, itm, mostly_intrinsic, or nonpositive_net_time_value.
number | null
Probability, from 0 to 1, that the option expires in the money at iv.
The example has placeholder IDs and calldata. It is not executable.
Request a close quote
GET /positions/{positionId}/quote. A firm buy-to-close quote. Only the makers that filled the opens of the position quote the close.
string
required
Position ID.
string
OT amount to close, raw units. Omit it to close the full confirmed remainder.
boolean
default:"false"
When true, Bebop also checks the USDC balance, the USDC allowance, and the permission, and returns the result in issues.
A close quote counts only confirmed opens. Bebop confirms an open about 30 seconds after it is mined. While an open of the position is not confirmed, Bebop returns 409PositionConfirming for a full close, and for an amount above the confirmed remainder. Bebop returns 404PositionNotFound for a position that is fully closed.Bebop always checks that the wallet holds at least amount of RT. A partial close amount must be at or above the minimum amount. The remainder must also be at or above the minimum, unless amount is the full RT balance of the wallet. The response has the same fields as Request an open quote, with sidebuy.
Request a roll quote
GET /positions/{positionId}/roll. A firm quote that closes the full position and opens instrument in one transaction.
string
required
Position ID.
string
required
Option token address of the new instrument. It must have the same underlying, option type, collateral, quote token, and Greek Factory as the position, and it must be a different instrument.
boolean
default:"false"
When true, Bebop also checks the wallet and returns the result in issues.
For a call, the new OT amount is the closed amount. For a put, it is the closed amount times the new strike divided by the old strike, rounded down. The new amount must be at or above the minimum open.While an open of the position is not confirmed, Bebop returns 409PositionConfirming. Bebop opens instruments only on the current Greek Factory, so a position on a retired Greek Factory cannot roll.
Current RT balance of the wallet, raw units. null when the balance read fails. null does not mean zero.
string
pre_expiry before expiration. exercise_window from expiration to exerciseDeadline, inclusive. post_deadline after exerciseDeadline.
object | null
The payout that the wallet can redeem now. null when there is no positive payout, or when the balance read fails.
Show redeemable fields
string
RT balance of the wallet, raw units.
string
RT amount, for all RT holders of the instrument, that the exercise payments in the receipt contract cover. Raw RT units, not settlement token units.
integer
Redemption fee of the instrument, in basis points. The payouts below are after this fee.
string
Estimated exercise payment that the wallet can redeem now, raw settlement token units. An upper bound: other RT holders redeem from the same pool.
string | null
Estimated collateral payout after exerciseDeadline, raw collateral units. null before the deadline.
string
Same as redemption.redeemedConsideration.
string
Same as redemption.redeemedCollateral.
object
Totals that the wallet redeemed for this instrument. "0" when there are none.
Show redemption fields
string
Exercise payment redeemed, raw settlement token units.
string
Collateral redeemed, raw collateral units.
object
The expiry price compared with the strike. It does not show if an exercise occurred.
Show expiryMoneyness fields
string
pending before expiry. known when Bebop has an expiry price. unavailable when it does not.
string | null
itm or otm when status is known. A price equal to the strike is otm. Otherwise null.
string | null
Expiry price of the underlying in USDC, as a decimal string. null unless status is known.
object
Profit and loss (PnL) of the position, in two views. Amounts are decimal strings in currency, not raw units. A value is null when Bebop cannot calculate it. unavailableReasons gives the reasons.
Show pnl fields
string
Symbol of the quote token: USDC.
object
PnL against the underlying price at the time of each open. For a call, it includes the price change of the locked collateral.
Show view fields
string | null
Realized PnL: optionRealized plus collateralRealized.
string | null
Unrealized PnL: optionUnrealized plus collateralUnrealized.
string | null
realized plus unrealized.
string | null
Premium received minus premium paid, for the amount that is closed, exercised, or expired.
string | null
Premium received for the open amount minus the current mark value of that amount.
string | null
Realized PnL of the collateral. In cashflow, for a redeemed call that was exercised: the exercise payment minus the value of the exercised collateral at the open. In yield, after an exercise: the amount by which the expiry price passed the strike, as zero or a negative value.
string | null
Unrealized PnL of the collateral. In cashflow, for a call: the current value of the locked collateral minus its value at the open. In yield: "0".
string | null
realized divided by the total collateral value committed by all opens. 0.1 is 10%.
string | null
unrealized divided by the same value.
string | null
total divided by the same value.
string[]
Zero or more of missing_lock_price, mark_unavailable, expiry_window, current_collateral_price_unavailable, assignment_pending_redemption, expiry_price_unavailable, inconsistent_history.
object
PnL against holding the collateral with no option. A price change of the collateral does not count. Same fields as cashflow.
object
required
PnL of all positions of the API key, on all pages and in all statuses.
Show total fields
string
USDC.
integer | null
Time of the first open. null when there are no positions.
integer
Time of the calculation.
string | null
Total collateral value committed by all opens, in currency. For a call, the underlying amount at its price at the open. For a put, the USDC amount. null when the price at an open is not available.
object
Sums of the pnl.cashflow values of the positions.
Show view fields
string
Sum of the known realized values.
string
Sum of the known unrealized values.
string
realized plus unrealized.
string | null
realized divided by committedCapital. null when committedCapital is null or zero.
string | null
unrealized divided by committedCapital.
string | null
total divided by committedCapital.
string[]
Reasons why the sums are incomplete. Same values as in pnl.
object
Sums of the pnl.yield values of the positions. Same fields as cashflow.
string | null
required
Cursor for the next page, or null on the last page.
Before expiry, with a remainder. A partial close stays open.
closed
The full position was closed through Bebop.
expired_pending_exercise
After expiration, in the exercise window, with no exercise yet.
exercised
Bebop indexed at least one exercise of the instrument. Check redeemable for a payout.
expired_unexercised
The exercise window closed with no exercise. Check redeemable for a payout.
redeemed
The wallet redeemed, and its RT balance is zero.
A status is not final. For example, RT that the wallet receives later can change a redeemed position.
Get a position
GET /positions/{positionId}. One position. The response is one object of positions in List positions. A position that does not exist for the API key returns 404NotFound.
string
required
Position ID.
List position transactions
GET /positions/{positionId}/transactions. The Bebop trades of one position, oldest first. Redemptions and exercises are not included.
string
required
Position ID.
string
required
Position ID.
object[]
required
Show transaction fields
string
sell_to_open or buy_to_close.
string
Filled OT amount, raw units.
string
Premium in raw quote token units. On an open, the amount received, after the fee. On a close, the amount paid, including the fee.
string
Transaction hash.
integer
Block time.
string | null
Roll ID, the same on the close and the open of one roll. null for a plain open or close.
amount and the OT and RT balances are in raw collateral units. OT and RT have the decimals of the collateral.
Option
Collateral
Unit of amount
Example
WETH call
WETH
WETH, 18 decimals
0.01 WETH is 10000000000000000
cbBTC call
cbBTC
cbBTC, 8 decimals
0.001 cbBTC is 100000
Put
USDC
USDC, 6 decimals
0.01 WETH at a 2,500 strike is 25 USDC: 25000000
For a put, multiply the underlying amount by strike to get the USDC amount. Round the collateral up. Premiums and fees are in raw USDC units (6 decimals).
Limits
Limit
Value
Minimum open, WETH call
0.001 WETH (1000000000000000)
Minimum open, cbBTC call
0.00003 cbBTC (3000)
Minimum open, put
1 USDC (1000000)
Minimum partial close
The same as the minimum open, for the amount and for the remainder. The remainder rule does not apply when amount is the full RT balance of the wallet. A full close has no minimum.
Maximum open
When every eligible maker declared a smaller size, Bebop returns MaxSize.
Quote validity
Until expiry: at most 60 seconds.
Last open, close, or roll
30 seconds before expiration.
First full close or roll after an open
When the open is confirmed, about 30 seconds after it is mined. Before that, Bebop returns PositionConfirming.
GET /instruments, GET /assets/{underlying}/summary, GET /status
120 requests in 4 seconds for each IP address, for each endpoint.
GET /quote
20 requests in 3 seconds for each API key and for each IP address. With validate=true: 10 requests in 10 seconds.
Close and roll quotes
10 requests in 10 seconds for each API key and for each IP address.
Position endpoints
120 requests in 4 seconds for each API key and for each IP address.
A request over a rate limit gets 429 with Retry-After.
Approvals
The taker wallet needs ERC-20 allowances and a Greek Factory permission for the Bebop settlement contract. The permission is a bit mask. Grant it with addPermissions(settlement, mask) on the Greek Factory of the instrument.
Trade
Allowance
Greek Factory mask
Open
Collateral to the Greek Factory, at least amount
3 (TRANSFER | MINT)
Close
USDC to the settlement contract, at least premium
4 (BURN)
Roll
Collateral to the Greek Factory, at least open.amount. USDC to the settlement contract, at least close.premium.
7 (TRANSFER | MINT | BURN)
Redeem
None
None
Bit
Value
Lets the settlement contract
TRANSFER
1
Transfer the wallet’s OT.
MINT
2
Mint OT and RT against the wallet’s collateral.
BURN
4
Burn matched OT and RT and return the collateral to the wallet.
addPermissions adds bits to the current mask. setPermissions(operator, mask) replaces the complete mask. To remove all permissions, call setPermissions(settlement, 0). The wallet never approves OT or RT.
Contracts
Contract
Address
Bebop settlement
0xbbbbbBB520d69a9775E85b458C58c648259FAD5F
Greek Factory, current
0x9999999999906A9a5B3CFB1151Ac6812B3042191
Greek Factory, retired
0x9999999999995aa18A8944e311ce792a9b90A8b1
WETH
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
cbBTC
0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf
USDC
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
The factory field of an instrument gives its Greek Factory. Bebop opens and rolls positions only on the current Greek Factory. A position on the retired Greek Factory can be closed and redeemed. Its permissions and allowance are on the retired contract.
Quote issues
Value
Meaning
missing_factory_permissions
The settlement contract does not have the mask for this trade.
insufficient_collateral_balance
The wallet holds less collateral than the trade locks.
insufficient_collateral_allowance
The collateral allowance to the Greek Factory is too low.
insufficient_premium_balance
The wallet holds less USDC than the close premium.
insufficient_premium_allowance
The USDC allowance to the settlement contract is too low.
The values missing_auto_mint_burn, insufficient_factory_allowance, missing_operator_approval, and insufficient_receipt_balance are reserved. Bebop does not return them on Ethereum.
Errors
An error response has this shape:
{ "requestId": "c9ee4c40-925f-4afb-99b5-d6190c6328a2", "error": {"code": "MinNotional", "message": "opening amount must be at least 1000000000000000 raw collateral units"}}
HTTP
Code
Meaning
400, 422
InvalidRequest
A parameter is missing or has a wrong format, or positionId has a wrong format.
400
InvalidAmount
amount is not a positive integer.
400
InvalidAddress
An address is not valid.
400
MinNotional
The amount, or the remainder after a partial close, is below the minimum.
400
MaxSize
The open is larger than the size that every eligible maker declared.
400, 409
InstrumentExpired
The instrument expires in less than 30 seconds.
400
InvalidRoll
The roll instrument is the instrument of the position, or it has a different underlying, option type, collateral, quote token, or Greek Factory.
An error occurred in Bebop. Give the requestId to Bebop support.
A 503 is temporary. Request a new quote. Do not send an old tx again.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Bebop API Docs","colors":{"primary":"#006623","light":"#D4FF00","dark":"#8B13CC"},"logo":{"light":"https://mintcdn.com/bebop-bfd66c5f/8ftxhO576FlbcI7H/logo_light.svg?fit=max\u0026auto=format\u0026n=8ftxhO576FlbcI7H\u0026q=85\u0026s=d48dfdf648dba1ae4d7f4cd6b02380f4","dark":"https://mintcdn.com/bebop-bfd66c5f/8ftxhO576FlbcI7H/logo_dark.svg?fit=max\u0026auto=format\u0026n=8ftxhO576FlbcI7H\u0026q=85\u0026s=74bb9c292adfad9c685b5f9f69241b69"},"favicon":{"light":"https://mintcdn.com/bebop-bfd66c5f/VcMgXhzhydk9Gm5R/favicon_light.svg?fit=max\u0026auto=format\u0026n=VcMgXhzhydk9Gm5R\u0026q=85\u0026s=6e578fac23816f11d63e7665e056bb61","dark":"https://mintcdn.com/bebop-bfd66c5f/VcMgXhzhydk9Gm5R/favicon_dark.svg?fit=max\u0026auto=format\u0026n=VcMgXhzhydk9Gm5R\u0026q=85\u0026s=b9a72733c820f67b71dfc2076a295d70"},"api":{"playground":{"display":"interactive"},"examples":{"prefill":true}},"appearance":{"default":"dark"},"footer":{"socials":{"github":"https://github.com/bebop-dex","website":"https://bebop.xyz"}},"errors":{"404":{"redirect":true}},"contextual":{"options":["copy","claude","chatgpt","cursor","vscode","add-mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bebop-bfd66c5f","hasAudioNarration":false,"actualSubdomain":"bebop-bfd66c5f","customDomains":["docs.bebop.xyz"],"gitSource":{"type":"github","owner":"bebop-dex","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0eebbd8007c388aa2ef39e","clientVersion":"0.0.4389","searchFilterCounts":[{"language":"default","tag":"Build","count":39},{"language":"default","tag":"Guides","count":14},{"language":"default","tag":"RFQ API","count":14},{"language":"default","tag":"Discover","count":12},{"language":"default","tag":"API Reference","count":10},{"language":"default","tag":"Introduction","count":8},{"language":"default","tag":"Built for","count":8},{"language":"default","tag":"Options API","count":7},{"language":"default","tag":"Resources","count":6},{"language":"default","tag":"Price API","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".home-page{max-width:768px;margin:0 auto;padding:2rem 1.5rem 4rem;color:#171717}:root.dark .home-page{color:#ffffff}.home-hero{text-align:center;padding:3rem 0 2.5rem}.home-hero h1{font-size:2.5rem;font-weight:700;margin:0 0 0.75rem}.home-hero p{font-size:1.125rem;margin:0}.home-section{margin-top:3.5rem}.home-section h2{font-size:1.25rem;font-weight:600;margin-bottom:0.75rem}.color-grid{display:grid;grid-template-columns:repeat(6, 1fr);gap:1rem;margin:1rem 0 2rem}@media (max-width: 768px){.color-grid{grid-template-columns:repeat(3, 1fr)}}@media (max-width: 480px){.color-grid{grid-template-columns:repeat(2, 1fr)}}.color-swatch{display:flex;flex-direction:column;gap:0.5rem}.color-swatch-block{aspect-ratio:1;border-radius:16px;display:flex;align-items:flex-end;padding:0.625rem}.color-swatch-block span{font-size:0.75rem;font-weight:600;font-family:monospace}.color-swatch-label{font-size:0.8125rem;font-weight:600}.logo-showcase-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0 2rem}.logo-showcase{border-radius:16px;padding:1.25rem 1.5rem;display:grid;grid-template-columns:auto auto;grid-template-rows:1fr auto;gap:0.75rem 1.5rem;align-items:center}.logo-showcase-dark{background:#171717;color:#ffffff}.logo-showcase-light{background:#f5f5f5;color:#171717}.logo-showcase-left{display:flex;flex-direction:column;gap:0.75rem;align-items:flex-start}.logo-showcase-right{display:flex;justify-content:center;align-items:center}.logo-showcase img.logo-sm{height:32px;width:auto}.logo-showcase img.logo-md{height:32px;width:auto}.logo-showcase img.logo-lg{height:110px;width:auto}.logo-showcase-label{grid-column:1 / -1;font-size:0.75rem;opacity:0.5;text-align:center}@media (max-width: 640px){.logo-showcase-row{grid-template-columns:1fr}}"}]}
{"page":{"pagePath":"options-api/reference","slug":"/options-api/reference","pageMetadata":{"public":true,"title":"Reference","description":"Endpoints, fields, amounts, limits, approvals, contracts, and error codes of the Options API.","icon":"book","doc_type":"reference","href":"/options-api/reference"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Endpoints, fields, amounts, limits, approvals, contracts, and error codes of the Options API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This page describes the taker endpoints of the Options API on Ethereum. All paths are relative to `,_jsx(_components.code,{children:`https://api.bebop.xyz/options/ethereum/v1`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Authentication`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /instruments`}),`, `,_jsx(_components.code,{children:`GET /assets/{underlying}/summary`}),`, and `,_jsx(_components.code,{children:`GET /status`}),` are public. The other endpoints on this page take `,_jsx(_components.code,{children:`Authorization: Bearer \u003cAPI key>`}),`. The key must have options taker access, or Bebop returns `,_jsx(_components.code,{children:`403`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Position scope`}),_jsxs(_components.td,{children:[`Position endpoints return the positions opened with your API key, for all wallets. A position from another key returns `,_jsx(_components.code,{children:`404`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Field names`}),_jsxs(_components.td,{children:[`Query parameters use snake_case, except `,_jsx(_components.code,{children:`includeExpired`}),` and `,_jsx(_components.code,{children:`includeRetiredFactories`}),`. Response fields use camelCase.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Null values`}),_jsxs(_components.td,{children:[`A field without a value is `,_jsx(_components.code,{children:`null`}),`. Responses do not leave out keys.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Amounts`}),_jsxs(_components.td,{children:[`Raw token units, as decimal strings. See `,_jsx(_components.a,{href:`#amounts`,children:`Amounts`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Times`}),_jsx(_components.td,{children:`Unix timestamps in seconds.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Caching`}),_jsxs(_components.td,{children:[`Quote and position responses send `,_jsx(_components.code,{children:`Cache-Control: no-store`}),`. In a position, `,_jsx(_components.code,{children:`rtBalance`}),` and `,_jsx(_components.code,{children:`redeemable`}),` can be up to 5 seconds old.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Pagination`}),_jsxs(_components.td,{children:[`List endpoints return `,_jsx(_components.code,{children:`nextCursor`}),`. When it is not `,_jsx(_components.code,{children:`null`}),`, pass it unchanged as `,_jsx(_components.code,{children:`cursor`}),` to get the next page. The cursor is opaque.`]})]})]})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Endpoint`}),_jsx(_components.th,{children:`Section`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /instruments`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#list-instruments`,children:`List instruments`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /assets/{underlying}/summary`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#get-indicative-prices`,children:`Get indicative prices`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /status`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#get-the-pricing-status`,children:`Get the pricing status`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /quote`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#request-an-open-quote`,children:`Request an open quote`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /positions/{positionId}/quote`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#request-a-close-quote`,children:`Request a close quote`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /positions/{positionId}/roll`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#request-a-roll-quote`,children:`Request a roll quote`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /positions`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#list-positions`,children:`List positions`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /positions/{positionId}`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#get-a-position`,children:`Get a position`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /positions/{positionId}/transactions`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`#list-position-transactions`,children:`List position transactions`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`list-instruments`,children:`List instruments`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /instruments`}),`. The instruments that Bebop lists. By default, the list has the active instruments of the current Greek Factory that expire more than 30 seconds from now. The list is sorted by `,_jsx(_components.code,{children:`expiration`}),`.`]}),`\n`,_jsx(ParamField,{query:`instrument`,type:`string`,id:`param-instrument`,children:_jsxs(_components.p,{children:[`One option token address. Returns that instrument also if it is inactive, expired, or from a retired Greek Factory. An unknown address returns an empty list. Bebop rejects `,_jsx(_components.code,{children:`instrument`}),` together with `,_jsx(_components.code,{children:`underlying`}),`, `,_jsx(_components.code,{children:`quote`}),`, `,_jsx(_components.code,{children:`option_type`}),`, `,_jsx(_components.code,{children:`expiration_from`}),`, `,_jsx(_components.code,{children:`expiration_to`}),`, or `,_jsx(_components.code,{children:`cursor`}),`.`]})}),`\n`,_jsx(ParamField,{query:`underlying`,type:`string`,id:`param-underlying`,children:_jsx(_components.p,{children:`Underlying token address.`})}),`\n`,_jsx(ParamField,{query:`quote`,type:`string`,id:`param-quote`,children:_jsx(_components.p,{children:`Quote token address.`})}),`\n`,_jsx(ParamField,{query:`option_type`,type:`string`,id:`param-option-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`call`}),` or `,_jsx(_components.code,{children:`put`}),`.`]})}),`\n`,_jsx(ParamField,{query:`expiration_from`,type:`integer`,id:`param-expiration-from`,children:_jsxs(_components.p,{children:[`Earliest `,_jsx(_components.code,{children:`expiration`}),`, inclusive.`]})}),`\n`,_jsx(ParamField,{query:`expiration_to`,type:`integer`,id:`param-expiration-to`,children:_jsxs(_components.p,{children:[`Latest `,_jsx(_components.code,{children:`expiration`}),`, inclusive.`]})}),`\n`,_jsx(ParamField,{query:`includeExpired`,type:`boolean`,default:`false`,id:`param-include-expired`,children:_jsx(_components.p,{children:`Also include the instruments that expired or that expire in 30 seconds or less.`})}),`\n`,_jsx(ParamField,{query:`includeRetiredFactories`,type:`boolean`,default:`false`,id:`param-include-retired-factories`,children:_jsxs(_components.p,{children:[`Also include the instruments of a retired Greek Factory. See `,_jsx(_components.a,{href:`#contracts`,children:`Contracts`}),`.`]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`50`,id:`param-limit`,children:_jsx(_components.p,{children:`Page size, 1 to 200.`})}),`\n`,_jsx(ParamField,{query:`cursor`,type:`string`,id:`param-cursor`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`nextCursor`}),` of the previous page. Send the same filters on each page.`]})}),`\n`,_jsx(ResponseField,{name:`instruments`,type:`object[]`,required:true,id:`param-instruments`,children:_jsxs(Expandable,{title:`instrument fields`,children:[_jsx(ResponseField,{name:`instrument`,type:`string`,id:`param-instrument-1`,children:`Option token (OT) address. It identifies the instrument in all other calls.`}),_jsxs(ResponseField,{name:`receipt`,type:`string`,id:`param-receipt`,children:[`Receipt token (RT) address. Also the contract for `,_jsx(_components.a,{href:`/options-api/guides/redeem-after-expiry`,children:`redemption`}),`.`]}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:`Token name.`}),_jsx(ResponseField,{name:`symbol`,type:`string`,id:`param-symbol`,children:`OT symbol.`}),_jsx(ResponseField,{name:`receiptSymbol`,type:`string`,id:`param-receipt-symbol`,children:`RT symbol.`}),_jsx(ResponseField,{name:`underlying`,type:`string`,id:`param-underlying-1`,children:`Underlying token address.`}),_jsx(ResponseField,{name:`quote`,type:`string`,id:`param-quote-1`,children:`Quote token address. The premium is paid in this token.`}),_jsx(ResponseField,{name:`collateral`,type:`string`,id:`param-collateral`,children:`Token that the taker locks: the underlying for a call, the quote token for a put.`}),_jsx(ResponseField,{name:`settlement`,type:`string`,id:`param-settlement`,children:`Token that the OT holder pays to exercise: the quote token for a call, the underlying for a put.`}),_jsx(ResponseField,{name:`collateralSymbol`,type:`string`,id:`param-collateral-symbol`,children:`Collateral token symbol.`}),_jsx(ResponseField,{name:`settlementSymbol`,type:`string`,id:`param-settlement-symbol`,children:`Settlement token symbol.`}),_jsxs(ResponseField,{name:`decimals`,type:`integer`,id:`param-decimals`,children:[`OT and RT decimals. Equal to `,_jsx(_components.code,{children:`collateralDecimals`}),`.`]}),_jsx(ResponseField,{name:`collateralDecimals`,type:`integer`,id:`param-collateral-decimals`,children:`Collateral token decimals.`}),_jsx(ResponseField,{name:`settlementDecimals`,type:`integer`,id:`param-settlement-decimals`,children:`Settlement token decimals.`}),_jsxs(ResponseField,{name:`optionType`,type:`string`,id:`param-option-type-1`,children:[_jsx(_components.code,{children:`call`}),` or `,_jsx(_components.code,{children:`put`}),`.`]}),_jsxs(ResponseField,{name:`exerciseStyle`,type:`string`,id:`param-exercise-style`,children:[_jsx(_components.code,{children:`european`}),`.`]}),_jsx(ResponseField,{name:`strike`,type:`string`,id:`param-strike`,children:`Strike in quote token per underlying token. Can be rounded.`}),_jsxs(ResponseField,{name:`strikeRaw`,type:`string`,id:`param-strike-raw`,children:[`Exact on-chain strike, 18 decimals. For a put, the on-chain strike is the reciprocal: `,_jsx(_components.code,{children:`strike`}),` is `,_jsx(_components.code,{children:`(10**36 // strikeRaw) / 10**18`}),`.`]}),_jsx(ResponseField,{name:`expiration`,type:`integer`,id:`param-expiration`,children:`Expiration.`}),_jsx(ResponseField,{name:`exerciseDeadline`,type:`integer`,id:`param-exercise-deadline`,children:`End of the exercise window.`}),_jsx(ResponseField,{name:`exerciseWindowSeconds`,type:`integer`,id:`param-exercise-window-seconds`,children:`Length of the exercise window, in seconds.`}),_jsxs(ResponseField,{name:`canSell`,type:`boolean`,id:`param-can-sell`,children:[_jsx(_components.code,{children:`true`}),` when the instrument is from the current Greek Factory and 48 hours or more remain before `,_jsx(_components.code,{children:`expiration`}),`.`]}),_jsxs(ResponseField,{name:`canBuy`,type:`boolean`,id:`param-can-buy`,children:[_jsx(_components.code,{children:`true`}),` when the instrument has not expired.`]}),_jsxs(ResponseField,{name:`factory`,type:`string`,id:`param-factory`,children:[`Greek Factory of the instrument. The `,_jsx(_components.a,{href:`#approvals`,children:`approvals`}),` for the instrument are on this contract.`]}),_jsx(ResponseField,{name:`exercisedTotal`,type:`string`,id:`param-exercised-total`,children:`Total OT amount exercised, raw units.`}),_jsxs(ResponseField,{name:`lastExerciseAt`,type:`integer | null`,id:`param-last-exercise-at`,children:[`Time of the last exercise, or `,_jsx(_components.code,{children:`null`}),`.`]}),_jsxs(ResponseField,{name:`maxUnderlyingAmount`,type:`string | null`,id:`param-max-underlying-amount`,children:[`Largest open size that a connected maker declared for this underlying, in raw underlying units, also for a put. `,_jsx(_components.code,{children:`null`}),` when no maker declared a size. It is not a guaranteed fill size.`]})]})}),`\n`,_jsx(ResponseField,{name:`nextCursor`,type:`string | null`,required:true,id:`param-next-cursor`,children:_jsxs(_components.p,{children:[`Cursor for the next page, or `,_jsx(_components.code,{children:`null`}),` on the last page.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`34`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`34`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instruments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xOPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"receipt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xRECEIPT_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OPTE-C-WETH-USDC-2500-2026-11-27\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OPTE-C-WETH-USDC-2500-2026-11-27\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"receiptSymbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RCTE-C-WETH-USDC-2500-2026-11-27\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"underlying\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collateral\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settlement\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collateralSymbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"WETH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settlementSymbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"decimals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collateralDecimals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settlementDecimals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optionType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"exerciseStyle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"european\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"strike\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2500\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"strikeRaw\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2500000000000000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1795766400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"canSell\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"canBuy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"exerciseDeadline\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1795770000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"exerciseWindowSeconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3600`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"factory\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x9999999999906a9a5b3cfb1151ac6812b3042191\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"exercisedTotal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxUnderlyingAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastExerciseAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextCursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`get-indicative-prices`,children:`Get indicative prices`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /assets/{underlying}/summary`}),`. Indicative prices for the instruments of one underlying, grouped by expiration. Use it to compare strikes and expirations before you request a quote. The prices are not executable. Only `,_jsx(_components.a,{href:`#request-an-open-quote`,children:_jsx(_components.code,{children:`GET /quote`})}),` gives a firm premium.`]}),`\n`,_jsxs(_components.p,{children:[`Each instrument has `,_jsx(_components.code,{children:`pricing`}),` and `,_jsx(_components.code,{children:`statistics`}),`. Either one can be `,_jsx(_components.code,{children:`null`}),` when its data is not fresh. An instrument with `,_jsx(_components.code,{children:`null`}),` pricing stays in the list.`]}),`\n`,_jsx(ParamField,{path:`underlying`,type:`string`,required:true,id:`param-underlying-2`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ETH`}),` (WETH), `,_jsx(_components.code,{children:`cbBTC`}),`, or the underlying token address. The value is not case-sensitive. An unknown value returns `,_jsx(_components.code,{children:`404`}),` `,_jsx(_components.code,{children:`NotFound`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`asset`,type:`string`,required:true,id:`param-asset`,children:[`Asset symbol: `,_jsx(_components.code,{children:`ETH`}),` for WETH, or `,_jsx(_components.code,{children:`cbBTC`}),`.`]}),`\n`,_jsx(ResponseField,{name:`underlying`,type:`string`,required:true,id:`param-underlying-3`,children:`Underlying token address.`}),`\n`,_jsx(ResponseField,{name:`quote`,type:`string`,required:true,id:`param-quote-2`,children:`Quote token address (USDC).`}),`\n`,_jsxs(ResponseField,{name:`schemaVersion`,type:`integer`,required:true,id:`param-schema-version`,children:[_jsx(_components.code,{children:`5`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`indicativeOnly`,type:`boolean`,required:true,id:`param-indicative-only`,children:[`Always `,_jsx(_components.code,{children:`true`}),`.`]}),`\n`,_jsx(ResponseField,{name:`sequence`,type:`integer | null`,required:true,id:`param-sequence`,children:`Identifier of the price set. It changes when the prices change.`}),`\n`,_jsx(ResponseField,{name:`sourceAsOf`,type:`integer | null`,required:true,id:`param-source-as-of`,children:`Time of the market data that the prices use.`}),`\n`,_jsx(ResponseField,{name:`computedAt`,type:`integer | null`,required:true,id:`param-computed-at`,children:`Time when Bebop calculated the prices.`}),`\n`,_jsx(ResponseField,{name:`publishedAt`,type:`integer | null`,required:true,id:`param-published-at`,children:`Time when Bebop published the prices.`}),`\n`,_jsx(ResponseField,{name:`spot`,type:`number | null`,required:true,id:`param-spot`,children:`Underlying spot price in USD.`}),`\n`,_jsxs(ResponseField,{name:`dateUtc`,type:`string`,required:true,id:`param-date-utc`,children:[`Current UTC date, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. The `,_jsx(_components.code,{children:`today`}),` statistics are for this date.`]}),`\n`,_jsx(ResponseField,{name:`statisticsAsOf`,type:`integer | null`,required:true,id:`param-statistics-as-of`,children:`Time of the statistics.`}),`\n`,_jsx(ResponseField,{name:`statisticsBlock`,type:`integer | null`,required:true,id:`param-statistics-block`,children:`Last block in the statistics.`}),`\n`,_jsx(ResponseField,{name:`tradesThroughBlock`,type:`integer | null`,required:true,id:`param-trades-through-block`,children:`Last block of the trade data in the statistics.`}),`\n`,_jsxs(ResponseField,{name:`expiries`,type:`object[]`,required:true,id:`param-expiries`,children:[_jsxs(_components.p,{children:[`One item for each `,_jsx(_components.code,{children:`expiration`}),`.`]}),_jsxs(Expandable,{title:`expiry fields`,children:[_jsx(ResponseField,{name:`expiration`,type:`integer`,id:`param-expiration-1`,children:`Expiration.`}),_jsxs(ResponseField,{name:`forward`,type:`number | null`,id:`param-forward`,children:[`Forward price for this expiration, in USD. `,_jsx(_components.code,{children:`null`}),` when Bebop cannot price the expiration. `,_jsx(_components.code,{children:`atmIv`}),` and `,_jsx(_components.code,{children:`timeToExpiry`}),` are then also `,_jsx(_components.code,{children:`null`}),`.`]}),_jsx(ResponseField,{name:`atmIv`,type:`number | null`,id:`param-atm-iv`,children:`Implied volatility at the forward price, as a decimal.`}),_jsxs(ResponseField,{name:`timeToExpiry`,type:`number | null`,id:`param-time-to-expiry`,children:[`Years to `,_jsx(_components.code,{children:`expiration`}),`, on a 365-day year.`]}),_jsxs(ResponseField,{name:`instruments`,type:`object[]`,id:`param-instruments-1`,children:[_jsx(_components.p,{children:`The instruments of this expiration.`}),_jsxs(Expandable,{title:`instrument fields`,children:[_jsx(ResponseField,{name:`instrument`,type:`string`,id:`param-instrument-2`,children:`Option token (OT) address.`}),_jsx(ResponseField,{name:`strike`,type:`string`,id:`param-strike-1`,children:`Strike in quote token per underlying token.`}),_jsxs(ResponseField,{name:`optionType`,type:`string`,id:`param-option-type-2`,children:[_jsx(_components.code,{children:`call`}),` or `,_jsx(_components.code,{children:`put`}),`.`]}),_jsxs(ResponseField,{name:`canSell`,type:`boolean`,id:`param-can-sell-1`,children:[_jsx(_components.code,{children:`true`}),` when 48 hours or more remain before `,_jsx(_components.code,{children:`expiration`}),`.`]}),_jsxs(ResponseField,{name:`canBuy`,type:`boolean`,id:`param-can-buy-1`,children:[_jsx(_components.code,{children:`true`}),` when the instrument has not expired.`]}),_jsxs(ResponseField,{name:`pricingStatus`,type:`string`,id:`param-pricing-status`,children:[_jsx(_components.code,{children:`available`}),`, `,_jsx(_components.code,{children:`unavailable`}),`, `,_jsx(_components.code,{children:`near_expiry`}),`, `,_jsx(_components.code,{children:`outside_expiry_range`}),`, `,_jsx(_components.code,{children:`outside_strike_range`}),`, or `,_jsx(_components.code,{children:`unsafe_prices`}),`. `,_jsx(_components.code,{children:`pricing`}),` has a value only when the status is `,_jsx(_components.code,{children:`available`}),`.`]}),_jsxs(ResponseField,{name:`pricing`,type:`object | null`,id:`param-pricing`,children:[_jsx(_components.p,{children:`Indicative prices. All USD values are per underlying unit, also for a put.`}),_jsxs(Expandable,{title:`pricing fields`,children:[_jsx(ResponseField,{name:`sourceExpirations`,type:`integer[]`,id:`param-source-expirations`,children:`The one or two market expirations that the price uses. Two values mean that Bebop interpolated between them.`}),_jsx(ResponseField,{name:`markIv`,type:`number`,id:`param-mark-iv`,children:`Mid implied volatility, as a decimal.`}),_jsx(ResponseField,{name:`bidIv`,type:`number`,id:`param-bid-iv`,children:`Sell-to-open implied volatility, as a decimal.`}),_jsx(ResponseField,{name:`askIv`,type:`number`,id:`param-ask-iv`,children:`Buy-to-close implied volatility, as a decimal.`}),_jsx(ResponseField,{name:`bidPremiumUsd`,type:`number`,id:`param-bid-premium-usd`,children:`Sell-to-open premium in USD, before the fee.`}),_jsx(ResponseField,{name:`markPremiumUsd`,type:`number`,id:`param-mark-premium-usd`,children:`Mid premium in USD.`}),_jsx(ResponseField,{name:`askPremiumUsd`,type:`number`,id:`param-ask-premium-usd`,children:`Buy-to-close premium in USD, before the fee.`}),_jsx(ResponseField,{name:`netPremiumUsd`,type:`number`,id:`param-net-premium-usd`,children:`Sell-to-open premium in USD, after the fee.`}),_jsxs(ResponseField,{name:`sellToOpenApr`,type:`number`,id:`param-sell-to-open-apr`,children:[_jsx(_components.code,{children:`netPremiumUsd`}),` as an annual rate on the collateral, as a decimal. The collateral is the spot price for a call and the strike for a put. The time includes the exercise window.`]}),_jsxs(ResponseField,{name:`forwardDelta`,type:`number`,id:`param-forward-delta`,children:[`Forward delta at `,_jsx(_components.code,{children:`markIv`}),`, from -1 to 1.`]}),_jsxs(ResponseField,{name:`impliedItmProbability`,type:`number`,id:`param-implied-itm-probability`,children:[`Probability, from 0 to 1, that the option expires in the money at `,_jsx(_components.code,{children:`markIv`}),`.`]}),_jsx(ResponseField,{name:`vegaPerVolPoint`,type:`number`,id:`param-vega-per-vol-point`,children:`Change of the premium in USD for one percentage point of implied volatility.`})]})]}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display`,children:[`Sell-to-open values. Same fields as `,_jsx(_components.code,{children:`display`}),` on an `,_jsx(_components.a,{href:`#request-an-open-quote`,children:`open quote`}),`, without `,_jsx(_components.code,{children:`impliedItmProbability`}),`. `,_jsx(_components.code,{children:`null`}),` when `,_jsx(_components.code,{children:`pricing`}),` is `,_jsx(_components.code,{children:`null`}),`.`]}),_jsxs(ResponseField,{name:`statistics`,type:`object | null`,id:`param-statistics`,children:[_jsx(_components.p,{children:`Trade statistics of the instrument on Bebop. Amounts are decimal strings in underlying units, and USD values are decimal strings with 2 decimals.`}),_jsxs(Expandable,{title:`statistics fields`,children:[_jsxs(ResponseField,{name:`openInterest`,type:`object | null`,id:`param-open-interest`,children:[`Current OT supply: `,_jsx(_components.code,{children:`totalSupplyRaw`}),` (raw units), `,_jsx(_components.code,{children:`underlyingAmount`}),`, and `,_jsx(_components.code,{children:`notionalUsd`}),`.`]}),_jsx(ResponseField,{name:`previousDayOpenInterest`,type:`object | null`,id:`param-previous-day-open-interest`,children:`The same fields at the end of the previous UTC day.`}),_jsxs(ResponseField,{name:`lastTrade`,type:`object | null`,id:`param-last-trade`,children:[`Last trade: `,_jsx(_components.code,{children:`priceQuotePerUnderlying`}),`, `,_jsx(_components.code,{children:`volumeUnderlying`}),`, `,_jsx(_components.code,{children:`positionEffect`}),` (`,_jsx(_components.code,{children:`open`}),` or `,_jsx(_components.code,{children:`close`}),`), and `,_jsx(_components.code,{children:`timestamp`}),`.`]}),_jsxs(ResponseField,{name:`today`,type:`object`,id:`param-today`,children:[`Statistics of the current UTC day: `,_jsx(_components.code,{children:`dateUtc`}),`, `,_jsx(_components.code,{children:`complete`}),`, `,_jsx(_components.code,{children:`open`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`close`}),` (premium in quote token per underlying unit), `,_jsx(_components.code,{children:`openVolumeUnderlying`}),`, `,_jsx(_components.code,{children:`closeVolumeUnderlying`}),`, `,_jsx(_components.code,{children:`volumeUnderlying`}),`, `,_jsx(_components.code,{children:`openVolumeUsd`}),`, `,_jsx(_components.code,{children:`closeVolumeUsd`}),`, and `,_jsx(_components.code,{children:`volumeUsd`}),`.`]}),_jsx(ResponseField,{name:`previousDay`,type:`object`,id:`param-previous-day`,children:`The same fields for the previous UTC day.`})]})]})]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`99`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`99`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ETH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"underlying\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"schemaVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"indicativeOnly\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sequence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1794510730`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sourceAsOf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1794510727`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"computedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1794510730`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"publishedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1794510730`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"spot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2011.39`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dateUtc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-12\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statisticsAsOf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1794510695`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statisticsBlock\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`26400872`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradesThroughBlock\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`26400872`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiries\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1795161600`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"forward\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2013.75`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"atmIv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.5146`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeToExpiry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0206`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instruments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xOPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"strike\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2150\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optionType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"canSell\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"canBuy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pricingStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pricing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sourceExpirations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1795161600`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"markIv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.5052`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bidIv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.4986`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"askIv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.5118`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bidPremiumUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`14.57`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"markPremiumUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15.09`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"askPremiumUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15.61`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"netPremiumUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`14.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sellToOpenApr\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3376`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"forwardDelta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.1931`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"impliedItmProbability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.1741`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vegaPerVolPoint\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.7925`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isItm\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"intrinsicUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"grossTimeValueUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`14.57`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"feeUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.57`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"netTimeValueUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`14.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"intrinsicShare\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"yieldApr\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3376`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"shortfallUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collateralUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2011.39`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"effectivePriceUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2164.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"riskLevel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ok\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"riskReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"otm\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statistics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openInterest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalSupplyRaw\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"underlyingAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"notionalUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"previousDayOpenInterest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastTrade\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"today\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dateUtc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-12\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"complete\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"close\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openVolumeUnderlying\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"closeVolumeUnderlying\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"volumeUnderlying\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openVolumeUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"closeVolumeUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"volumeUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"previousDay\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dateUtc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-11\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"complete\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"close\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openVolumeUnderlying\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"closeVolumeUnderlying\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"volumeUnderlying\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openVolumeUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"closeVolumeUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"volumeUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`get-the-pricing-status`,children:`Get the pricing status`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /status`}),`. Tells you whether indicative prices are available on this chain. It does not affect quotes: `,_jsx(_components.code,{children:`GET /quote`}),` works when the status is `,_jsx(_components.code,{children:`unavailable`}),`.`]}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`available`}),` when Bebop has fresh indicative prices. `,_jsx(_components.code,{children:`unavailable`}),` when it has none. Then `,_jsx(_components.code,{children:`pricing`}),` is `,_jsx(_components.code,{children:`null`}),` for all instruments in `,_jsx(_components.a,{href:`#get-indicative-prices`,children:`Get indicative prices`}),`.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"available\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request-an-open-quote`,children:`Request an open quote`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /quote`}),`. A firm sell-to-open quote. Bebop sends the request to every eligible maker and returns the highest valid premium.`]}),`\n`,_jsx(ParamField,{query:`instrument`,type:`string`,required:true,id:`param-instrument-3`,children:_jsx(_components.p,{children:`Option token address.`})}),`\n`,_jsx(ParamField,{query:`amount`,type:`string`,required:true,id:`param-amount`,children:_jsxs(_components.p,{children:[`OT amount in raw units. See `,_jsx(_components.a,{href:`#amounts`,children:`Amounts`}),` and `,_jsx(_components.a,{href:`#limits`,children:`Limits`}),`.`]})}),`\n`,_jsx(ParamField,{query:`taker_address`,type:`string`,required:true,id:`param-taker-address`,children:_jsx(_components.p,{children:`Wallet that sends the transaction and locks the collateral. The signed order is bound to this wallet.`})}),`\n`,_jsx(ParamField,{query:`validate`,type:`boolean`,default:`false`,id:`param-validate`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, Bebop also checks the wallet balance, allowance, and permission, and returns the result in `,_jsx(_components.code,{children:`issues`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Bebop rejects an open when the wallet holds OT of the instrument (`,_jsx(_components.code,{children:`ExistingOptionBalance`}),`).`]}),`\n`,_jsx(ResponseField,{name:`requestId`,type:`string`,required:true,id:`param-request-id`,children:`Request ID. Give it to Bebop support with a question about the request.`}),`\n`,_jsx(ResponseField,{name:`quoteId`,type:`string`,required:true,id:`param-quote-id`,children:`Quote ID.`}),`\n`,_jsxs(ResponseField,{name:`positionId`,type:`string`,required:true,id:`param-position-id`,children:[`ID of the position that the trade opens or adds to. All opens of one wallet on one instrument share one position ID. The format is `,_jsx(_components.code,{children:`pos-\u003cchainId>-\u003cwallet>-\u003cinstrument>`}),`, with lowercase addresses.`]}),`\n`,_jsxs(ResponseField,{name:`chainId`,type:`integer`,required:true,id:`param-chain-id`,children:[_jsx(_components.code,{children:`1`}),`.`]}),`\n`,_jsx(ResponseField,{name:`instrument`,type:`string`,required:true,id:`param-instrument-4`,children:`Option token address.`}),`\n`,_jsxs(ResponseField,{name:`side`,type:`string`,required:true,id:`param-side`,children:[_jsx(_components.code,{children:`sell`}),` for an open. `,_jsx(_components.code,{children:`buy`}),` for a close.`]}),`\n`,_jsx(ResponseField,{name:`amount`,type:`string`,required:true,id:`param-amount-1`,children:`OT amount, raw units.`}),`\n`,_jsxs(ResponseField,{name:`premium`,type:`string`,required:true,id:`param-premium`,children:[`Premium in raw quote token units. On an open, the amount that the wallet receives, after `,_jsx(_components.code,{children:`fee`}),`. On a close, the amount that the wallet pays, including `,_jsx(_components.code,{children:`fee`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`fee`,type:`string`,required:true,id:`param-fee`,children:[`Bebop fee in raw quote token units. `,_jsx(_components.code,{children:`premium`}),` already has the fee applied: deducted on an open, added on a close. The fee does not include gas.`]}),`\n`,_jsxs(ResponseField,{name:`expiry`,type:`integer`,required:true,id:`param-expiry`,children:[`Time after which the transaction fails. At most 60 seconds after the request, and at least 30 seconds before the instrument `,_jsx(_components.code,{children:`expiration`}),`.`]}),`\n`,_jsx(ResponseField,{name:`issues`,type:`string[] | null`,required:true,id:`param-issues`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`null`}),` when `,_jsx(_components.code,{children:`validate`}),` is `,_jsx(_components.code,{children:`false`}),`. Otherwise, a list of wallet problems, empty when the wallet is ready. The values are in `,_jsx(_components.a,{href:`#quote-issues`,children:`Quote issues`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`tx`,type:`object`,required:true,id:`param-tx`,children:[_jsxs(_components.p,{children:[`The settlement transaction. Send it from `,_jsx(_components.code,{children:`taker_address`}),` without changes.`]}),_jsxs(Expandable,{title:`tx fields`,children:[_jsx(ResponseField,{name:`to`,type:`string`,id:`param-to`,children:`Bebop settlement contract address.`}),_jsx(ResponseField,{name:`data`,type:`string`,id:`param-data`,children:`Calldata.`}),_jsxs(ResponseField,{name:`value`,type:`string`,id:`param-value`,children:[`Native value in wei. `,_jsx(_components.code,{children:`\"0\"`}),`.`]})]})]}),`\n`,_jsxs(ResponseField,{name:`iv`,type:`number | null`,required:true,id:`param-iv`,children:[`Implied volatility of the winning quote, as a decimal (`,_jsx(_components.code,{children:`0.55`}),` is 55%). Not a settlement term.`]}),`\n`,_jsx(ResponseField,{name:`delta`,type:`number | null`,required:true,id:`param-delta`,children:`Delta of the winning quote, from -1 to 1. Not a settlement term.`}),`\n`,_jsx(ResponseField,{name:`spotPrice`,type:`number | null`,required:true,id:`param-spot-price`,children:`Underlying spot price in USD that the maker used. Not a settlement term.`}),`\n`,_jsxs(ResponseField,{name:`display`,type:`object | null`,required:true,id:`param-display-1`,children:[_jsxs(_components.p,{children:[`Display values for a sell-to-open, per underlying unit. `,_jsx(_components.code,{children:`null`}),` on a close quote, and when no values are available. Not a settlement term.`]}),_jsxs(Expandable,{title:`display fields`,children:[_jsxs(ResponseField,{name:`isItm`,type:`boolean`,id:`param-is-itm`,children:[_jsx(_components.code,{children:`true`}),` when the option is in the money.`]}),_jsx(ResponseField,{name:`intrinsicUsd`,type:`number`,id:`param-intrinsic-usd`,children:`Intrinsic value in USD.`}),_jsx(ResponseField,{name:`grossTimeValueUsd`,type:`number`,id:`param-gross-time-value-usd`,children:`Premium minus intrinsic value, in USD, before the fee.`}),_jsx(ResponseField,{name:`feeUsd`,type:`number`,id:`param-fee-usd`,children:`Bebop fee in USD.`}),_jsx(ResponseField,{name:`netTimeValueUsd`,type:`number`,id:`param-net-time-value-usd`,children:`Time value after the fee, in USD.`}),_jsx(ResponseField,{name:`intrinsicShare`,type:`number`,id:`param-intrinsic-share`,children:`Share of the premium that is intrinsic value, from 0 to 1.`}),_jsx(ResponseField,{name:`yieldApr`,type:`number`,id:`param-yield-apr`,children:`Annualized net time value as a decimal. Can be negative.`}),_jsxs(ResponseField,{name:`shortfallUsd`,type:`number`,id:`param-shortfall-usd`,children:[`Amount in USD by which `,_jsx(_components.code,{children:`intrinsicUsd`}),` is more than the premium after the fee. `,_jsx(_components.code,{children:`0`}),` when `,_jsx(_components.code,{children:`netTimeValueUsd`}),` is not negative.`]}),_jsx(ResponseField,{name:`collateralUsd`,type:`number`,id:`param-collateral-usd`,children:`Collateral value in USD.`}),_jsx(ResponseField,{name:`effectivePriceUsd`,type:`number`,id:`param-effective-price-usd`,children:`Effective sale or purchase price of the underlying in USD, if the option is exercised.`}),_jsxs(ResponseField,{name:`riskLevel`,type:`string`,id:`param-risk-level`,children:[_jsx(_components.code,{children:`ok`}),`, `,_jsx(_components.code,{children:`caution`}),`, or `,_jsx(_components.code,{children:`critical`}),`.`]}),_jsxs(ResponseField,{name:`riskReason`,type:`string`,id:`param-risk-reason`,children:[_jsx(_components.code,{children:`otm`}),`, `,_jsx(_components.code,{children:`itm`}),`, `,_jsx(_components.code,{children:`mostly_intrinsic`}),`, or `,_jsx(_components.code,{children:`nonpositive_net_time_value`}),`.`]}),_jsxs(ResponseField,{name:`impliedItmProbability`,type:`number | null`,id:`param-implied-itm-probability-1`,children:[`Probability, from 0 to 1, that the option expires in the money at `,_jsx(_components.code,{children:`iv`}),`.`]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c9ee4c40-925f-4afb-99b5-d6190c6328a2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opt-PLACEHOLDER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"positionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pos-1-0xYOUR_WALLET-0xOPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chainId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xOPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sell\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000000000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"premium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"643000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1793300460`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"issues\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xPLACEHOLDER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"iv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.55`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"delta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.21`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"spotPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2350.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The example has placeholder IDs and calldata. It is not executable.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-a-close-quote`,children:`Request a close quote`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /positions/{positionId}/quote`}),`. A firm buy-to-close quote. Only the makers that filled the opens of the position quote the close.`]}),`\n`,_jsx(ParamField,{path:`positionId`,type:`string`,required:true,id:`param-position-id-1`,children:_jsx(_components.p,{children:`Position ID.`})}),`\n`,_jsx(ParamField,{query:`amount`,type:`string`,id:`param-amount-2`,children:_jsx(_components.p,{children:`OT amount to close, raw units. Omit it to close the full confirmed remainder.`})}),`\n`,_jsx(ParamField,{query:`validate`,type:`boolean`,default:`false`,id:`param-validate-1`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, Bebop also checks the USDC balance, the USDC allowance, and the permission, and returns the result in `,_jsx(_components.code,{children:`issues`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`A close quote counts only confirmed opens. Bebop confirms an open about 30 seconds after it is mined. While an open of the position is not confirmed, Bebop returns `,_jsx(_components.code,{children:`409`}),` `,_jsx(_components.code,{children:`PositionConfirming`}),` for a full close, and for an `,_jsx(_components.code,{children:`amount`}),` above the confirmed remainder. Bebop returns `,_jsx(_components.code,{children:`404`}),` `,_jsx(_components.code,{children:`PositionNotFound`}),` for a position that is fully closed.`]}),`\n`,_jsxs(_components.p,{children:[`Bebop always checks that the wallet holds at least `,_jsx(_components.code,{children:`amount`}),` of RT. A partial close `,_jsx(_components.code,{children:`amount`}),` must be at or above the minimum amount. The remainder must also be at or above the minimum, unless `,_jsx(_components.code,{children:`amount`}),` is the full RT balance of the wallet. The response has the same fields as `,_jsx(_components.a,{href:`#request-an-open-quote`,children:`Request an open quote`}),`, with `,_jsx(_components.code,{children:`side`}),` `,_jsx(_components.code,{children:`buy`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-a-roll-quote`,children:`Request a roll quote`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /positions/{positionId}/roll`}),`. A firm quote that closes the full position and opens `,_jsx(_components.code,{children:`instrument`}),` in one transaction.`]}),`\n`,_jsx(ParamField,{path:`positionId`,type:`string`,required:true,id:`param-position-id-2`,children:_jsx(_components.p,{children:`Position ID.`})}),`\n`,_jsx(ParamField,{query:`instrument`,type:`string`,required:true,id:`param-instrument-5`,children:_jsx(_components.p,{children:`Option token address of the new instrument. It must have the same underlying, option type, collateral, quote token, and Greek Factory as the position, and it must be a different instrument.`})}),`\n`,_jsx(ParamField,{query:`validate`,type:`boolean`,default:`false`,id:`param-validate-2`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, Bebop also checks the wallet and returns the result in `,_jsx(_components.code,{children:`issues`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`For a call, the new OT amount is the closed amount. For a put, it is the closed amount times the new `,_jsx(_components.code,{children:`strike`}),` divided by the old `,_jsx(_components.code,{children:`strike`}),`, rounded down. The new amount must be at or above the `,_jsx(_components.a,{href:`#limits`,children:`minimum open`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`While an open of the position is not confirmed, Bebop returns `,_jsx(_components.code,{children:`409`}),` `,_jsx(_components.code,{children:`PositionConfirming`}),`. Bebop opens instruments only on the current Greek Factory, so a position on a retired Greek Factory cannot roll.`]}),`\n`,_jsx(ResponseField,{name:`requestId`,type:`string`,required:true,id:`param-request-id-1`,children:`Request ID.`}),`\n`,_jsxs(ResponseField,{name:`rollId`,type:`string`,required:true,id:`param-roll-id`,children:[`Roll ID. The two trades of the roll have this value as `,_jsx(_components.code,{children:`rollId`}),` in `,_jsx(_components.a,{href:`#list-position-transactions`,children:`List position transactions`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`chainId`,type:`integer`,required:true,id:`param-chain-id-1`,children:[_jsx(_components.code,{children:`1`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`close`,type:`object`,required:true,id:`param-close`,children:[_jsx(_components.p,{children:`The close leg.`}),_jsxs(Expandable,{title:`leg fields`,children:[_jsx(ResponseField,{name:`quoteId`,type:`string`,id:`param-quote-id-1`,children:`Quote ID of the leg.`}),_jsx(ResponseField,{name:`positionId`,type:`string`,id:`param-position-id-3`,children:`Position ID of the leg.`}),_jsx(ResponseField,{name:`instrument`,type:`string`,id:`param-instrument-6`,children:`Option token address.`}),_jsxs(ResponseField,{name:`side`,type:`string`,id:`param-side-1`,children:[_jsx(_components.code,{children:`buy`}),` on the close leg, `,_jsx(_components.code,{children:`sell`}),` on the open leg.`]}),_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount-3`,children:`OT amount, raw units.`}),_jsx(ResponseField,{name:`premium`,type:`string`,id:`param-premium-1`,children:`Premium in raw quote token units: paid on the close leg, received on the open leg.`}),_jsx(ResponseField,{name:`fee`,type:`string`,id:`param-fee-1`,children:`Bebop fee of the leg, raw quote token units.`}),_jsx(ResponseField,{name:`iv`,type:`number | null`,id:`param-iv-1`,children:`Implied volatility of the leg. Not a settlement term.`})]})]}),`\n`,_jsxs(ResponseField,{name:`open`,type:`object`,required:true,id:`param-open`,children:[`The open leg. Same fields as `,_jsx(_components.code,{children:`close`}),`.`]}),`\n`,_jsx(ResponseField,{name:`netPremium`,type:`string`,required:true,id:`param-net-premium`,children:`Open premium received minus close premium paid, raw quote token units. Negative when the wallet pays.`}),`\n`,_jsxs(ResponseField,{name:`collateralDelta`,type:`string`,required:true,id:`param-collateral-delta`,children:[`New collateral locked minus collateral released, raw collateral units. Negative when collateral is released. `,_jsx(_components.code,{children:`\"0\"`}),` for a call.`]}),`\n`,_jsx(ResponseField,{name:`fee`,type:`string`,required:true,id:`param-fee-2`,children:`Bebop fee of the roll, raw quote token units. Only the open leg has a fee.`}),`\n`,_jsxs(ResponseField,{name:`expiry`,type:`integer`,required:true,id:`param-expiry-1`,children:[`Time after which the transaction fails. At least 30 seconds before the `,_jsx(_components.code,{children:`expiration`}),` of both instruments.`]}),`\n`,_jsx(ResponseField,{name:`issues`,type:`string[] | null`,required:true,id:`param-issues-1`,children:`Same as on an open quote.`}),`\n`,_jsx(ResponseField,{name:`tx`,type:`object`,required:true,id:`param-tx-1`,children:`The settlement transaction. Same fields as on an open quote.`}),`\n`,_jsx(ResponseField,{name:`display`,type:`object | null`,required:true,id:`param-display-2`,children:`Display values of the open leg. Same fields as on an open quote.`}),`\n`,_jsx(ResponseField,{name:`assignmentRisk`,type:`object`,required:true,id:`param-assignment-risk`,children:_jsxs(Expandable,{title:`assignmentRisk fields`,children:[_jsxs(ResponseField,{name:`old`,type:`number | null`,id:`param-old`,children:[`Model probability, from 0 to 1, that the closed instrument expires in the money. `,_jsx(_components.code,{children:`null`}),` when it is not available. Not a settlement term.`]}),_jsxs(ResponseField,{name:`new`,type:`number | null`,id:`param-new`,children:[`Model probability, from 0 to 1, that the opened instrument expires in the money. `,_jsx(_components.code,{children:`null`}),` when it is not available. Not a settlement term.`]})]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`37`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`37`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c9ee4c40-925f-4afb-99b5-d6190c6328a2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rollId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opt-PLACEHOLDER_CLOSE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chainId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"close\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opt-PLACEHOLDER_CLOSE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"positionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pos-1-0xYOUR_WALLET-0xOLD_OPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xOLD_OPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"buy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000000000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"premium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"120000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"iv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.52`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opt-PLACEHOLDER_OPEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"positionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pos-1-0xYOUR_WALLET-0xNEW_OPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xNEW_OPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sell\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000000000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"premium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"910000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"iv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.56`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"netPremium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"790000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collateralDelta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1793300460`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"issues\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xPLACEHOLDER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assignmentRisk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"old\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.04`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"new\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.18`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The example has placeholder IDs and calldata. It is not executable.`}),`\n`,_jsx(Heading,{level:`2`,id:`list-positions`,children:`List positions`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /positions`}),`. The positions of your API key, newest first.`]}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`50`,id:`param-limit-1`,children:_jsx(_components.p,{children:`Page size, 1 to 200.`})}),`\n`,_jsx(ParamField,{query:`cursor`,type:`string`,id:`param-cursor-1`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`nextCursor`}),` of the previous page.`]})}),`\n`,_jsx(ResponseField,{name:`positions`,type:`object[]`,required:true,id:`param-positions`,children:_jsxs(Expandable,{title:`position fields`,children:[_jsx(ResponseField,{name:`positionId`,type:`string`,id:`param-position-id-4`,children:`Position ID.`}),_jsx(ResponseField,{name:`openingQuoteId`,type:`string`,id:`param-opening-quote-id`,children:`Quote ID of the first open.`}),_jsxs(ResponseField,{name:`chainId`,type:`integer`,id:`param-chain-id-2`,children:[_jsx(_components.code,{children:`1`}),`.`]}),_jsxs(ResponseField,{name:`instrument`,type:`string`,id:`param-instrument-7`,children:[`Option token address. To get the instrument details, call `,_jsx(_components.code,{children:`GET /instruments?instrument=\u003caddress>`}),`.`]}),_jsx(ResponseField,{name:`takerAddress`,type:`string`,id:`param-taker-address-1`,children:`Wallet of the position.`}),_jsx(ResponseField,{name:`openedAmount`,type:`string`,id:`param-opened-amount`,children:`Total OT amount opened, raw units.`}),_jsx(ResponseField,{name:`closedAmount`,type:`string`,id:`param-closed-amount`,children:`Total OT amount closed through Bebop, raw units.`}),_jsxs(ResponseField,{name:`remainingAmount`,type:`string`,id:`param-remaining-amount`,children:[_jsx(_components.code,{children:`openedAmount`}),` minus `,_jsx(_components.code,{children:`closedAmount`}),`. It does not change when RT moves outside Bebop.`]}),_jsx(ResponseField,{name:`premiumReceived`,type:`string`,id:`param-premium-received`,children:`Total premium received on opens, raw quote token units.`}),_jsx(ResponseField,{name:`premiumPaid`,type:`string`,id:`param-premium-paid`,children:`Total premium paid on closes, raw quote token units.`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:[`See `,_jsx(_components.a,{href:`#position-status`,children:`Position status`}),`.`]}),_jsx(ResponseField,{name:`openingTransactionHash`,type:`string`,id:`param-opening-transaction-hash`,children:`Transaction hash of the first open.`}),_jsx(ResponseField,{name:`openedAt`,type:`integer`,id:`param-opened-at`,children:`Time of the first open.`}),_jsx(ResponseField,{name:`updatedAt`,type:`integer`,id:`param-updated-at`,children:`Time of the last trade.`}),_jsxs(ResponseField,{name:`rtBalance`,type:`string | null`,id:`param-rt-balance`,children:[`Current RT balance of the wallet, raw units. `,_jsx(_components.code,{children:`null`}),` when the balance read fails. `,_jsx(_components.code,{children:`null`}),` does not mean zero.`]}),_jsxs(ResponseField,{name:`phase`,type:`string`,id:`param-phase`,children:[_jsx(_components.code,{children:`pre_expiry`}),` before `,_jsx(_components.code,{children:`expiration`}),`. `,_jsx(_components.code,{children:`exercise_window`}),` from `,_jsx(_components.code,{children:`expiration`}),` to `,_jsx(_components.code,{children:`exerciseDeadline`}),`, inclusive. `,_jsx(_components.code,{children:`post_deadline`}),` after `,_jsx(_components.code,{children:`exerciseDeadline`}),`.`]}),_jsxs(ResponseField,{name:`redeemable`,type:`object | null`,id:`param-redeemable`,children:[_jsxs(_components.p,{children:[`The payout that the wallet can redeem now. `,_jsx(_components.code,{children:`null`}),` when there is no positive payout, or when the balance read fails.`]}),_jsxs(Expandable,{title:`redeemable fields`,children:[_jsx(ResponseField,{name:`rtBalance`,type:`string`,id:`param-rt-balance-1`,children:`RT balance of the wallet, raw units.`}),_jsx(ResponseField,{name:`consBacked`,type:`string`,id:`param-cons-backed`,children:`RT amount, for all RT holders of the instrument, that the exercise payments in the receipt contract cover. Raw RT units, not settlement token units.`}),_jsx(ResponseField,{name:`feeBps`,type:`integer`,id:`param-fee-bps`,children:`Redemption fee of the instrument, in basis points. The payouts below are after this fee.`}),_jsx(ResponseField,{name:`considerationNow`,type:`string`,id:`param-consideration-now`,children:`Estimated exercise payment that the wallet can redeem now, raw settlement token units. An upper bound: other RT holders redeem from the same pool.`}),_jsxs(ResponseField,{name:`collateralAfterDeadline`,type:`string | null`,id:`param-collateral-after-deadline`,children:[`Estimated collateral payout after `,_jsx(_components.code,{children:`exerciseDeadline`}),`, raw collateral units. `,_jsx(_components.code,{children:`null`}),` before the deadline.`]}),_jsxs(ResponseField,{name:`redeemedConsideration`,type:`string`,id:`param-redeemed-consideration`,children:[`Same as `,_jsx(_components.code,{children:`redemption.redeemedConsideration`}),`.`]}),_jsxs(ResponseField,{name:`redeemedCollateral`,type:`string`,id:`param-redeemed-collateral`,children:[`Same as `,_jsx(_components.code,{children:`redemption.redeemedCollateral`}),`.`]})]})]}),_jsxs(ResponseField,{name:`redemption`,type:`object`,id:`param-redemption`,children:[_jsxs(_components.p,{children:[`Totals that the wallet redeemed for this instrument. `,_jsx(_components.code,{children:`\"0\"`}),` when there are none.`]}),_jsxs(Expandable,{title:`redemption fields`,children:[_jsx(ResponseField,{name:`redeemedConsideration`,type:`string`,id:`param-redeemed-consideration-1`,children:`Exercise payment redeemed, raw settlement token units.`}),_jsx(ResponseField,{name:`redeemedCollateral`,type:`string`,id:`param-redeemed-collateral-1`,children:`Collateral redeemed, raw collateral units.`})]})]}),_jsxs(ResponseField,{name:`expiryMoneyness`,type:`object`,id:`param-expiry-moneyness`,children:[_jsx(_components.p,{children:`The expiry price compared with the strike. It does not show if an exercise occurred.`}),_jsxs(Expandable,{title:`expiryMoneyness fields`,children:[_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-2`,children:[_jsx(_components.code,{children:`pending`}),` before expiry. `,_jsx(_components.code,{children:`known`}),` when Bebop has an expiry price. `,_jsx(_components.code,{children:`unavailable`}),` when it does not.`]}),_jsxs(ResponseField,{name:`value`,type:`string | null`,id:`param-value-1`,children:[_jsx(_components.code,{children:`itm`}),` or `,_jsx(_components.code,{children:`otm`}),` when `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`known`}),`. A price equal to the strike is `,_jsx(_components.code,{children:`otm`}),`. Otherwise `,_jsx(_components.code,{children:`null`}),`.`]}),_jsxs(ResponseField,{name:`referencePriceUsdc`,type:`string | null`,id:`param-reference-price-usdc`,children:[`Expiry price of the underlying in USDC, as a decimal string. `,_jsx(_components.code,{children:`null`}),` unless `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`known`}),`.`]})]})]}),_jsxs(ResponseField,{name:`pnl`,type:`object`,id:`param-pnl`,children:[_jsxs(_components.p,{children:[`Profit and loss (PnL) of the position, in two views. Amounts are decimal strings in `,_jsx(_components.code,{children:`currency`}),`, not raw units. A value is `,_jsx(_components.code,{children:`null`}),` when Bebop cannot calculate it. `,_jsx(_components.code,{children:`unavailableReasons`}),` gives the reasons.`]}),_jsxs(Expandable,{title:`pnl fields`,children:[_jsxs(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:[`Symbol of the quote token: `,_jsx(_components.code,{children:`USDC`}),`.`]}),_jsxs(ResponseField,{name:`cashflow`,type:`object`,id:`param-cashflow`,children:[_jsx(_components.p,{children:`PnL against the underlying price at the time of each open. For a call, it includes the price change of the locked collateral.`}),_jsxs(Expandable,{title:`view fields`,children:[_jsxs(ResponseField,{name:`realized`,type:`string | null`,id:`param-realized`,children:[`Realized PnL: `,_jsx(_components.code,{children:`optionRealized`}),` plus `,_jsx(_components.code,{children:`collateralRealized`}),`.`]}),_jsxs(ResponseField,{name:`unrealized`,type:`string | null`,id:`param-unrealized`,children:[`Unrealized PnL: `,_jsx(_components.code,{children:`optionUnrealized`}),` plus `,_jsx(_components.code,{children:`collateralUnrealized`}),`.`]}),_jsxs(ResponseField,{name:`total`,type:`string | null`,id:`param-total`,children:[_jsx(_components.code,{children:`realized`}),` plus `,_jsx(_components.code,{children:`unrealized`}),`.`]}),_jsx(ResponseField,{name:`optionRealized`,type:`string | null`,id:`param-option-realized`,children:`Premium received minus premium paid, for the amount that is closed, exercised, or expired.`}),_jsx(ResponseField,{name:`optionUnrealized`,type:`string | null`,id:`param-option-unrealized`,children:`Premium received for the open amount minus the current mark value of that amount.`}),_jsxs(ResponseField,{name:`collateralRealized`,type:`string | null`,id:`param-collateral-realized`,children:[`Realized PnL of the collateral. In `,_jsx(_components.code,{children:`cashflow`}),`, for a redeemed call that was exercised: the exercise payment minus the value of the exercised collateral at the open. In `,_jsx(_components.code,{children:`yield`}),`, after an exercise: the amount by which the expiry price passed the strike, as zero or a negative value.`]}),_jsxs(ResponseField,{name:`collateralUnrealized`,type:`string | null`,id:`param-collateral-unrealized`,children:[`Unrealized PnL of the collateral. In `,_jsx(_components.code,{children:`cashflow`}),`, for a call: the current value of the locked collateral minus its value at the open. In `,_jsx(_components.code,{children:`yield`}),`: `,_jsx(_components.code,{children:`\"0\"`}),`.`]}),_jsxs(ResponseField,{name:`realizedPercent`,type:`string | null`,id:`param-realized-percent`,children:[_jsx(_components.code,{children:`realized`}),` divided by the total collateral value committed by all opens. `,_jsx(_components.code,{children:`0.1`}),` is 10%.`]}),_jsxs(ResponseField,{name:`unrealizedPercent`,type:`string | null`,id:`param-unrealized-percent`,children:[_jsx(_components.code,{children:`unrealized`}),` divided by the same value.`]}),_jsxs(ResponseField,{name:`totalPercent`,type:`string | null`,id:`param-total-percent`,children:[_jsx(_components.code,{children:`total`}),` divided by the same value.`]}),_jsxs(ResponseField,{name:`unavailableReasons`,type:`string[]`,id:`param-unavailable-reasons`,children:[`Zero or more of `,_jsx(_components.code,{children:`missing_lock_price`}),`, `,_jsx(_components.code,{children:`mark_unavailable`}),`, `,_jsx(_components.code,{children:`expiry_window`}),`, `,_jsx(_components.code,{children:`current_collateral_price_unavailable`}),`, `,_jsx(_components.code,{children:`assignment_pending_redemption`}),`, `,_jsx(_components.code,{children:`expiry_price_unavailable`}),`, `,_jsx(_components.code,{children:`inconsistent_history`}),`.`]})]})]}),_jsxs(ResponseField,{name:`yield`,type:`object`,id:`param-yield`,children:[`PnL against holding the collateral with no option. A price change of the collateral does not count. Same fields as `,_jsx(_components.code,{children:`cashflow`}),`.`]})]})]})]})}),`\n`,_jsxs(ResponseField,{name:`total`,type:`object`,required:true,id:`param-total-1`,children:[_jsx(_components.p,{children:`PnL of all positions of the API key, on all pages and in all statuses.`}),_jsxs(Expandable,{title:`total fields`,children:[_jsxs(ResponseField,{name:`currency`,type:`string`,id:`param-currency-1`,children:[_jsx(_components.code,{children:`USDC`}),`.`]}),_jsxs(ResponseField,{name:`since`,type:`integer | null`,id:`param-since`,children:[`Time of the first open. `,_jsx(_components.code,{children:`null`}),` when there are no positions.`]}),_jsx(ResponseField,{name:`asOf`,type:`integer`,id:`param-as-of`,children:`Time of the calculation.`}),_jsxs(ResponseField,{name:`committedCapital`,type:`string | null`,id:`param-committed-capital`,children:[`Total collateral value committed by all opens, in `,_jsx(_components.code,{children:`currency`}),`. For a call, the underlying amount at its price at the open. For a put, the USDC amount. `,_jsx(_components.code,{children:`null`}),` when the price at an open is not available.`]}),_jsxs(ResponseField,{name:`cashflow`,type:`object`,id:`param-cashflow-1`,children:[_jsxs(_components.p,{children:[`Sums of the `,_jsx(_components.code,{children:`pnl.cashflow`}),` values of the positions.`]}),_jsxs(Expandable,{title:`view fields`,children:[_jsxs(ResponseField,{name:`realized`,type:`string`,id:`param-realized-1`,children:[`Sum of the known `,_jsx(_components.code,{children:`realized`}),` values.`]}),_jsxs(ResponseField,{name:`unrealized`,type:`string`,id:`param-unrealized-1`,children:[`Sum of the known `,_jsx(_components.code,{children:`unrealized`}),` values.`]}),_jsxs(ResponseField,{name:`total`,type:`string`,id:`param-total-2`,children:[_jsx(_components.code,{children:`realized`}),` plus `,_jsx(_components.code,{children:`unrealized`}),`.`]}),_jsxs(ResponseField,{name:`realizedPercent`,type:`string | null`,id:`param-realized-percent-1`,children:[_jsx(_components.code,{children:`realized`}),` divided by `,_jsx(_components.code,{children:`committedCapital`}),`. `,_jsx(_components.code,{children:`null`}),` when `,_jsx(_components.code,{children:`committedCapital`}),` is `,_jsx(_components.code,{children:`null`}),` or zero.`]}),_jsxs(ResponseField,{name:`unrealizedPercent`,type:`string | null`,id:`param-unrealized-percent-1`,children:[_jsx(_components.code,{children:`unrealized`}),` divided by `,_jsx(_components.code,{children:`committedCapital`}),`.`]}),_jsxs(ResponseField,{name:`totalPercent`,type:`string | null`,id:`param-total-percent-1`,children:[_jsx(_components.code,{children:`total`}),` divided by `,_jsx(_components.code,{children:`committedCapital`}),`.`]}),_jsxs(ResponseField,{name:`unavailableReasons`,type:`string[]`,id:`param-unavailable-reasons-1`,children:[`Reasons why the sums are incomplete. Same values as in `,_jsx(_components.code,{children:`pnl`}),`.`]})]})]}),_jsxs(ResponseField,{name:`yield`,type:`object`,id:`param-yield-1`,children:[`Sums of the `,_jsx(_components.code,{children:`pnl.yield`}),` values of the positions. Same fields as `,_jsx(_components.code,{children:`cashflow`}),`.`]})]})]}),`\n`,_jsx(ResponseField,{name:`nextCursor`,type:`string | null`,required:true,id:`param-next-cursor-1`,children:_jsxs(_components.p,{children:[`Cursor for the next page, or `,_jsx(_components.code,{children:`null`}),` on the last page.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`79`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`79`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"positions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"positionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pos-1-0xYOUR_WALLET-0xOPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openingQuoteId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opt-PLACEHOLDER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chainId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instrument\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xOPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"takerAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xYOUR_WALLET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openedAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000000000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"closedAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"remainingAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000000000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"premiumReceived\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"643000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"premiumPaid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openingTransactionHash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xTRANSACTION_HASH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1793300420`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1793300420`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rtBalance\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000000000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"redeemable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pre_expiry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"redemption\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"redeemedConsideration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"redeemedCollateral\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiryMoneyness\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"referencePriceUsdc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pnl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cashflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"realized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unrealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.352000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.352000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optionRealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optionUnrealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.102000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collateralRealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collateralUnrealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.250000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"realizedPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unrealizedPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01497872\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01497872\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unavailableReasons\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"yield\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"realized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unrealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.102000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.102000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optionRealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optionUnrealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.102000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collateralRealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"collateralUnrealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"realizedPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unrealizedPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00434043\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00434043\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unavailableReasons\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"since\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1793300420`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asOf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1793304000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"committedCapital\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"23.500000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cashflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"realized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unrealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.352000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.352000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"realizedPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unrealizedPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01497872\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01497872\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unavailableReasons\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"yield\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"realized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unrealized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.102000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.102000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"realizedPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unrealizedPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00434043\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.00434043\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unavailableReasons\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextCursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`position-status`,children:`Position status`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`open`})}),_jsxs(_components.td,{children:[`Before expiry, with a remainder. A partial close stays `,_jsx(_components.code,{children:`open`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`closed`})}),_jsx(_components.td,{children:`The full position was closed through Bebop.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expired_pending_exercise`})}),_jsxs(_components.td,{children:[`After `,_jsx(_components.code,{children:`expiration`}),`, in the exercise window, with no exercise yet.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`exercised`})}),_jsxs(_components.td,{children:[`Bebop indexed at least one exercise of the instrument. Check `,_jsx(_components.code,{children:`redeemable`}),` for a payout.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expired_unexercised`})}),_jsxs(_components.td,{children:[`The exercise window closed with no exercise. Check `,_jsx(_components.code,{children:`redeemable`}),` for a payout.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`redeemed`})}),_jsx(_components.td,{children:`The wallet redeemed, and its RT balance is zero.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A status is not final. For example, RT that the wallet receives later can change a `,_jsx(_components.code,{children:`redeemed`}),` position.`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-a-position`,children:`Get a position`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /positions/{positionId}`}),`. One position. The response is one object of `,_jsx(_components.code,{children:`positions`}),` in `,_jsx(_components.a,{href:`#list-positions`,children:`List positions`}),`. A position that does not exist for the API key returns `,_jsx(_components.code,{children:`404`}),` `,_jsx(_components.code,{children:`NotFound`}),`.`]}),`\n`,_jsx(ParamField,{path:`positionId`,type:`string`,required:true,id:`param-position-id-5`,children:_jsx(_components.p,{children:`Position ID.`})}),`\n`,_jsx(Heading,{level:`2`,id:`list-position-transactions`,children:`List position transactions`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /positions/{positionId}/transactions`}),`. The Bebop trades of one position, oldest first. Redemptions and exercises are not included.`]}),`\n`,_jsx(ParamField,{path:`positionId`,type:`string`,required:true,id:`param-position-id-6`,children:_jsx(_components.p,{children:`Position ID.`})}),`\n`,_jsx(ResponseField,{name:`positionId`,type:`string`,required:true,id:`param-position-id-7`,children:`Position ID.`}),`\n`,_jsx(ResponseField,{name:`transactions`,type:`object[]`,required:true,id:`param-transactions`,children:_jsxs(Expandable,{title:`transaction fields`,children:[_jsxs(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:[_jsx(_components.code,{children:`sell_to_open`}),` or `,_jsx(_components.code,{children:`buy_to_close`}),`.`]}),_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount-4`,children:`Filled OT amount, raw units.`}),_jsx(ResponseField,{name:`premium`,type:`string`,id:`param-premium-2`,children:`Premium in raw quote token units. On an open, the amount received, after the fee. On a close, the amount paid, including the fee.`}),_jsx(ResponseField,{name:`txHash`,type:`string`,id:`param-tx-hash`,children:`Transaction hash.`}),_jsx(ResponseField,{name:`timestamp`,type:`integer`,id:`param-timestamp`,children:`Block time.`}),_jsxs(ResponseField,{name:`rollId`,type:`string | null`,id:`param-roll-id-1`,children:[`Roll ID, the same on the close and the open of one roll. `,_jsx(_components.code,{children:`null`}),` for a plain open or close.`]})]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"positionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pos-1-0xYOUR_WALLET-0xOPTION_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transactions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sell_to_open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000000000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"premium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"643000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"txHash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xTRANSACTION_HASH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1793300420`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rollId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`amounts`,children:`Amounts`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`amount`}),` and the OT and RT balances are in raw collateral units. OT and RT have the decimals of the collateral.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Collateral`}),_jsxs(_components.th,{children:[`Unit of `,_jsx(_components.code,{children:`amount`})]}),_jsx(_components.th,{children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`WETH call`}),_jsx(_components.td,{children:`WETH`}),_jsx(_components.td,{children:`WETH, 18 decimals`}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`0.01 WETH is `,_jsx(_components.code,{children:`10000000000000000`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`cbBTC call`}),_jsx(_components.td,{children:`cbBTC`}),_jsx(_components.td,{children:`cbBTC, 8 decimals`}),_jsxs(_components.td,{children:[`0.001 cbBTC is `,_jsx(_components.code,{children:`100000`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Put`}),_jsx(_components.td,{children:`USDC`}),_jsx(_components.td,{children:`USDC, 6 decimals`}),_jsxs(_components.td,{children:[`0.01 WETH at a 2,500 strike is 25 USDC: `,_jsx(_components.code,{children:`25000000`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`For a put, multiply the underlying amount by `,_jsx(_components.code,{children:`strike`}),` to get the USDC amount. Round the collateral up. Premiums and fees are in raw USDC units (6 decimals).`]}),`\n`,_jsx(Heading,{level:`2`,id:`limits`,children:`Limits`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Limit`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Minimum open, WETH call`}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`0.001 WETH (`,_jsx(_components.code,{children:`1000000000000000`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Minimum open, cbBTC call`}),_jsxs(_components.td,{children:[`0.00003 cbBTC (`,_jsx(_components.code,{children:`3000`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Minimum open, put`}),_jsxs(_components.td,{children:[`1 USDC (`,_jsx(_components.code,{children:`1000000`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Minimum partial close`}),_jsxs(_components.td,{children:[`The same as the minimum open, for the `,_jsx(_components.code,{children:`amount`}),` and for the remainder. The remainder rule does not apply when `,_jsx(_components.code,{children:`amount`}),` is the full RT balance of the wallet. A full close has no minimum.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Maximum open`}),_jsxs(_components.td,{children:[`When every eligible maker declared a smaller size, Bebop returns `,_jsx(_components.code,{children:`MaxSize`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quote validity`}),_jsxs(_components.td,{children:[`Until `,_jsx(_components.code,{children:`expiry`}),`: at most 60 seconds.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Last open, close, or roll`}),_jsxs(_components.td,{children:[`30 seconds before `,_jsx(_components.code,{children:`expiration`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`First full close or roll after an open`}),_jsxs(_components.td,{children:[`When the open is confirmed, about 30 seconds after it is mined. Before that, Bebop returns `,_jsx(_components.code,{children:`PositionConfirming`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /instruments`}),`, `,_jsx(_components.code,{children:`GET /assets/{underlying}/summary`}),`, `,_jsx(_components.code,{children:`GET /status`})]}),_jsx(_components.td,{children:`120 requests in 4 seconds for each IP address, for each endpoint.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /quote`})}),_jsxs(_components.td,{children:[`20 requests in 3 seconds for each API key and for each IP address. With `,_jsx(_components.code,{children:`validate=true`}),`: 10 requests in 10 seconds.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Close and roll quotes`}),_jsx(_components.td,{children:`10 requests in 10 seconds for each API key and for each IP address.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Position endpoints`}),_jsx(_components.td,{children:`120 requests in 4 seconds for each API key and for each IP address.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A request over a rate limit gets `,_jsx(_components.code,{children:`429`}),` with `,_jsx(_components.code,{children:`Retry-After`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`approvals`,children:`Approvals`}),`\n`,_jsxs(_components.p,{children:[`The taker wallet needs ERC-20 allowances and a Greek Factory permission for the Bebop settlement contract. The permission is a bit mask. Grant it with `,_jsx(_components.code,{children:`addPermissions(settlement, mask)`}),` on the Greek Factory of the instrument.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Trade`}),_jsx(_components.th,{children:`Allowance`}),_jsx(_components.th,{children:`Greek Factory mask`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Open`}),_jsxs(_components.td,{children:[`Collateral to the Greek Factory, at least `,_jsx(_components.code,{children:`amount`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`3`}),` (`,_jsx(_components.code,{children:`TRANSFER | MINT`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Close`}),_jsxs(_components.td,{children:[`USDC to the settlement contract, at least `,_jsx(_components.code,{children:`premium`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`4`}),` (`,_jsx(_components.code,{children:`BURN`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Roll`}),_jsxs(_components.td,{children:[`Collateral to the Greek Factory, at least `,_jsx(_components.code,{children:`open.amount`}),`. USDC to the settlement contract, at least `,_jsx(_components.code,{children:`close.premium`}),`.`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`7`}),` (`,_jsx(_components.code,{children:`TRANSFER | MINT | BURN`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Redeem`}),_jsx(_components.td,{children:`None`}),_jsx(_components.td,{children:`None`})]})]})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Bit`}),_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Lets the settlement contract`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TRANSFER`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1`}),_jsx(_components.td,{children:`Transfer the wallet’s OT.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`MINT`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2`}),_jsx(_components.td,{children:`Mint OT and RT against the wallet’s collateral.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BURN`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`4`}),_jsx(_components.td,{children:`Burn matched OT and RT and return the collateral to the wallet.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`addPermissions`}),` adds bits to the current mask. `,_jsx(_components.code,{children:`setPermissions(operator, mask)`}),` replaces the complete mask. To remove all permissions, call `,_jsx(_components.code,{children:`setPermissions(settlement, 0)`}),`. The wallet never approves OT or RT.`]}),`\n`,_jsx(Heading,{level:`2`,id:`contracts`,children:`Contracts`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Contract`}),_jsx(_components.th,{children:`Address`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bebop settlement`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0xbbbbbBB520d69a9775E85b458C58c648259FAD5F`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Greek Factory, current`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0x9999999999906A9a5B3CFB1151Ac6812B3042191`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Greek Factory, retired`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0x9999999999995aa18A8944e311ce792a9b90A8b1`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`WETH`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`cbBTC`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`USDC`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`factory`}),` field of an instrument gives its Greek Factory. Bebop opens and rolls positions only on the current Greek Factory. A position on the retired Greek Factory can be closed and redeemed. Its permissions and allowance are on the retired contract.`]}),`\n`,_jsx(Heading,{level:`2`,id:`quote-issues`,children:`Quote issues`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`missing_factory_permissions`})}),_jsx(_components.td,{children:`The settlement contract does not have the mask for this trade.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_collateral_balance`})}),_jsx(_components.td,{children:`The wallet holds less collateral than the trade locks.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_collateral_allowance`})}),_jsx(_components.td,{children:`The collateral allowance to the Greek Factory is too low.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_premium_balance`})}),_jsx(_components.td,{children:`The wallet holds less USDC than the close premium.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_premium_allowance`})}),_jsx(_components.td,{children:`The USDC allowance to the settlement contract is too low.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The values `,_jsx(_components.code,{children:`missing_auto_mint_burn`}),`, `,_jsx(_components.code,{children:`insufficient_factory_allowance`}),`, `,_jsx(_components.code,{children:`missing_operator_approval`}),`, and `,_jsx(_components.code,{children:`insufficient_receipt_balance`}),` are reserved. Bebop does not return them on Ethereum.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsx(_components.p,{children:`An error response has this shape:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c9ee4c40-925f-4afb-99b5-d6190c6328a2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MinNotional\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opening amount must be at least 1000000000000000 raw collateral units\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`400`}),`, `,_jsx(_components.code,{children:`422`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`InvalidRequest`})}),_jsxs(_components.td,{children:[`A parameter is missing or has a wrong format, or `,_jsx(_components.code,{children:`positionId`}),` has a wrong format.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`InvalidAmount`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`amount`}),` is not a positive integer.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`InvalidAddress`})}),_jsx(_components.td,{children:`An address is not valid.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`MinNotional`})}),_jsx(_components.td,{children:`The amount, or the remainder after a partial close, is below the minimum.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`MaxSize`})}),_jsx(_components.td,{children:`The open is larger than the size that every eligible maker declared.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`400`}),`, `,_jsx(_components.code,{children:`409`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`InstrumentExpired`})}),_jsx(_components.td,{children:`The instrument expires in less than 30 seconds.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`InvalidRoll`})}),_jsx(_components.td,{children:`The roll instrument is the instrument of the position, or it has a different underlying, option type, collateral, quote token, or Greek Factory.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TakerIsMaker`})}),_jsx(_components.td,{children:`The only valid quote is from the taker wallet.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UnsupportedUnderlying`}),`, `,_jsx(_components.code,{children:`UnsupportedPremiumToken`}),`, `,_jsx(_components.code,{children:`UnsupportedCollateral`})]}),_jsx(_components.td,{children:`Bebop does not quote the tokens of the instrument.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Unauthorized`})}),_jsx(_components.td,{children:`The API key is missing or not valid.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Forbidden`})}),_jsx(_components.td,{children:`The API key has no options taker access.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UnknownInstrument`})}),_jsx(_components.td,{children:`Bebop does not know the instrument.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NotFound`})}),_jsx(_components.td,{children:`The position does not exist for this API key, or Bebop did not index its first open yet.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PositionNotFound`})}),_jsx(_components.td,{children:`On a close or roll quote: the position is fully closed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PositionConfirming`})}),_jsx(_components.td,{children:`On a close or roll quote: an open of the position is not confirmed yet. Try again after some seconds.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`InactiveInstrument`})}),_jsx(_components.td,{children:`Bebop does not quote the instrument now.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UnsupportedFactory`})}),_jsx(_components.td,{children:`On an open or roll quote: the instrument is not from the current Greek Factory.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ExistingOptionBalance`})}),_jsx(_components.td,{children:`The wallet holds OT of the instrument that it opens.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`InsufficientReceiptBalance`})}),_jsx(_components.td,{children:`The wallet holds less RT than the close amount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`InsufficientPositionAmount`})}),_jsx(_components.td,{children:`The close amount is more than the confirmed remainder, or the position changed during the quote.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CloseQuoteInvalidated`})}),_jsx(_components.td,{children:`The position changed while Bebop created the close or roll quote. Request a new quote.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`RateLimited`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for `,_jsx(_components.code,{children:`Retry-After`}),` seconds.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`NoOptionsMakers`}),`, `,_jsx(_components.code,{children:`OptionsMakersExcluded`})]}),_jsx(_components.td,{children:`No maker that can quote this request is connected.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NoValidMakerQuote`})}),_jsx(_components.td,{children:`No maker returned a valid quote.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CloseMakerOffline`})}),_jsx(_components.td,{children:`A maker that holds the position is not connected.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`QuoteExpired`})}),_jsx(_components.td,{children:`The maker quote expired before Bebop could return it.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`MakerGatewayUnavailable`}),`, `,_jsx(_components.code,{children:`PreflightUnavailable`}),`, `,_jsx(_components.code,{children:`OptionsNotReady`}),`, `,_jsx(_components.code,{children:`ServiceUnavailable`})]}),_jsx(_components.td,{children:`A Bebop service is temporarily unavailable.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`InternalError`})}),_jsxs(_components.td,{children:[`An error occurred in Bebop. Give the `,_jsx(_components.code,{children:`requestId`}),` to Bebop support.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`503`}),` is temporary. Request a new quote. Do not send an old `,_jsx(_components.code,{children:`tx`}),` again.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"public":true,"title":"Reference","description":"Endpoints, fields, amounts, limits, approvals, contracts, and error codes of the Options API.","icon":"book","doc_type":"reference","href":"/options-api/reference"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"List instruments","slug":"list-instruments","depth":2,"children":[]},{"title":"Get indicative prices","slug":"get-indicative-prices","depth":2,"children":[]},{"title":"Get the pricing status","slug":"get-the-pricing-status","depth":2,"children":[]},{"title":"Request an open quote","slug":"request-an-open-quote","depth":2,"children":[]},{"title":"Request a close quote","slug":"request-a-close-quote","depth":2,"children":[]},{"title":"Request a roll quote","slug":"request-a-roll-quote","depth":2,"children":[]},{"title":"List positions","slug":"list-positions","depth":2,"children":[{"title":"Position status","slug":"position-status","depth":3,"children":[]}]},{"title":"Get a position","slug":"get-a-position","depth":2,"children":[]},{"title":"List position transactions","slug":"list-position-transactions","depth":2,"children":[]},{"title":"Amounts","slug":"amounts","depth":2,"children":[]},{"title":"Limits","slug":"limits","depth":2,"children":[]},{"title":"Approvals","slug":"approvals","depth":2,"children":[]},{"title":"Contracts","slug":"contracts","depth":2,"children":[]},{"title":"Quote issues","slug":"quote-issues","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bebop-bfd66c5f","siteName":"Bebop API Docs","title":"Reference - Bebop API Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T15:46:15.356Z","originalFileLocation":"options-api/reference.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Endpoints, fields, amounts, limits, approvals, contracts, and error codes of the Options API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bebop API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Reference - Bebop API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Endpoints, fields, amounts, limits, approvals, contracts, and error codes of the Options API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bebop API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bebop.xyz/options-api/reference\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bebop-bfd66c5f.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Reference\u0026amp;description=Endpoints%2C+fields%2C+amounts%2C+limits%2C+approvals%2C+contracts%2C+and+error+codes+of+the+Options+API.\u0026amp;theme=a0ff22bf9ff9b9a3a82e7ca8\u0026amp;signature=6b3d0826ef67848c84a11f92e3dcf3115948997f429dd5651f6e210315e18db7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Reference - Bebop API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Endpoints, fields, amounts, limits, approvals, contracts, and error codes of the Options API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bebop-bfd66c5f.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Reference\u0026amp;description=Endpoints%2C+fields%2C+amounts%2C+limits%2C+approvals%2C+contracts%2C+and+error+codes+of+the+Options+API.\u0026amp;theme=a0ff22bf9ff9b9a3a82e7ca8\u0026amp;signature=6b3d0826ef67848c84a11f92e3dcf3115948997f429dd5651f6e210315e18db7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bebop-bfd66c5f/BYvxdfgSIwp3ffIA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bebop API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006623\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bebop.xyz/options-api/reference\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/options-api/reference.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bebop.xyz/#organization\",\"name\":\"Bebop API Docs\",\"url\":\"https://docs.bebop.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bebop-bfd66c5f/8ftxhO576FlbcI7H/logo_light.svg?fit=max\u0026auto=format\u0026n=8ftxhO576FlbcI7H\u0026q=85\u0026s=d48dfdf648dba1ae4d7f4cd6b02380f4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bebop.xyz#website\",\"name\":\"Bebop API Docs\",\"url\":\"https://docs.bebop.xyz\",\"publisher\":{\"@id\":\"https://docs.bebop.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bebop.xyz/options-api/reference#webpage\",\"url\":\"https://docs.bebop.xyz/options-api/reference\",\"name\":\"Reference\",\"description\":\"Endpoints, fields, amounts, limits, approvals, contracts, and error codes of the Options API.\",\"dateModified\":\"2026-12-01T15:46:15.356Z\",\"isPartOf\":{\"@id\":\"https://docs.bebop.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bebop.xyz/options-api/reference#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bebop.xyz/options-api/reference#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Bebop API Docs\",\"item\":\"https://docs.bebop.xyz\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reference\",\"item\":\"https://docs.bebop.xyz/options-api/reference\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.bebop.xyz/options-api/reference#article\",\"headline\":\"Reference\",\"name\":\"Reference\",\"description\":\"Endpoints, fields, amounts, limits, approvals, contracts, and error codes of the Options API.\",\"url\":\"https://docs.bebop.xyz/options-api/reference\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bebop.xyz/options-api/reference#webpage\"},\"dateModified\":\"2026-12-01T15:46:15.356Z\",\"publisher\":{\"@id\":\"https://docs.bebop.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bebop.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bebop API Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Bebop API Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/options-api/reference.md","siteName":"Bebop API Docs","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home"}]},{"tab":"Discover","pages":[{"title":"Discover","href":"/welcome"}]},{"tab":"Build","pages":[{"title":"Build","href":"/build"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/support"}]},{"tab":"Market Maker Area","hidden":true,"pages":[{"title":"Market Maker Area","href":"/market-makers/overview"}]},{"tab":"Options Maker Area","hidden":true,"pages":[{"title":"Options Maker Area","href":"/market-makers/options/overview"}]},{"tab":"Options API","groups":[{"group":"Introduction","pages":[{"title":"Introduction","tag":"Beta","href":"/options-api/introduction"},{"title":"How options settle","href":"/options-api/how-options-settle"},{"title":"Quickstart","icon":"bolt","href":"/options-api/quickstart"}]},{"group":"Guides","pages":[{"title":"Close a position","href":"/options-api/guides/close-a-position"},{"title":"Roll a position","href":"/options-api/guides/roll-a-position"},{"title":"Redeem after expiry","description":"Collect the collateral or the exercise payment for receipt tokens that you held through expiry.","href":"/options-api/guides/redeem-after-expiry"}]},{"group":"Reference","pages":[{"public":true,"title":"Reference","icon":"book","href":"/options-api/reference"}]}]}]},"basePath":"","title":"Reference - Bebop API Docs","deploymentId":"dpl_4DWa5VHHws8GyZotTfaG5njNqY1w","buildId":"dpl_4DWa5VHHws8GyZotTfaG5njNqY1w","dynamics":[],"chunks":[]}