validateDepositDataStructure()
validateDepositDataStructure(
distributedPublicKey,depositData,withdrawalAddress,forkVersion,compounding?,precomputedDepositDomain?):object
Defined in: verification/common.ts:390
Structural deposit checks + signing root (no BLS). Used before batch BLS verify.
Parameters​
| Parameter | Type |
|---|---|
distributedPublicKey | string |
depositData | Partial<DepositData> |
withdrawalAddress | string |
forkVersion | string |
compounding? | boolean |
precomputedDepositDomain? | Uint8Array<ArrayBufferLike> |
Returns​
object
| Name | Type | Defined in |
|---|---|---|
valid | boolean | verification/common.ts:397 |
message | Uint8Array | verification/common.ts:397 |