For the complete documentation index, see llms.txt. This page is also available as Markdown.
API Reference
This contain all the endpoints, pricing and error codes to access Address Audit service
The GetBlock Address Audit API provides access to all address audit services, which you can integrate into your dApp, including wallet audit, wallet riska nd rug pull checker
On the API Key tab, click on the plus icon, and your API key will be generated for you automatically
Ensure you store your API Key securely
QuickStart
In this example, you will be auditing a wallet address:
Axios (JavaScript / Node.js)
Python (Requests library)
Before you begin, you must have already installed npm or yarn on your local machine (for the Axios example) or Python and pip (for the Python example).
1
Setup project
Create and initialize a new project:
2
Install Axios
3
Create file
Create a new file named index.js. This is where you will make your first call.
4
Set ES module type
Set the ES module "type": "module" in your package.json.
5
Add code
Add the following code to index.js:
Replace <YOUR_API_KEY> with your actual API Key from the GetBlock dashboard.
6
Run the script
Expected output (example):
1
Setup the project directory
2
Create and activate a virtual environment
3
Install requests
4
Create script
Create a file called main.py with the following content:
Replace <YOUR_API_KEY> with your actual GetBlock API Key.