Native Documentation
  • introduction
    • What is Native
    • About Native V2
    • Benefits for Key Players
  • SOLUTION
    • Native Credit Pool
    • Native Swap Engine
  • CONCEPTS
    • Orderbook
    • Firm Quote Orders
    • Auto Sign Orders
    • Swap Fees
    • Slippage
    • Base and Listed Assets
    • Single-Sided Liquidity Pools
    • Total Available Liquidity
    • Liquidity Pairing
    • Liquidity Bootstrapping
    • Health Ratio
    • Earning Fees and Incentives
    • Credit-Based Swap
      • Collateral Factor
      • PMM Credit
      • Settlement and Liquidation
    • Market-Responsive Pricing
    • Risks
  • USER GUIDE
    • Add Liquidity
    • Pair Liquidity
    • Claim Rewards
    • Swap with Native
  • Build with Native
    • Swap Aggregators
      • Guide
      • FirmQuote Swap APIs
        • GET Orderbook
        • GET Indicative quote
        • GET Firm quote
    • Asset Issuers
      • For Pegged Assets
      • For General Assets
  • Resources
    • Addresses
    • Audits
    • Github
    • System Status
    • Business Source License
    • Media Kit
Powered by GitBook
On this page
  1. Build with Native
  2. Private Market Makers[june]
  3. PMM API

GET Market maker settings

Last updated 10 months ago

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
}

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
500
There was an exception with the server
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
}