Liquidation
Last updated
Last updated
Name | Type | Required | Description |
---|---|---|---|
where the ContractPrice
and SpotPriceInfo
defined as below:
Name | Type | Required | Description |
---|---|---|---|
For example:
For more detail please refer to Golang example in SDK
type
String
yes
The value is "Liquidation"
accountId
yes
The account id of Liquidation
subAccountId
yes
The subaccount id
subAccountIdNonce
yes
The Nonce of subaccount id
oraclePrices
struct
yes
contains all infomation about contract price and margin price
> contractPrices
array
yes
ContractPrice array
> marginPrices
array
yes
SpotPriceInfo array
liquidationAccountId
yes
The account id of liquidation
fee
yes
The fee amount
feeToken
yes
The token id of the fee
signature
yes
The ZkLink L3 signature of Liquidation
pairId
yes
The pair id of trade pair, for example the id of BTC-USDT pair
marketPrice
yes
The market price of the associated pair
tokenId
yes
The pair id of trade pair, for example the id of BTC-USDT pair
price
yes
The spot price