Skip to main content
Short expiry quotes have a narrower validity window than standard quotes. Because the market maker’s risk window is smaller, short expiry quotes offer tighter pricing. The trade-off is that the transaction must be included in a block before the quote expires, not just signed and broadcast.
Short expiry is only available for self-execution (gasless=false).

Expiry Windows by Chain

ChainShort expiryStandard expiry
Ethereum5s75s
Polygon3s60s
Arbitrum3s60s
Optimism3s60s
Base3s60s
BSC3s60s
Hyperevm3s60s
Avalanche3s60s
Solana3s90s

Requesting Short Expiry Quotes

Pass expiry_type=short when calling /v3/quote:
curl "https://api.bebop.xyz/pmm/ethereum/v3/quote?\
  buy_tokens=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&\
  sell_tokens=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2&\
  sell_amounts=1000000000000000000&\
  taker_address=0xYOUR_ADDRESS&\
  gasless=false&\
  source=your-integration-name&\
  expiry_type=short" \
  -H "source-auth: YOUR_API_KEY"
The returned quote will have a shorter validity window matching the chain-specific durations above. Your transaction must be included in a block within that window. Signing and broadcasting alone is not enough. If your transaction doesn’t land in the target block, you may need to increase your gas price. Note that even a higher fee may not guarantee inclusion if the block is full (e.g. due to MEV bundles).

Using with the Price API

If you use the Price API for indicative pricing before requesting firm quotes, make sure the expiry types match. Subscribe to the short expiry stream by including expiry_type=short in the WebSocket URL, so the indicative prices you receive reflect the same pricing that /v3/quote will return.
Mixing expiry types between the Price API stream and firm RFQ quotes will give you inaccurate pre-trade estimates. See Quote Expiry for details.

Trade-offs

Short expiryStandard expiry
PricingTighter spreadsSlightly wider spreads
Execution windowTransaction must be included in a block before expiry; may require aggressive gas pricingMore time to manage signing and submission
AvailabilitySelf-execution onlySelf-execution and gasless
Best forLatency-sensitive integrationsMost integrators