ok
Creates a Clarity response ok type. Alias for responseOkCV.
Usage
import { Cl } from '@stacks/transactions';
Cl.ok(Cl.uint(100));Signature
const ok: (value: ClarityValue) => ResponseOkCV;Returns
ResponseOkCV
A Clarity ok response value object.
Parameters
value (required)
Type:
ClarityValue
The Clarity value representing the success result.
Last updated
Was this helpful?