HTTPWalletJSON
post/createHmac

Request

  • Base URL
    http://localhost:3321
  • Auth
    none declared

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
  ]
}

Changes

    • breaking

      the request property's minItems was increased to 2

    • info

      added subschema #1 subschema #2 to the request property 'prefixItems' list

    • breaking

      removed subschema #1 subschema #2 from the request property 'prefixItems' list