# Developer FAQs

## Developer FAQs

<details>

<summary>How can I view smart contracts using RPC?</summary>

Use the JSON RPC `listcontracts` endpoint. For example, to view verified contracts, use the following query. Pagination is available

```shell
curl -X GET "
https://quaiscan.io/api?module=contract&action=listcontracts&page=1&offset=50&filter=verified
" -H "accept: application/json"
```

</details>

<details>

<summary>How do I verify contracts via an API?</summary>

There are several ways:

* Use the [API v2 endpoints](https://docs.blockscout.com/for-users/verifying-a-smart-contract/blockscout-smart-contract-verification-api)
* Use the [RPC endpoints for verification](https://docs.blockscout.com/for-users/api/rpc-endpoints/contract#verify-a-contract-with-its-source-code-and-contract-creation-information)

</details>
