Account
Set margin configuration
Set margin configuration for an account and market
post/account/margin/{market}
Path parameters
marketstring required
Market Name - example: BTC-USD-PERP
Request body
Example request
{
"leverage": 10,
"margin_type": "CROSS",
"on_behalf_of_account": "0x1234567890abcdef"
}Response
OK
Changes
Changed in 1 of the 50 revisions of this API.12
- ▲
added required request body
request-body-added-required
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲