Function Signature
Description
Retrieves client information from the Portal backend, including the client ID, list of wallets, and environment configuration.Parameters
This method takes no parameters.Returns
PortalClientInfo - An object containing:
PortalClientCustodian
PortalClientMetadata
PortalClientMetadataNamespaces
Each property is aPortalNamespaceMetadataItem?, and is null when the client has no wallet
for that namespace.
PortalNamespaceMetadataItem
PortalBitcoinAddressInfo
PortalP2wpkhAddressInfo
getClient() is the only way to reach a Bitcoin address from Dart. getAddress('bip122:...')
returns null, and getAddresses() carries only ethereum and solana.