Skip to main content
Version: 1.1.6

BIP340 - Sign multiple messages using key shares

POST 

/bip340/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.

    key_id KeyIdrequired
    msg stringrequired

    The message to be signed. Has to be hex encoded.

    room_uuid stringrequired
    tweak string
  • ]

Responses

Schema

  • Array [

  • oneOf

    Signature

    object

    required

    signature stringrequired
  • ]

Loading...