generatePreGeneratedShares

Generates both signing shares via the Enclave MPC API POST /v1/generate endpoint, opting into the pre-generated wallet pool. Returns the decoded response; the caller is responsible for validating the response and transforming the base64 shares into typed MpcShares.

Return

The decoded GenerateWithEnclaveApiResponse containing both curve shares.

Parameters

metadataStr

The same MPC metadata JSON string sent to the binary.