Skip to main content

How funding works

  1. Deposit USDC to your treasury address on any supported EVM network or Solana, or pathUSD/USDC on Tempo.
  2. System detects the deposit automatically (no API call needed)
  3. Balance updates:your treasury balance reflects the deposit
  4. Issue cards backed by your available balance

Check your treasury address

const config = await mag3nt.status.statusGetConfig();
console.log("EVM treasury:", config.treasury?.evm);
console.log("Solana treasury:", config.treasury?.solana);

Supported tokens

const tokens = await mag3nt.funding.fundingListTokens();
// Returns supported tokens per network:
// eip155:8453 → USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)
// solana:mainnet → USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v)
// eip155:4217 → pathUSD (0x20c0000000000000000000000000000000000000), USDC (0x20c000000000000000000000b9537d11c60e8b50)

Check balance

const balance = await mag3nt.funding.fundingGetBalance();
// Returns:
// - total_funded: Total USDC/pathUSD deposited
// - total_allocated: Amount locked in active cards
// - total_spent: Amount spent through transactions
// - available: Spendable balance

Supported Settlement Networks

NetworkChain IDAssetContract Address
Baseeip155:8453USDC0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Solanasolana:mainnetUSDCEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Tempoeip155:4217pathUSD0x20c0000000000000000000000000000000000000
Tempoeip155:4217USDC0x20c000000000000000000000b9537d11c60e8b50

Supported USDC Account Networks (Funding)

You can fund your treasury by depositing USDC on the following networks:
  • EVMs: Optimism, Arbitrum, Polygon, Avalanche, Ethereum, Base, Base Sepolia
  • Solana: Mainnet