stacks-archive / stacks-transactions-js

The JavaScript library for generating Stacks 2.0 transactions
19 stars 17 forks source link

feat: export cvToHex and parseReadOnlyResponse #127

Closed friedger closed 3 years ago

friedger commented 3 years ago

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