Skip to main content
Version: 1.1.6

Ecdsa - Sign multiple messages using key shares

POST 

/ecdsa/batch-sign

Perform a batch of sign operations at once. This is useful for batching multiple sign operations into a single request. every sign request in the batch is the exact same as the normal sign request

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Body

required

    sign_requests

    object[]

    required

  • Array [

  • derivation_path uint32[]
    extra_data string

    Hex encoded extra data to be passed to the Rule Server. This data should be used to pass any additional information / external state to the Rule Server that is required to properly validate the signing request.

    hash_algo HashOptionsrequired

    Possible values: [sha256, keccak256, sha256d, none]

    When the none hash algorithm is selected, no hashing is performed, and the message is used as-is. Therefore, the message must be 32 bytes long formatted as a hex string. The hash_algo field is case-insensitive.

    key_id KeyIdrequired
    msg stringrequired

    The message to be signed must be hex-encoded.

    room_uuid stringrequired
  • ]

Responses

Schema

  • Array [

  • oneOf

    Signature

    object

    required

    der stringrequired
    r stringrequired
    s stringrequired
    v uint8required
  • ]

Loading...