ACCOUNTS AND LOANS RECEIVABLE, NET OF ALLOWANCE - Schedule of accounts and loans receivable (Details) - USD ($) $ in Thousands |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|
| Accounts, Notes, Loans and Financing Receivable [Line Items] | ||
| Trade finance receivables | $ 0 | $ 1,865 |
| Custodial fee revenue receivable | 8,434 | 23,727 |
| Loans receivable | 98,203 | 218,461 |
| Crypto asset loan receivables | 85,826 | 0 |
| Interest and other receivables | 223,413 | 85,204 |
| Allowance for doubtful accounts | (11,500) | (24,551) |
| Accounts and loans receivable, net of allowance | 404,376 | 304,706 |
| Accounts receivable denominated in crypto assets | ||
| Accounts, Notes, Loans and Financing Receivable [Line Items] | ||
| Interest and other receivables | 6,900 | 26,400 |
| Unlikely to be Collected Financing Receivable | ||
| Accounts, Notes, Loans and Financing Receivable [Line Items] | ||
| Allowance for doubtful accounts | $ (3,200) | $ (16,800) |