v3.22.4
DERIVATIVES - Schedule of notional amount of derivative contracts outstanding (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Crypto asset borrowings with embedded derivatives | Designated as fair value hedging instruments    
Derivative [Line Items]    
Notional amount of derivative contracts outstanding in native units $ 80,999 $ 669,445
Crypto asset borrowings with embedded derivatives | Not designated as hedging instruments    
Derivative [Line Items]    
Notional amount of derivative contracts outstanding in native units 70,462 0
Crypto asset futures | Designated as fair value hedging instruments    
Derivative [Line Items]    
Notional amount of derivative contracts outstanding in native units 136,230 0
Crypto asset futures | Not designated as hedging instruments    
Derivative [Line Items]    
Notional amount of derivative contracts outstanding in native units 12,462 0
Accounts receivable denominated in crypto assets | Not designated as hedging instruments    
Derivative [Line Items]    
Notional amount of derivative contracts outstanding in native units 101,598 17,415
Other payables denominated in crypto assets | Not designated as hedging instruments    
Derivative [Line Items]    
Notional amount of derivative contracts outstanding in native units 4,267 0
Crypto assets pledged as collateral | Not designated as hedging instruments    
Derivative [Line Items]    
Notional amount of derivative contracts outstanding in native units $ 13,103 $ 0