/ types / voluntary_exit.yaml
voluntary_exit.yaml
 1  VoluntaryExit:
 2    type: object
 3    description: "The [`VoluntaryExit`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#voluntaryexit) object from the Eth2.0 spec."
 4    properties:
 5      epoch:
 6        allOf:
 7          - $ref: "./primitive.yaml#/Uint64"
 8          - description: "Minimum epoch for processing exit."
 9      validator_index:
10        allOf:
11          - $ref: "./primitive.yaml#/Uint64"
12          - description: "Index of the exiting validator."
13  
14  SignedVoluntaryExit:
15    type: object
16    description: "The [`SignedVoluntaryExit`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the Eth2.0 spec."
17    properties:
18      message:
19        $ref: "#/VoluntaryExit"
20      signature:
21        $ref: './primitive.yaml#/Signature'
22