REST APIWallet & TransactTransaction request

POST

Exchange commitments for EdDSA transactions (lite)

Exchange commitments for signing EdDSA transactions. This route is only valid for transaction request lite. You must call this endpoint before calling Create a signature share for the transaction request.

Path Params

  • walletId string required

    at least 1 characters · matches ^[0-9a-f]{32}$

  • txRequestId string uuid required
    The ID of the transaction request

Body Params

object

  • commitmentShare object required
    The user or backup to the commitment share.
    commitmentShare object
    • type string enum required
      The type of the commitment share
      commitment
    • from string enum required
      The source of the commitment share
      userbackupbitgo
    • to string enum required
      The recipient of the commitment share.
      userbackupbitgo
    • share string required
      The commitment share.
  • encryptedSignerShare object required
    The encrypted signer share.
    encryptedSignerShare object
    • type string enum required
      encryptedSignerShareencryptedRShare
    • from string enum required
      The source of the commitment share
      userbackupbitgo
    • to string enum required
      The recipient of the commitment share.
      userbackupbitgo
    • share string required
      The commitment share.

Responses

200
OK

Response Body

object

  • commitmentShare object required
    The commitment share.
    commitmentShare object
    • type string enum required
      The type of the commitment share
      commitment
    • from string enum required
      The source of the commitment share
      userbackupbitgo
    • to string enum required
      The recipient of the commitment share.
      userbackupbitgo
    • share string required
      The commitment share.
400
Bad Request

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
401
Unauthorized

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
403
Forbidden

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
404
Not Found

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id