# trace\_filter

#### **Parameters** <a href="#parameters" id="parameters"></a>

1. `Object` - The filter object
   * `fromBlock`: `Quantity` or `Tag` - (optional) From this block.
   * `toBlock`: `Quantity` or `Tag` - (optional) To this block.
   * `fromAddress`: `Array` - (optional) Sent from these addresses.
   * `toAddress`: `Address` - (optional) Sent to these addresses.
   * `after`: `Quantity` - (optional) The offset trace number
   * `count`: `Quantity` - (optional) Integer number of traces to display in a batch.

#### **Returns** <a href="#returns" id="returns"></a>

* `Array` - Traces matching given filter

#### Example <a href="#example" id="example"></a>

Request

```bash
curl https://rpc-tracer-mainnet.u2u.xyz \
-X POST \
-H "Content-Type: application/json" \
-d '{"method":"trace_filter","params":[{"fromBlock":"0xc26f54","toBlock":"0xc26f54"}],"id":1,"jsonrpc":"2.0"}' 
```
