Max LP Mintable
Gets the max amount of base LP mintable possible for a given product and a given subaccount.
Rate limits
48 requests/min or 8 requests every 10 seconds per IP address. (weight = 50)
Request
Request Parameters
Parameter
Type
Required
Description
sender
string
Yes
A bytes32
sent as a hex string; includes the address and the subaccount identifier.
product_id
number
Yes
Id of perp / spot product for which to retrieve max LP mintable base amount.
spot_leverage
boolean
No
Boolean sent as a string. indicates whether leverage should be used; when set to false
, returns the max amount of base LP mintable possible without borrow. Defaults to true
Response
{
"status": "success",
"data": {
"max_base_amount": "34250782930221490366619",
"max_quote_amount": "34250782930221490366619"
},
"request_type": "query_max_lp_mintable",
}
Last updated