DIVA Protocol queries now support multiple chains
Aug 5, 2022
- DIVA Protocol now works across networks — The DIVA Protocol data spec now uses a single network-agnostic query name, so you can point to the right deployment on any supported chain. Queries now require both `chainId` and `divaDiamond` to identify the correct contract.
Breaking Changes
- Renamed the query from `DIVAProtocolPolygon` to `DIVAProtocol`. Existing integrations need to use the new name.
- Added required `chainId` and `divaDiamond` parameters so the correct DIVA Protocol deployment can be identified.
Documentation
- Updated the DIVA Protocol documentation with the new parameter details, examples, and query encoding information.
- Updated the documentation filename to use a broader protocol-wide name.