API Reference
HTTP & WebSocket API Reference
Update user account settings, including maximum leverage per symbol. Requires Ed25519 signature.
Leverage settings are clamped between 1.0 and 50.0. The maximum leverage for a symbol cannot exceed the market’s configured maximum leverage.
cURL
curl --request POST \ --url https://exchange-api2.bulk.trade/api/v1/user-settings \ --header 'Content-Type: application/json' \ --data ' { "action": { "type": "updateusersettings", "settings": { "m": [ [ "BTC-USD", 5 ], [ "ETH-USD", 3 ] ] } }, "account": "FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7", "signer": "FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7", "signature": "5JXWgp1fW6px2Gjhw6YHhQ4wEqb6FqMam6m4yg4uRcCksH9WxSv9dVjizGfD4StGtv1z9gR71unZY6tQ6dNDdJ3K" } '
{ "status": "ok", "response": { "type": "<string>", "data": { "statuses": [ { "resting": { "oid": "<string>" } } ] } } }
Signed transaction for updating user settings
Show child attributes
Account public key (base58)
Signer public key (base58)
Ed25519 signature (base58)
Settings updated
Response from order/cancel/agent wallet operations
ok
error