> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mag3nt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Funding

> Deposits, treasury balance, and multi-network support.

## 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

```typescript theme={null}
const config = await mag3nt.status.statusGetConfig();
console.log("EVM treasury:", config.treasury?.evm);
console.log("Solana treasury:", config.treasury?.solana);
```

## Supported tokens

```typescript theme={null}
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

```typescript theme={null}
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

| Network | Chain ID       | Asset   | Contract Address                               |
| ------- | -------------- | ------- | ---------------------------------------------- |
| Base    | eip155:8453    | USDC    | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`   |
| Solana  | solana:mainnet | USDC    | `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v` |
| Tempo   | eip155:4217    | pathUSD | `0x20c0000000000000000000000000000000000000`   |
| Tempo   | eip155:4217    | USDC    | `0x20c000000000000000000000b9537d11c60e8b50`   |

## 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
