AutoDeleveraging
Name
Type
Required
Description
type
String
yes
The value is "AutoDeleveraging"
oraclePrices
struct
yes
contains all infomation about contract price and margin price
adlSize
BigUint
yes
The ADL size, the value can't be zero
signature
yes
The pub key hash corresponding to the signature must be aligned with the initiator account
where the ContractPrice
and SpotPriceInfo
defined as below:
For example:
Sign autoDeleveraging
For more detail please refer to Golang example in SDK
Last updated