Skip to main content
The Compact flow uses The Compact resource lock for off-chain, gasless order submission. Users deposit tokens once and can issue multiple intents from that balance without paying gas per order.
If you’re adding LI.FI Intents alongside other bridges, the standard escrow flow is simpler and recommended. Use the Compact flow when you need gasless submissions or are building a resource-lock-native application.

How It Differs from Escrow


Contract Addresses

These are the same across all supported chains:

Flow

1

Deposit into The Compact

Deposit tokens into The Compact resource lock. This is a one-time on-chain transaction. Subsequent intents draw from this balance without additional gas.See the lintent.org demo for a UI example of depositing and registering intents.
2

Request a quote

Same as the escrow flow. Call POST /quote/request. Include "oif-resource-lock-v0" in supportedTypes to indicate Compact support.
3

Sign the claim

Compact orders are authorized via EIP-712 signatures rather than on-chain transactions. Sign a BatchClaim using The Compact’s domain separator.
TypeScript
For a complete signing example, see the lintent.org demo.
4

Submit the order off-chain

Submit the signed order to POST /orders/submit. Include the quoteId for preferential solver matching.
CatalystCompactOrder submissions require a sponsor signature or Compact registration tx hash. The payload above is a reference template. You must include the appropriate signature fields. Always test on order-dev.li.fi before production.
The response includes a meta object with orderIdentifier and onChainOrderId for tracking.
5

Track the order

Same as the escrow flow. Poll GET /orders/status until settlement.

Integration Examples


Next Steps

Input Settlement

Compact claim structure, registration, and Permit2 details

Resource Locks

How resource locks, sponsors, allocators, and arbiters work

Create and Submit Orders

Full order construction reference and validation rules

Track Order Status

Monitor orders via the API or on-chain events