/ types / deposit.yaml
deposit.yaml
 1  Deposit:
 2    type: object
 3    description: "The [`Deposit`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#deposit) object from the Eth2.0 spec."
 4    properties:
 5      proof:
 6        type: array
 7        description: "Branch in the deposit tree."
 8        items:
 9          allOf:
10            - $ref: './primitive.yaml#/Root'
11        minItems: 32
12        maxItems: 32
13      data:
14        $ref: './deposit.yaml#/DepositData'
15  DepositData:
16    type: object
17    description: "The [`DepositData`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#depositdata) object from the Eth2.0 spec."
18    properties:
19      pubkey:
20        $ref: './primitive.yaml#/Pubkey'
21      withdrawal_credentials:
22        allOf:
23          - $ref: './primitive.yaml#/Root'
24          - description: "The withdrawal credentials."
25      amount:
26        allOf:
27          - $ref: "./primitive.yaml#/Gwei"
28          - description: "Amount in Gwei."
29      signature:
30        allOf:
31          - $ref: './primitive.yaml#/Signature'
32          - description: "Container self-signature."