v1

latestOpenAPI 3.1.02026-07-17283353.4 KB
HTTPWalletJSON

Creates HMAC

post/createHmac

Request body

seekPermissionboolean
datainteger[]
keyIDstring
privilegedReasonstring
counterpartystring
privilegedboolean

Example request

{
  "data": [
    115,
    101,
    99,
    114,
    101,
    116,
    115
  ],
  "protocolID": [
    0,
    "todo token"
  ],
  "keyID": "2",
  "privilegedReason": "special reasons",
  "counterparty": "anyone"
}

Response

The HMAC

hmacinteger[]

Example response

{
  "hmac": [
    114,
    178,
    137,
    236,
    120,
    224,
    169,
    40,
    197,
    101,
    72,
    10,
    67,
    84,
    83,
    227,
    10,
    203,
    146,
    237,
    219,
    59,
    120,
    255,
    22,
    139,
    40,
    115,
    124,
    246,
    168,
    73
  ]
}