POST /v1/liquidity/params/{offchainAsset}

Changed on

Overwrites the current set of parameters for the daemon's liquidity manager.

Request

  • Base URL
    https://api.server.test/v1
  • Auth
    none declared

Request body

Example request

{
  "parameters": {
    "rules": [
      {
        "pubkey": "03afbba930dc74d6412b71c31f72bfb8d4615121174dd4290cbbf83960961ba9ab",
        "channel_id": "140x10x1"
      }
    ]
  }
}

Response

OK

Changes

    • info

      added subschema #3 to the /////// request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the /// request property oneOf list

    • breaking

      the /// request property type changed from string to no type

    • info

      the /// request property's minLength was decreased from 33 to 0

    • info

      added to the /// request property oneOf list

    • info

      added to the /// request property oneOf list