v1

latestOpenAPI 3.1.02026-07-17283353.4 KB
HTTPWalletJSON

Verifies HMAC

post/verifyHmac

Request body

seekPermissionboolean
datainteger[]
hmacinteger[]
keyIDstring
privilegedReasonstring
counterpartystring
privilegedboolean

Example request

{
  "data": [
    115,
    101,
    99,
    114,
    101,
    116,
    115
  ],
  "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
  ],
  "protocolID": [
    0,
    "todo token"
  ],
  "keyID": "1",
  "privilegedReason": "I love to be secure",
  "counterparty": "anyone"
}

Response

The verification result

validboolean