toip.tools

interface · Browser and Node

Action

@toip-tools/mandatesView source
TypeScriptImport
import { type Action } from "@toip-tools/mandates";

Declaration

TypeScriptinterface
interface Action {
  type: string;
  profile: string;
  id: string;
  /** The DID that acts: the leaf mandate's subject. */
  actor: string;
  at: string;
  attrs: Record<string, AttrValue> & { spend: Units };
}

Properties

typerequired
string
profilerequired
string
idrequired
string
actorrequired
string

The DID that acts: the leaf mandate's subject.

atrequired
string
attrsrequired
Record<string, AttrValue> & { spend: Units; }