How can I send a request to blockchain?
EQ Hub provides a Request API for sending requests to the blockchain environment. By sending requests through the EQ Hub, users can send requests in the form of a REST API.
What is Request API?
The Request API makes it easy to send queries and transaction requests to specific blockchain environments. Using the Request API, you can query data in the blockchain environment or send transactions, and receive transaction results in real time through Long Polling.
About API Host (deprecated)
If you want to use the Request API, you must specify the API Host to use it.
API Hosts are classified by blockchain environment and service used.
- Utilize Network Request
- It can be obtained through the Network API's [GET] /micro-chains/:microChainId request.
- Utilize Wallet Request
- It can be obtained through [GET] /wallet-manage/micro-chains/:microChainId request of the Wallet API.
How can I make chain query or transaction request?
To send a request to the blockchain environment, you can check out the tutorial below.
- Executing a specific smart contract in a blockchain environment
- Sending transactions in a blockchain environment
- Checking transaction results in a blockchain environment
Quick checklist
The items required to use the Request API are as follows.
- API Key
Where Can I Use?
- Web3 application development