preRegistration
This endpoint needs to be hit by the proposed user before the resharing steps for everyone can begin.
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);
Input | Type of Input | Description |
---|---|---|
signature | string | hash of the signature of the vault message |
signer | Object | Signer object acquired from ethers or equivalent |