In this guide, we will walk you through the steps to perform a query on a REST endpoint to retrieve onchain data.Documentation Index
Fetch the complete documentation index at: https://ormilabs.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure you have:- A registered Ormi account
- An API key
- A REST client (e.g., curl, Postman, or any HTTP client)
Performing a query to fetch ERC-20 transfers
Here is an example of a query to retrieve the token balance of a wallet address on the Ethereum mainnet.Step 1: Identify the endpoint URL
Check out the API Reference.
Step 2: Get the required variables
Copy and paste the required endpoint path and query parameters into the editor, then click “Send” to make the request.
Step 3: Query with a third-party tool
You may use any third-party tool such as curl or Postman to directly query the endpoint.
Step 4: Check out code snippets
The API Reference page also provides handy code snippets for various programming languages to help you get started.