Version 2 Amberdata API is here. Time to upgrade to unlock tons of great features!
API Version 2 is a big step forward, we’ve rebuilt many endpoints to be faster, deeper in breadth and most importantly adds flexibility for all the data our customers have requested. Before we deep dive into the updates, here’s a quick guide on how to upgrade to V2 successfully:
It’s as simple as changing V1 to V2 in our endpoints. You can even copy & paste the url from here:
We have been supporting multiple blockchains for a while, however as we expand it became quite clear our first attempt was not inclusive enough to handle all the features unique to different blockchains. The core needed updates to properly handle features like:
- UTXO Data Models
- Multiple To/From Accounts
- Verification Proof Data
- Digital Assets Metadata & References
We do have a couple “gotchas”. This upgrade brings several key features that demand endpoint or data model changes. Here are a list of breaking changes that occur in Version 2:
To support Bitcoin, Litecoin, Zcash, Bitcoin Cash & Bitcoin SV, we added core UTXO data sets in API responses. Here are new data fields present for data like Blocks, Transactions, Accounts & Fees:
Some Blockchains support multiple from or to accounts within a single transaction. To support this, we’ve changed all endpoints involving accounts to use array syntax, here’s an example:
"from": [, ]
Amberdata API now supports lots of metadata specific to each feature represented in different blockchains. This is a new object that supports things like raw serialized data, custom smart contract fields, validation data fields and more. There will be more documentation and guides on this coming soon! Until then, look for “metadata” in endpoint responses.
Our goal is to have all users upgrade by February 28th, 2020. Please make sure you have updated your application before then!
Does this upgrade cost anything? Nope!
This is a product upgrade, built to help your business or application have the best API service available for digital assets.
Need Help or Have Questions?
We’re happy to help! Send us an email at [email protected], and we can help you integrate or upgrade your API service.
Published at Mon, 13 Jan 2020 23:02:17 +0000