Type Alias: FormSubmissionRequirement
Last updated
Last updated
@torque-labs/torque-utils • Docs
@torque-labs/torque-utils / FormSubmissionRequirement
Form Submission requirement type
Name | Type | Default value | Description |
---|---|---|---|
requirement
{ antiSybilFee
: number
; fields
: { label
: string
; name
: string
; options
: { label
: string
; value
: string
; }[]; required
: null
| boolean
; type
: FormFieldType
; }[]; }
FormSubmissionActionSchema
-
requirement.antiSybilFee
?
number
-
Require anti-sybil fee for the form submission. If true, the user must pay a transaction fee to complete the requirement. Otherwise, the form submission will be completed and validated with a signature.
requirement.fields
{ label
: string
; name
: string
; options
: { label
: string
; value
: string
; }[]; required
: null
| boolean
; type
: FormFieldType
; }[]
-
The fields to collect from the user
type
FORM_SUBMISSION
-
-