Deposit Data

Push partial deposit data

Changed on

This endpoint saves partial deposit data signed by an operator

post/v1/deposit_data/partial_deposits/{lockHash}/{share_index}

Request

  • Base URL
    https://api.obol.tech
  • Auth
    none declared

Path parameters

lockHashstring required

The lock hash of the cluster

share_indexnumber required

The share index (operator index + 1)

Request body

Example request

{
  "partial_deposit_data": [
    {
      "pubkey": "0x8b69c67720c909423d7edc5d3a7554e1d1e50f6d7d5f8d18548d68daf424e536afba8b31fbd15df1970ba4af4a7d944c",
      "withdrawal_credentials": "0x010000000000000000000000abcdef1234567890abcdef1234567890abcdef12",
      "amount": "32000000000",
      "signature": "0x1234..."
    }
  ]
}

Response

Deposit data saved successfully

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • breaking

      added the pattern ^0x[0-9a-fA-F]{192}$ to the request property //

    • warning

      changed the pattern of the request property // from ^\d+$ to ^[1-9]\d*$

    • warning

      changed the pattern of the request property // from ^(0x|0h)?[0-9A-F]+$ to ^0x[0-9a-fA-F]{96}$