IoTeX Analytics API
IoTeX Analytics is a service built upon the IoTeX core API, extracting data from the IoTeX blockchain and indexing it for application use via API calls or a GraphQL web interface.
Quick Links
Get Started
Configure ioctl CLI
Ensure you have the IoTeX ioctl
CLI installed and updated to the latest release:
If ioctl
is not installed:
Install ioctl:
Create a new account
Obtain an API Key
Access to the analytics API requires an API token, which you can obtain using the ioctl
tool. The service is free, and you can generate your API token with the following ioctl
command:
After generating the JWT token, you can use it to access the API and perform the necessary operations. Keep the token secure and do not share it with unauthorized users to ensure the security of your API interactions.
Example Queries
Replace YOUR_JWT_TOKEN
with your actual JWT token and the address you want to query.
Transaction History By Address
The ActionService.ActionByAddress
API endpoint retrieves the history of actions (transactions) associated with a specified IoTeX address. It includes details such as transaction hashes, block numbers, sender and receiver addresses, transaction value, and timestamp.
The first result is the newest one.
EVM Transactions by Address
The ActionService.EvmTransfersByAddress
endpoint retrieves the list of EVM (Ethereum Virtual Machine) transfers associated with a specified IoTeX address. It includes details such as transaction hashes, block numbers, sender and receiver addresses, transfer value, and timestamp.
The first result is the newest one.
Included modules
Last updated