{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://api-evangelist.github.io/deribit/json-schema/get_custody_balance.json", "title": "Get Custody Balance", "properties": { "currency": { "$ref": "#/components/schemas/currency" }, "equity": { "type": "number", "description": "Equity of the main account" }, "available_withdrawal_funds": { "type": "number", "description": "Funds available for withdrawal" }, "total_equity": { "type": "number", "description": "Equity of the main account + subaccounts. Takes into account external equity." }, "custody": { "type": "number", "description": "Custody balance" }, "pnl": { "type": "number", "description": "Profit net loss of the user (total_equity - custody)" }, "encrypted": { "type": "number", "description": "The encrypted result json in base64 format. It can be used to verify that values are generated by Deribit." } }, "required": [ "currency", "equity", "available_withdrawal_funds", "total_equity", "custody", "pnl" ], "type": "object" }