Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function useEvmAccounts(): { evmAccounts: | null | EndUserEvmAccount[]; };
{ evmAccounts: | null | EndUserEvmAccount[]; }
evmAccounts
null
EndUserEvmAccount
function EVMAccountsList() { const { evmAccounts } = useEvmAccounts(); if (!evmAccounts || evmAccounts.length === 0) { return <p>No EVM accounts found</p>; } return ( <div> <h3>Your EVM Accounts</h3> <ul> {evmAccounts.map((account, index) => ( <li key={account.address}> Account {index + 1}: {account.address} <br /> Created: {new Date(account.createdAt).toLocaleDateString()} </li> ))} </ul> </div> ); }
Was this page helpful?