Blockscout
Explorer
Github
Forum
Search…
Welcome to Blockscout
💡
About BlockScout
Features
Projects Using Blockscout
Roadmap
🧑🎤
For users
Verifying a Smart Contract
My Account
EVM Version Information
ABI-Encoded Constructor Arguments
API
User FAQs
🥷
For Developers
Information & Settings
Ansible Deployment (AWS Cloud)
Manual Deployment
Configuration Options
Indexing
Testing
DB schema
Contributing to Blockscout
Developer FAQs
How do I speed up my hosted BlockScout instance?
How can I customize the coin symbol / name?
How do I manage deployment with AWS CodeDeploy?
How do I replace missing assets/version number in my BlockScout deployment?
How do I fix the Gettext.Error?
How do I fix indexer timeouts?
How do I update memory consumption to fix indexer memory errors?
How do I update menu links in the header / footer?
How can I view smart contracts with RPC?
Why are Market Cap/Token Price stats wrong?
How do I disable exchange rates?
How to migrate verified contracts between databases?
Which Linux distro for manual deployment?
Do I need to enable ws?
👓
For projects
Premium Features
Hardware/Hosting Requirements
🧩
Resources
Media kit
Discord Channel
Discussion
GitHub Repo
👩🏫
Job Openings
DevOps Engineer
Elixir Developer
Senior Front-end Engineer / Front-end Architect
Senior QA Engineer
Powered By
GitBook
How can I view smart contracts with RPC?
Use the JSON RPC
listcontracts
endpoint. For example, to view verified contracts, use the following query. Pagination is available
1
curl
-X GET
"
2
https://blockscout.com/xdai/mainnet/api?module=contract&action=listcontracts&page=1&offset=50&filter=verified
3
" -H
"accept: application/json"
Copied!
Previous
How do I update menu links in the header / footer?
Next
Why are Market Cap/Token Price stats wrong?
Last modified
1mo ago
Export as PDF
Copy link