> For the complete documentation index, see [llms.txt](https://docs.native.org/native-dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.native.org/native-dev/build-with-native/market-makers-deprecated/api-guide/websocket-integration/on-chain-events-for-swap.md).

# On-chain events for swap

* Market makers can monitor the pool address for the following event to detect successful trades on-chain.
* Match the event by the `quoteId.`

```
event RfqTrade(
    address recipient,
    address sellerToken,
    address buyerToken,
    uint256 sellerTokenAmount,
    uint256 buyerTokenAmount,
    bytes16 quoteId,
    address signer
);
```
