This endpoint needs to be hit by each user involved with a vault during the vaults registration phase. All users must perform this step before registerStep1 can be performed.

For this step, and the following 3 registration steps, each one of the participants must finish the step before the following step can be completed by any participant.
So, all users must complete preRegistration before any user can perform registerStep1.

import { preRegistration, getVaults } from "@intuweb3/web";
let myVaults = getVaults("0x12345", signer);
//whichever vault address you need to interact with in myvaults
//example, myVaults[0].vaultAddress;
await preRegistration(vaultAddress, signer);
InputType of InputDescription
signaturestringhash of the signature of the vault message
signerObjectSigner object acquired from ethers or equivalent