Skip to content

ecdsaPkRecover

Algorand TypeScript


Algorand TypeScript / op / ecdsaPkRecover

ecdsaPkRecover(v, a, b, c, d): readonly [bytes<32>, bytes<32>]

Defined in: op.ts:848

for (data A, recovery id B, signature C, D) recover a public key S (top) and R elements of a signature, recovery id and data (bottom) are expected on the stack and used to deriver a public key. All values are big-endian encoded. The signed data must be 32 bytes long.

Ecdsa

bytes<32> | bytes

uint64

bytes<32> | bytes

bytes<32> | bytes

readonly [bytes<32>, bytes<32>]

Native TEAL opcode: ecdsa_pk_recover Min AVM version: 5