Using Clarity Values
Learn how to use Clarity values in your Clarity smart contracts.
Some endpoints, like the read-only function contract call, require input to a serialized Clarity value. Other endpoints return serialized values that need to be deserialized.
The example shown below illustrates Clarity value usage in combination with the API.
The @stacks/transactions
library supports typed contract calls and makes response value utilization much simpler.
Last updated on