Get all objects of a specific type owned by an address.
Returns only object addresses (lightweight). Use this when you need to find objects and will fetch their details separately.
The owner's Sui address
Optional
Optional Move type filter (e.g., "0xpkg::module::Type")
Promise resolving to list of owned object addresses
const result = await getOwnedObjectsByType( "0xowner...", "0xworld::smart_storage_unit::SmartStorageUnit");const addresses = result.data?.address?.objects?.nodes.map(n => n.address); Copy
const result = await getOwnedObjectsByType( "0xowner...", "0xworld::smart_storage_unit::SmartStorageUnit");const addresses = result.data?.address?.objects?.nodes.map(n => n.address);
Get all objects of a specific type owned by an address.
Returns only object addresses (lightweight). Use this when you need to find objects and will fetch their details separately.