registerStep2
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 registerStep3 can be performed.
This step requires that all the other participants have performed the RegisterStep1 step.
Arguments:
import { registerStep2, getVaults } from "@intuweb3/web";
let myVaults = getVaults("0x12345", signer);
//whichever vault address you need to interact with in myvaults
//example, myVaults[0].vaultAddress;
await registerStep2(vaultAddress, signer);
Input | Type | Description |
---|---|---|
vaultAddress | number | Address of the vault |
signer | Object | Signer object acquired from ethers or equivalent |
\