Vault
USDC vault for Vordex trading collateral.
Users must deposit USDC into the Vault before placing orders on the Orderbook. The Vault tracks free and locked balances per user. Locked balance represents funds tied to open orders.
USDC on Vordium uses 6 decimals.
Deposit
Deposits are not a vault method call. Deposit USDC into the Arbitrum bridge; the relayer credits your Vordium vault (BUSDC) within ~30s. See the Bridge Guide.
Read balances (REST)
# USDC vault balance for an address (all fields 6 decimals)
GET https://rpc.vordium.com/balance/{address}
# -> { "total":0, "free_balance":0, "locked":0, "available":0,
# "reserved":0, "in_positions":0, ... }
# Vault / reserve totals
GET https://rpc.vordium.com/reserves
# -> { "total_usdc_vault": 0, "vlp_pool_value": 0, ... }Example — read your vault balance
javascriptCopyconst res = await fetch(https://rpc.vordium.com/balance/$\{address\}`);
const b = await res.json();
console.log("free USDC:", b.free_balance / 1e6);
console.log("locked USDC:", b.locked / 1e6);
console.log("total USDC:", b.total / 1e6);`
Withdrawals are submitted as an EIP-712-signed request routed through consensus (the relayer pays out USDC on Arbitrum) — see the Bridge Guide. There is no withdraw() contract method.