live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/agent-core


@orangecheck/agent-core / SealScopesInput

Interface: SealScopesInput

Defined in: agent-core/src/private-scope.ts:47

Properties

PropertyTypeDescriptionDefined in
<a id="property-expiresat"></a> expiresAt?Date | nullOptional expiry on the OC Lock envelope itself. Independent of the delegation's expires_at; usually left null.agent-core/src/private-scope.ts:57
<a id="property-hint"></a> hint?stringOptional human hint stored in the OC Lock envelope.agent-core/src/private-scope.ts:54
<a id="property-recipients"></a> recipientsDeviceRecord[]Authorized decryptors. Must include at least the agent.agent-core/src/private-scope.ts:52
<a id="property-scopes"></a> scopesstring[]-agent-core/src/private-scope.ts:48
<a id="property-sender"></a> sender&#123; address: string; attestation_id?: string; signMessage: (msg: string) => Promise&lt;string>; &#125;Principal / sender — the same address that signs the OC Agent envelope.agent-core/src/private-scope.ts:50
sender.addressstring-agent-core/node_modules/@orangecheck/lock-core/dist/types.d.ts:54
sender.attestation_id?string-agent-core/node_modules/@orangecheck/lock-core/dist/types.d.ts:55
sender.signMessage(msg: string) => Promise&lt;string>-agent-core/node_modules/@orangecheck/lock-core/dist/types.d.ts:56