Skip to content

pstate_*

pstate_listSchemas

Parameters

  1. domain: string

Returns

  1. schemas: Schema[]

pstate_queryContractNullifiers

Parameters

  1. domain: string
  2. contractAddress: EthAddress
  3. schemaRef: Bytes32
  4. query: QueryJSON
  5. qualifier: StateStatusQualifier

Returns

  1. states: State[]

pstate_queryContractStates

Parameters

  1. domain: string
  2. contractAddress: EthAddress
  3. schemaRef: Bytes32
  4. query: QueryJSON
  5. qualifier: StateStatusQualifier

Returns

  1. states: State[]

pstate_queryNullifiers

Parameters

  1. domain: string
  2. schemaRef: Bytes32
  3. query: QueryJSON
  4. qualifier: StateStatusQualifier

Returns

  1. states: State[]

pstate_queryStates

Parameters

  1. domain: string
  2. schemaRef: Bytes32
  3. query: QueryJSON
  4. qualifier: StateStatusQualifier

Returns

  1. states: State[]

pstate_storeState

Parameters

  1. domain: string
  2. contractAddress: EthAddress
  3. schemaRef: Bytes32
  4. data: RawJSON

Returns

  1. state: State