Skip to main content

Interface: DelegationResult

Defined in: web/lib/api/schema.ts:995

Unified DelegationResult type.

Remarks

Multiple governance endpoints return DelegationResult with different $type discriminators. This unified type accepts any of them for compatibility.

Properties

$type?

optional $type: "pub.chive.governance.grantDelegation#delegationResult" | "pub.chive.governance.revokeDelegation#delegationResult"

Defined in: web/lib/api/schema.ts:996


delegationId?

optional delegationId: string

Defined in: web/lib/api/schema.ts:1002

Delegation ID


message

message: string

Defined in: web/lib/api/schema.ts:1004

Human-readable result message


success

success: boolean

Defined in: web/lib/api/schema.ts:1000

Whether the operation succeeded