Calico in action#
This documentation includes example data using a test app and test wallet for live results.Follow the steps below to connect the test wallet and retrieve data through the Calico Platform API.1. Get started#
Start the Try it feature.2. Get a token#
Select "Get token" to authorize the test app.3. Calico Connect#
The Calico Connect widget will prompt you to log in to Calico Documentation.4. Sign up#
Enter your email address. You’ll receive a code via email from: Calico Documentation + root@auth0.comThe code will expire in 10 minutes. If you don’t receive the email, check your spam folder.5. Add a provider#
Now you have a token. Be sure the "Access Token" box is populated under "Credentials" in the "Try it out" panel.Next, you’ll need to add a wallet or exchange which has the crypto data to be shared. The documentation includes a test Ethereum wallet as an example. You do not need to make any changes. However, you can use your own test wallet by changing the body of the request.If you use your own wallet, be sure to complete step eight to remove your wallet when done.
Select "Send" to complete adding the wallet. Check the result for a success message:If you try to add a connected wallet again, you'll receive a false result.{
"data": {
"added": false
},
"errors": []
}
To check if a wallet has already been added, use the connected providers endpoint to list connections.6. Get Assets#
If you're testing this endpoint after initial setup, you'll need to refresh the data first.Select "Try it" then "Send".
Retrieve the asset information for the connected wallet. Select "Try it" then "Send".7. Get Transactions#
If you're testing this endpoint after initial setup, you'll need to refresh the data first.Select "Try it" then "Send".
Retrieve the transaction information for the connected wallet. Select "Try it" then "Send".The parameters have example dates set by variables. You may change these to meet your testing needs.
To get transactions, hit send.
8. Remove wallet#
After you're done with the steps above, you may use the Remove providers endpoint to remove the wallet.If you're using your own wallet or exchange and have finished testing, be sure to complete this step.
If using the Calico test wallet, do nothing. If using your own, change the wallet address in the body of the request.9. Success!#
You've tested the Calico Platform API!What's next? Get in touch to see how Calico can help your use case!1.
The initial token times out after an hour. After that time, select "Get token" to sign in again.
2.
If you return to test after a day, you may need to refresh data before using the Assets or Transactions endpoints. Use the Refresh endpoints.
3.
If you receive an empty response from the Assets or Transactions endpoints, the data may need to be refreshed. Use the Refresh endpoints.