interface GenerateDepositDataDto {
    credentialsType?: "0x01" | "0x02";
    deposits: ValidatorDeposit[];
}

Properties

credentialsType?: "0x01" | "0x02"

Withdrawal credentials type (leave empty or pass 0x01 for Shapella, 0x02 for Pectra)

Example

"0x02"
deposits: ValidatorDeposit[]

Example

[{"pubkey":"a20d2ba70419cb3922985488e339736ab32e6184f11708d2333f65b14f70cf47365b538c32eff237cdaf293ea2bcfb03","amountGwei":"1000000000"}]