Function getWalletFromALLDelegates
- getWalletFromALLDelegates(address, provider?, chainId?): Promise<{
amount: BigInt;
contract: string;
delegate: string;
rights: string;
tokenId: BigInt;
type: number;
vault: string;
version: "v1" | "v2";
}[]>
-
Parameters
-
address: string
-
Optional
provider: JsonRpcProvider | BrowserProvider
-
chainId: number = 1
Returns Promise<{
amount: BigInt;
contract: string;
delegate: string;
rights: string;
tokenId: BigInt;
type: number;
vault: string;
version: "v1" | "v2";
}[]>
tuple
Calls getDelegationsByDelegateV2 AND V1 to retrieve all vaults for a given delegate;