useGetOwners/EnrichedOwners
Description of useGetOwners
It's typically used in the process of getting the list of address that are owners of the wallet.
Returns
data (
Address[ | undefined
): Returns the array of owners addresses.isLoading (
boolean
): A boolean indicating whether the data is currently being fetched.error (
Error | null
): An error object if an error occurred during the fetching process, otherwisenull
.
Description of useGetEnrichedOwners
It gives your the list of owners of the wallet with additional information for specific signers like passkeys (device used for the creation, creation date...)
Type
EnrichedOwners:
address
deviceData (browser, os, platform)
creationDate
Returns
data (
Address[ | undefined
): Returns the array of owners addresses.isLoading (
boolean
): A boolean indicating whether the data is currently being fetched.error (
Error | null
): An error object if an error occurred during the fetching process, otherwisenull
.
Last updated