> For the complete documentation index, see [llms.txt](https://docs.mercurydata.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mercurydata.app/mercury-classic/queries/3.-quick-reference.md).

# 3. Quick Reference

```bash
# cursor= and offset= are mutually exclusive;
# cursor takes precedence when both are provided
                                                                                                                                                                                   
GET /events/by-ledger
    ?from=&to=&limit=&offset=&cursor=                                                                                                                                            
                                                                                                                                                                                   
GET /events/by-contract/{id}
    ?limit=&offset=&cursor=                                                                                                                                                      
    ?from=&to=&limit=&offset=&cursor=
    ?topics=a,b,c&limit=&offset=&cursor= 
                                                                                                                                                                                   
GET /events/by-contracts
    ?contracts=a,b,c&limit=&offset=&cursor=                                                                                                                                      

GET /events/by-ledger/contracts                                                                                                                                                  
    ?contracts=a,b,c&from=&to=&limit=&offset=&cursor=
                                                                                                                                                                                   
GET /events/by-tx/{tx_hex}                                

GET /txs/by-ledger
    ?from=&to=&limit=&offset=&cursor=
                                                                                                                                                                                   
GET /txs/by-contract/{id}
    ?limit=&offset=&cursor=                                                                                                                                                      
    ?from=&to=&limit=&offset=&cursor=
                                                                                                                                                                                   
GET /txs/by-contracts
    ?contracts=a,b,c&limit=&offset=&cursor=                                                                                                                                      
                                                            
GET /txs/by-ledger/contracts
    ?contracts=a,b,c&from=&to=&limit=&offset=&cursor=
                                                                                                                                                                                   
GET /txs/by-hash/{tx_hex}
```
