hirosystems / docs

Hiro developer documentation website
https://docs.hiro.so/
31 stars 51 forks source link

Documentation of the end point for fetching a data-var #668

Open radicleart opened 3 weeks ago

radicleart commented 3 weeks ago

I believe you can get the value of a data var in a clarity contract through API but it hasn't been documented;

E.g. this work but isn't in the official api docs.

/v2/data_var/${contractAddress}/${contractName}/${dataVarName}

ryanwaits commented 3 weeks ago

ty for flagging @radicleart we'll add this in our api reference with our next docs release