settings

Update pinned settings

Updates the host's pinned price settings. Requires an explorer.

put/settings/pinned

Request

  • Base URL
    http://localhost:9980/api
  • URL
    http://localhost:9980/api/settings/pinned
  • Auth
    HTTP basic

Request body

currencystring required

Three-letter external currency code (e.g. "usd"). Required when any pin is enabled.

thresholdnumber double required

Percentage threshold (0 to 1) that triggers a settings update when the exchange rate changes.

Response

Settings updated.

Changes

No recorded changes to this operation across all 15 revisions of this API.