GET Market maker settings

Get market maker settings data that includes information such as additional credit limit, pause status, and liquidation factor.

get
Query parameters
addressstringRequired

The address of the market maker

Pattern: ^0x[a-fA-F0-9]{40}$
chainstring · enumRequired

Native blockchain name, eg: ethereum, bsc, etc

Example: ethereumPossible values:
Header parameters
apiKeystringRequired

The API key that was assigned to you by Native

Responses
200
Success
application/json
get
GET /lend/v1/lend/mm-settings HTTP/1.1
Host: newapi.native.org
apiKey: text
Accept: */*
{
  "mm_address": "text",
  "settler": "text",
  "chain": {},
  "mm_partner": {},
  "hard_limit_usd_threshold": 1,
  "token_amount_limit": {},
  "is_forced_paused": true,
  "is_paused": true,
  "is_interest_paused": true,
  "liquidation_factor": 1,
  "leverage": 1,
  "whitelist_ips": [
    "text"
  ],
  "min_value_output_threshold": 1
}

Example response

{
    "mm_address": "0x2447f272547760c66FB9758E9bB87F0EA0D6EDD1",
    "settler": "0x3Bdd75701dc1683f1229D77d5487A469Bae561e0",
    "chain": "ethereum",
    "mm_partner": "testPmm",
    "hard_limit_usd_threshold": 10000, //additional credit limit on top of collateral
    "token_amount_limit": null,
    "is_forced_paused": false, //force paused by admin from all activities
    "is_paused": false, //pause borrowing because of time delay of settlement or collateral removal
    "is_interest_paused": false
}

Last updated