type AgentWalletBalanceLine =
| {
address: string;
available: string;
kind: "self-custody";
network: | "EthereumAnvil"
| "BaseSepolia"
| "BaseMainnet"
| "XdcApothem"
| "XdcMainnet"
| "StellarQuickstart"
| "StellarTestnet"
| "StellarMainnet";
unit: "usdc";
valueRef: string | null;
}
| {
available: string;
expiresAt: string;
kind: "sponsor";
unit: "usdc";
valueRef: string | null;
}
| {
available: string;
details: {
nextExpiry: | {
at: string;
remainingEur: string;
}
| null;
welcomeRemainingEur: string;
};
display: | {
amount: string;
currency: "EUR" | "USD" | "JPY";
}
| null;
kind: "prepaid";
unit: "eur";
};