get Share
Retrieves a cryptographic share for a specific chain ID.
Return
The PortalMpcGeneratedShare if found.
Parameters
chain Id
The ID of the chain for which to retrieve the share.
Throws
If no share is found or chainId is in the wrong format.
if client is null.
Retrieves a cryptographic share for a specific PortalNamespace.
This function first attempts to read the share using the current key format. If that fails, it falls back to reading legacy share formats.
Return
The PortalMpcGeneratedShare if found.
Parameters
namespace
The PortalNamespace for which to retrieve the share.
Throws
If no share is found.
If the client is not set.