BSV blockchainBSV blockchain

createSignature

POST/createSignature

Creates a signature

Body application/json

seekPermissionboolean
datainteger[]
hashToDirectlySigninteger[]
protocolIDany[]
keyIDstring
privilegedReasonstring
counterpartystring
privilegedboolean

Response

The signature

signatureinteger[]

Invalid input

Internal server error

Request
curl -X POST "http://localhost:3321/createSignature" \
  -H "Content-Type: application/json" \
  -d '{
  "seekPermission": true,
  "data": [
    0
  ],
  "hashToDirectlySign": [
    0
  ],
  "protocolID": [
    null
  ],
  "keyID": "string",
  "privilegedReason": "string",
  "counterparty": "string",
  "privileged": false
}'
Response
{
  "signature": [
    0
  ]
}