Parameter types in use
Types of parameters you might need to use when interacting with KUNA Core API.
You will meet three types of parameters when calling endpoints: QUERY and BODY.
The QUERY parameters go after the path as query parameters, separated from path using ? and separated between each other using & chars.
For example, highlighted ?pairs=BTC_USDT is a QUERY parameter appended to the end of the same route:
{{baseURL}}/v2/ticker?pairs=BTC_USDTOr ?/v2/operation/find?skip=10&take=20 are 2 query parameters in the POST search of operations call:
{{baseURL}}/v2/operation/find?skip=12&take=12The BODY parameters are packed in a JSON inside the body of a sent message:
{
  "data": [
    {
      "balance": "3.14",
      "asset": "BTC",
      "holdBalance": "0",
      "lockBalance": "0",
      "referralBalance": "0",
      "depositAddress": {
        "BTC": {
          "address": "bc1q4curzl6agt0l3zvc3ermrzuesm2f9nevm9rll0",
          "memo": null
        }
      }
    }
  ]
}Updated 9 months ago