Skip to main content

AskResponse Schema

undefined#/responses/ask
AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedYesUnknown statusNoForbiddenAllowednonecw-logic-sample.json*

ask Type

object (AskResponse)

ask Properties

PropertyTypeRequiredNullableDefined by
answerMergedOptionalcannot be nullcw-logic-sample
gas_usedintegerRequiredcannot be nullcw-logic-sample
heightintegerRequiredcannot be nullcw-logic-sample

answer

answer

answer Type

merged type (Details)

any of

gas_used

gas_used

gas_used Type

integer

gas_used Constraints

minimum: the value of this number must greater than or equal to: 0

unknown format: the value of this string must follow the format: uint64

height

height

height Type

integer

height Constraints

minimum: the value of this number must greater than or equal to: 0

unknown format: the value of this string must follow the format: uint64

AskResponse Definitions

Definitions group Answer

Reference this group by using

{"$ref":"undefined#/responses/ask/definitions/Answer"}
PropertyTypeRequiredNullableDefined by
has_morebooleanRequiredcannot be nullcw-logic-sample
resultsarrayRequiredcannot be nullcw-logic-sample
successbooleanRequiredcannot be nullcw-logic-sample
variablesarrayRequiredcannot be nullcw-logic-sample

has_more

has_more

has_more Type

boolean

results

results

results Type

unknown[]

success

success

success Type

boolean

variables

variables

variables Type

string[]

Definitions group Result

Reference this group by using

{"$ref":"undefined#/responses/ask/definitions/Result"}
PropertyTypeRequiredNullableDefined by
substitutionsarrayRequiredcannot be nullcw-logic-sample

substitutions

substitutions

substitutions Type

unknown[]

Definitions group Substitution

Reference this group by using

{"$ref":"undefined#/responses/ask/definitions/Substitution"}
PropertyTypeRequiredNullableDefined by
termNot specifiedRequiredcannot be nullcw-logic-sample
variablestringRequiredcannot be nullcw-logic-sample

term

term

term Type

unknown

variable

variable

variable Type

string

Definitions group Term

Reference this group by using

{"$ref":"undefined#/responses/ask/definitions/Term"}
PropertyTypeRequiredNullableDefined by
argumentsarrayRequiredcannot be nullcw-logic-sample
namestringRequiredcannot be nullcw-logic-sample

arguments

arguments

arguments Type

unknown[]

name

name

name Type

string