UseAccountsResult
Defined in: packages/react/src/hooks/useAccounts.ts:10
Properties
Section titled “Properties”data:
object[]
Defined in: packages/react/src/hooks/useAccounts.ts:12
List of connected accounts
disabled?
Section titled “disabled?”
optionaldisabled:boolean
externalTxId?
Section titled “externalTxId?”
optionalexternalTxId:string
hint:
string
namespace
Section titled “namespace”namespace:
string
networkId
Section titled “networkId”networkId:
string
partyId
Section titled “partyId”partyId:
string
primary
Section titled “primary”primary:
boolean
publicKey
Section titled “publicKey”publicKey:
string
reason?
Section titled “reason?”
optionalreason:string
signingProviderId
Section titled “signingProviderId”signingProviderId:
string
status
Section titled “status”status:
"initialized"|"allocated"
topologyTransactions?
Section titled “topologyTransactions?”
optionaltopologyTransactions:string
error:
Error|null
Defined in: packages/react/src/hooks/useAccounts.ts:18
Error if accounts could not be retrieved
isConnected
Section titled “isConnected”isConnected:
boolean
Defined in: packages/react/src/hooks/useAccounts.ts:20
Whether the wallet is connected
isError
Section titled “isError”isError:
boolean
Defined in: packages/react/src/hooks/useAccounts.ts:16
Whether there was an error getting accounts
isLoading
Section titled “isLoading”isLoading:
boolean
Defined in: packages/react/src/hooks/useAccounts.ts:14
Whether accounts are loading (during initial connection)