Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 817 Bytes

api-compatibility.md

File metadata and controls

22 lines (17 loc) · 817 Bytes

API Compatibility

Notes about compatibility of this explorer with previous version:

For better compatibility next APIs available on both frontend and backend endpoints:

  1. /api/getblockchaininfo
  • added next_super_block field
  • numeric types are numeric, not a string, an exception is amount_formatted under zerocoinsupply and moneysupply_formatted
  1. /api/getchainalgostats
  • Fully compatible
  1. /api/getaddressbalance/
  • New version indicates status with response status code (only when accessed through backend endpoint)
400 - bad request (address is invalid or it is a stealth address)
200 - success
202 - request added to queue, retry request until you get status 200
  1. /api/getmoneysupply
  • New version uses double type for all variables except for budget_address and foundation_address