pub fn complete_external_event_signing(
request: ExternalEventSigningRequest,
signature: String,
) -> Result<SignedEvent, SoftchatError>Expand description
Attach and verify a provider signature.
The request’s ID is recomputed and the resulting BIP-340 signature is verified before a signed event is returned.
§Errors
Any malformed, mismatched, or unauthenticated provider signature maps to
SoftchatError::InvalidExternalSignature.