ViewRequestDefinition interface

Module @runic-artifex/views/generated in @runic-artifex/views 0.23.0

interface ViewRequestDefinition

Generated decoder and contract of one view request.

Properties

contract

readonly contract: string;

The contract of the request's input, {fingerprint}:request:{Property}.

decodeInput

readonly decodeInput: (value: unknown) => unknown;

Decodes the wire input; throws for an invalid one.