SignatureEnvelope.getType
Determines the signature type of an envelope.
Imports
Named
import { SignatureEnvelope } from 'ox/tempo'Examples
import { SignatureEnvelope } from 'ox/tempo'
const type = SignatureEnvelope.getType({
signature: { r: 0n, s: 0n, yParity: 0 },
})
'secp256k1'Definition
function getType<envelope>(
envelope: envelope,
): GetType<envelope>Source: src/tempo/SignatureEnvelope.ts
Parameters
envelope
- Type:
envelope
The signature envelope to inspect.
Return Type
The signature type ('secp256k1', 'p256', or 'webAuthn').
GetType<envelope>

