Skip to main content
Market Makers compete to fulfill user Swap intents. They listen for swap requests on the Message Bus, evaluate whether they can fill the request, and respond with signed quotes. NEAR Intents Market Makers

How it works

1

A Quote Request is sent

A user sends a quote request to the Message Bus, a WebSocket relay that broadcasts the request to all connected solvers.
2

Solvers evaluate and quote

Each solver checks whether they can fulfill the swap. If they can, they compute pricing, and return a signed quote as response.
3

Quotes compete for selection

Multiple solvers can respond to the same request with different prices. The Message Bus collects responses and returns the top quotes to the user application.
4

Selected quote settles on-chain

After the user chooses a quote, the Message Bus matches the requested intent with the selected quote and submits it to the Verifier contract where the swap settles on-chain.
The NEAR Intents protocol can operate without the Message Bus. Frontends can use other quoting mechanisms, and market makers can index the NEAR blockchain directly to find intents to fill.

Next steps

Quickstart

Set up and run a solver that automatically responds to quote requests

Usage Examples

Understand the code necessary to make a solver respond to quotes

Message Bus

Learn about the Message Bus architecture and how it works

Deposit/Withdrawal

Move liquidity in and out of NEAR Intents