It allows an active consensus-key account, i.e., an account to which a baker delegated its consensus-signing responsibility, to empty its delegate account. This operation is used as a deterrent to ensure that a delegate secures its consensus key as much as its manager (or main) key.

Hierarchy

Properties

allocatedDestinationContract: boolean
balanceUpdates: readonly BalanceUpdate[]
consensusKey: string
delegateAddress: null | string
destinationAddress: null | string
rpcData: {
    consensus_key: string;
    delegate: string;
    destination: string;
    kind: DRAIN_DELEGATE;
    metadata: { readonly balance_updates?: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delayed_operation_hash?: string | undefined; }[] | undefined; readonly alloc...;
}

Raw data as received from Tezos Node RPC. Taquito interface may not be exact.

Type declaration

  • Readonly consensus_key: string
  • Readonly delegate: string
  • Readonly destination: string
  • Readonly kind: DRAIN_DELEGATE
  • Readonly metadata: { readonly balance_updates?: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delayed_operation_hash?: string | undefined; }[] | undefined; readonly alloc...
uid: string

Universal ID of the entity on the blockchain. It is still human-readable.

Example

Block hash / operation group hash / operation index [ operation kind ]

BLvgirK7K43H5tv8f73cxBaLwcU7euFNwmfr2td2sWKpKXQXxaM/opLpKECfrpuF79YLfSYABvxb8Df8Fh71n3Q8Azy1m8vWU8Czfcn/4[transaction]

Generated using TypeDoc