As a blockstack developer, I would like to use the blockstack-api-client library. The method SmartContractsApi.callReadOnlyFunction requires to hex encode clarity values, the result of that method needs to be parsed. In this library (stacks-transactions-js) these methods already exists.
These methods, defined in utils.ts are now exported.
For details refer to issue #126
Type of Change
[ ] New feature
[ ] Bug fix
[ ] API reference/documentation update
[x] Other
Does this introduce a breaking change?
No
Are documentation updates required?
Yes
Checklist
[x] Code is commented where needed
[ ] Unit test coverage for new or modified code paths
Description
As a blockstack developer, I would like to use the blockstack-api-client library. The method
SmartContractsApi.callReadOnlyFunction
requires to hex encode clarity values, the result of that method needs to be parsed. In this library (stacks-transactions-js
) these methods already exists.These methods, defined in
utils.ts
are now exported.For details refer to issue #126
Type of Change
Does this introduce a breaking change?
No
Are documentation updates required?
Yes
Checklist
Unit test coverage for new or modified code pathsnpm run test
passes