# Indexing trades

**URL:** <https://gov.blur.foundation/t/indexing-trades/271>\
**Category:** General\
**Created:** [May 19, 2023, 11:55am UTC](https://gov.blur.foundation/t/indexing-trades/271 "2023-05-19T11:55:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyropy](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pyropy](https://gov.blur.foundation/u/pyropy)\
**Post date:** [May 19, 2023, 11:55am UTC](https://gov.blur.foundation/t/indexing-trades/271/1 "2023-05-19T11:55:41Z")

</div>

Hello 👋

I would like to index trades that happen on blur. Is it possible to get `OrdersMatched` event struct and other structs that go inside that one so I could parse on-chains events?

---

<div class="post-metadata">

**Author:** ![pyropy](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pyropy](https://gov.blur.foundation/u/pyropy)\
**Post date:** [May 27, 2023, 3:30pm UTC](https://gov.blur.foundation/t/indexing-trades/271/2 "2023-05-27T15:30:54Z")

</div>

```auto
event OrdersMatched(
	address indexed maker,
	address indexed taker,
	Order sell,
	bytes32 sellHash,
	Order buy,
	bytes32 buyHash
)

struct Order {
    address trader;
    Side side;
    address matchingPolicy;
    address collection;
    uint256 tokenId;
    uint256 amount;
    address paymentToken;
    uint256 price;
    uint256 listingTime;
    /* Order expiration timestamp - 0 for oracle cancellations. */
    uint256 expirationTime;
    Fee[] fees;
    uint256 salt;
    bytes extraParams;
}

struct Fee {
    uint16 rate;
    address payable recipient;
}

enum Side { Buy, Sell }

```
