getConnectedAccountsNet is a core function in our Connected Accounts system. By fetching a user’s linked identities—spanning NEAR (Testnet/Mainnet), Ethereum, Twitter, and GitHub—it empowers developers to unify multiple accounts into a single, verifiable network. This capability fuels seamless onboarding, improved trust, and a streamlined user experience across decentralized applications, driving adoption and positioning our platform as a foundational layer in Web3 identity management.

Example of use in NEAR Components

const { getConnectedAccountsNet } = props

getConnectedAccountsNet(accountId, 'near/testnet').then((data) =>
	console.log(`Connected Accounts for ${accountId}:`, data)
)

Parameters

ParameterTypeDescription
accountIdstringAccount ID
origin"near/testnet""near/mainnet""ethereum""twitter""github"Account Origin

Returns

TypeDescription
Promise<string[] | null>Connected Accounts list

Return example

const result = [
	'dapplets.testnet/near/testnet',
	'MrConCreator/twitter',
	'bos.dapplets.testnet/near/testnet',
	'dapplets/github',
	'0x123454f321c2880f3b9a06b2aabc1b5080420fa7/ethereum',
	'0xf64849376812667bda7d902666229f8b8dd90687/ethereum',
	'dapplets-team.testnet/near/testnet',
]

By harnessing getConnectedAccountsNet, you eliminate fragmentation across blockchain ecosystems and social networks, allowing users to interact with decentralized applications under a single, streamlined profile. This unified approach to Web3 identity helps drive user acquisition and engagement, showcasing a scalable, user-centric infrastructure designed for the next generation of decentralized applications.