api3dao / old-api3-docs

Documentation for the API3 Project
https://docs.api3.org/
MIT License
56 stars 29 forks source link

1153 bytes32 dapi name datafeed #1154

Closed wkande closed 1 year ago

wkande commented 1 year ago

Closes #1153

github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 32c0151):

https://api3-docs--pr1154-1153-bytes32-dapinam-goo1ck57.web.app

(expires Fri, 23 Dec 2022 23:01:29 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d319eb7cbe610768342d5dc1b5cd1f3aed912886

wkande commented 1 year ago

This PR addresses whether or not a dapiName must be bytes32 encoded before calling the following:

@bbenligiray - Can you verify the Parameter section of the two docs above?

I discovered that a dapiName such as AVAX/USD must be encoded before calling DapiServer functions like readDataFeedWithDapiName() while writing the guide Calling a dAPI: Using the DapiServer contract and Remix in the new VitePress docs.

Screenshot 2022-12-16 at 4 03 27 PM