API ReferenceTransactions, wallets, and signaturesFunction
getSignerAddress()
function getSignerAddress(ctx): `0x${string}`;Gets the connected account address.
Resolution order:
deps.accountAddress— set explicitly, available before walletClientdeps.walletClient.account.address— from the connected wallet
Parameters
| Parameter | Type | Description |
|---|---|---|
ctx | SDKContext | The SDK context. |
Returns
`0x${string}`
The address of the connected account.
Throws
WalletNotConnectedError If neither accountAddress nor
walletClient is configured.