identifier is used to identify the character not the player.
ESX: identifier = identifier
QBCore: identifier = citizenid
Open the exchange. Useful if you are making a custom script.
exports['LuxuCEX']:OpenCEX()
Get assets from all players
Server
local Players_CEX_Assets = exports['LuxuCEX']:GetAllPlayerAssets(identifier)
-- returns: {{identifier: char:331415a231, assets:{"BTC":10,"ETH":100,....}}}
Get a specified player's cex assets
Server
local PlayerCEXassets = exports['LuxuCEX']:GetPlayerAssets(identifier)
-- returns: {"BTC":10,"ETH":100,....}