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

@orangecheck/pledge-core


@orangecheck/pledge-core / CreatePledgeInput

Interface: CreatePledgeInput

Defined in: pledge-core/src/types.ts:230

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
<a id="property-bond"></a> bondPledgeBond-PledgeCanonicalInput.bondpledge-core/src/types.ts:191
<a id="property-counterparty"></a> counterpartystring | null-PledgeCanonicalInput.counterpartypledge-core/src/types.ts:192
<a id="property-dispute"></a> disputePledgeDispute-PledgeCanonicalInput.disputepledge-core/src/types.ts:193
<a id="property-expires_at"></a> expires_atstring-PledgeCanonicalInput.expires_atpledge-core/src/types.ts:190
<a id="property-nonce"></a> nonce?string32 lowercase hex chars (16 random bytes). If omitted, a fresh random nonce is generated via crypto.getRandomValues. Pass an explicit value for test-vector reproduction.-pledge-core/src/types.ts:238
<a id="property-proposition"></a> propositionstring-PledgeCanonicalInput.propositionpledge-core/src/types.ts:187
<a id="property-remediation"></a> remediation?"breach_recorded"Defaults to "breach_recorded" (the only legal value in v0.1).-pledge-core/src/types.ts:240
<a id="property-resolution"></a> resolutionPledgeResolution-PledgeCanonicalInput.resolutionpledge-core/src/types.ts:188
<a id="property-resolves_at"></a> resolves_atPledgeResolvesAt-PledgeCanonicalInput.resolves_atpledge-core/src/types.ts:189
<a id="property-swearer"></a> swearerstring-PledgeCanonicalInput.swearerpledge-core/src/types.ts:186
<a id="property-swearersigner"></a> swearerSignerBip322Signer--pledge-core/src/types.ts:241
<a id="property-swornat"></a> swornAt?string | DateDefaults to "now" (truncated to seconds, ISO 8601 UTC, Z-terminated).-pledge-core/src/types.ts:232
<a id="property-viadelegation"></a> viaDelegation?&#123; agent_signer: Bip322Signer; delegation_id: string; &#125;If present, pledge is signed by this agent under an OC Agent delegation. via_delegation (the delegation id) and agent_address (the agent's address) appear in the envelope but are NOT in the canonical message.-pledge-core/src/types.ts:247
viaDelegation.agent_signerBip322Signer--pledge-core/src/types.ts:247
viaDelegation.delegation_idstring--pledge-core/src/types.ts:247