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

post/v1/liquidity/params/{offchainAsset}

Request body

Example request

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

Response

OK

Changes

Changed in 4 of the 50 revisions of this API.816

    • added subschema #3 to the parameters/rules/items/channel_id/oneOf[ShortChannelId]/ request property oneOf list

      request-property-one-of-added

  • 2fa64114517823See the full diff
    • removed subschema #1 subschema #2 from the parameters/rules/items/channel_id request property oneOf list

      request-property-one-of-removed

    • the parameters/rules/items/pubkey request property type/format changed from string/ to /

      request-property-type-changed

    • the parameters/rules/items/pubkey request property's minLength was decreased from 33 to 0

      request-property-min-length-decreased

    • added PubKey to the parameters/rules/items/pubkey request property oneOf list

      request-property-one-of-added

    • added ShortChannelId to the parameters/rules/items/channel_id request property oneOf list

      request-property-one-of-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • request property parameters/rules/items/channel_id list-of-types was widened by adding types integer to media type application/json

      request-property-list-of-types-widened

    • removed the pattern (\d{3})x(\d{3})x(\d{2}) from the request property parameters/rules/items/channel_id

      request-property-pattern-removed

  • ebc31c9ff35861See the full diff
    • the parameters/rules/items/pubkey request property's minLength was increased from 0 to 33

      request-property-min-length-increased

    • removed PubKey from the parameters/rules/items/pubkey request property oneOf list

      request-property-one-of-removed

    • removed ShortChannelId from the parameters/rules/items/channel_id request property oneOf list

      request-property-one-of-removed

    • added the pattern (\d{3})x(\d{3})x(\d{2}) to the request property parameters/rules/items/channel_id

      request-property-pattern-added

    • the parameters/rules/items/channel_id request property type/format changed from / to string/

      request-property-type-changed

    • the parameters/rules/items/pubkey request property type/format changed from / to string/

      request-property-type-changed

    • the parameters/rules/items/pubkey request property's maxLength was set to 33

      request-property-max-length-set

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog