How to Redeem a Tokenized Service on Zap Protocol

Users can redeem services purchased on the Zap Platform by utilizing their secondary tokens or DOTs as an entitlement to the various services offered through Provider Endpoints. These include data streams/API calls into smart contracts and other backends as well as subscription based services associated with an Endpoint. To get a more in-depth technical understanding of how to integrate Zap data feeds into on-chain contracts and off-chain subscribers to receive data from Oracles, refer to the Subscriber templates section, here.

Here is an example of how to integrate the API associated with an Oracle endpoint into a smart contract

pasted-image-0-8

Last updated

Was this helpful?