Constructors
constructor
- new Delegation(pubkey: ArrayBuffer, expiration: bigint, targets?: Principal[]): Delegation
Parameters
pubkey: ArrayBuffer
expiration: bigint
Optional targets: Principal[]
Properties
Readonly expiration
expiration: bigint
Readonly pubkey
pubkey: ArrayBuffer
Optional Readonly targets
targets?: Principal[]
Methods
toJSON
- toJSON(): JsonnableDelegation
Returns JsonnableDelegation
A single delegation object that is signed by a private key. This is constructed by
DelegationChain.create()
.{@see DelegationChain}