Akash Cosmos SDK 0.47.0 Upgrade Testnet
Akash REST API Testing Overview
The testing procedure for the REST API is rather simple and should be conducted as follows:
- Retrieve the current API swagger file here
- Dump the contents of the file into a swagger rendering engine such as this web app
- Thoroughly test both Akash and Cosmos exposed endpoints
- NOTE - all Akash queries must be updated to use
v1beta4
- see example below - Current testnet-5 API node is available here
Akash REST API Test Example
- Specific endpoint used in test:
/akash/deployment/v1beta4/deployments/list
- Example test
curl "http://api.akashtestnet.xyz:1317/akash/deployment/v1beta4/deployments/list?filters.owner=akash1p6fulzhjcsghakuracwn20tjqmvf7zvsclf6yw"
Cosmos REST API Test Example
- Specific endpoint used in test:
/cosmos/bank/v1beta1/balances/{address}
- Example test
curl "http://api.akashtestnet.xyz:1317/cosmos/bank/v1beta1/balances/akash1p6fulzhjcsghakuracwn20tjqmvf7zvsclf6yw"