Interface: SignAgreementParamsV5
Sign Agreement. Only master account.
category(legacy): 2 = metals (XAU/XAG perps; stock perps share this); 3 = crude oil. New enum values are not added here; prefercategoryV2.categoryV2(recommended): 1 = metals; 2 = crude oil. Additional values may be added by the API; use a numeric literal or variable.- Either
categoryorcategoryV2must be sent.
Properties
| Property | Type |
|---|---|
agree | boolean |
category? | 2 | 3 |
categoryV2? | number |