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.
Read the selectedAddress property to get the hex address of the currently connected wallet account.
const address = window.phantom.ethereum.selectedAddress; console.log(address); // "0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5"
Was this page helpful?