View Source Turnkey.APIClient.Signer (TurnkeyEx v0.0.1-alpha2)

Turnkey client for signing data

https://docs.turnkey.com/api#tag/Signers/operation/SignRawPayload

Summary

Functions

Signs the given payload using the given key.

Functions

Link to this function

sign(organization_id, signer, payload, opts \\ [])

View Source
@spec sign(String.t(), <<_::160>>, binary(), Keyword.t()) ::
  {:ok, %{v: integer(), r: <<_::256>>, s: <<_::256>>}} | {:error, term()}

Signs the given payload using the given key.

TODO: How do we provide a Webauthn sig?