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
| Chain | Short expiry | Standard expiry |
|---|
| Ethereum | 5s | 75s |
| Polygon | 3s | 60s |
| Arbitrum | 3s | 60s |
| Optimism | 3s | 60s |
| Base | 3s | 60s |
| BSC | 3s | 60s |
| Hyperevm | 3s | 60s |
| Avalanche | 3s | 60s |
| Solana | 3s | 90s |
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 expiry | Standard expiry |
|---|
| Pricing | Tighter spreads | Slightly wider spreads |
| Execution window | Transaction must be included in a block before expiry; may require aggressive gas pricing | More time to manage signing and submission |
| Availability | Self-execution only | Self-execution and gasless |
| Best for | Latency-sensitive integrations | Most integrators |