public abstract getUserData(
idOrDomain: number | string,
field: string,
): Promise<BN>;
Get user data also with the address because the address is the only thing an app has at the beginning. It's difficult to say oh I want the discord but I have to check if my user has a starknet ID/domain, get the tokenId/domain, and then use this function.
A function with the possibility to also give an address will be easier for devs.
Get user data also with the address because the address is the only thing an app has at the beginning. It's difficult to say oh I want the discord but I have to check if my user has a starknet ID/domain, get the tokenId/domain, and then use this function.
A function with the possibility to also give an address will be easier for devs.