Interface: DelegationResult
Defined in: web/lib/api/schema.ts:945
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:946
delegationId?
optionaldelegationId:string
Defined in: web/lib/api/schema.ts:952
Delegation ID
message
message:
string
Defined in: web/lib/api/schema.ts:954
Human-readable result message
success
success:
boolean
Defined in: web/lib/api/schema.ts:950
Whether the operation succeeded