fix: resolve TX-DYNAMIC 404 error and enhance multi-chain API support

This commit is contained in:
mstfyldz
2026-03-13 03:03:35 +03:00
parent 7c9fa48d0b
commit 5f0df83686
5 changed files with 65 additions and 65 deletions

View File

@@ -39,7 +39,9 @@ export async function GET(
// Only expose public wallet addresses, not private keys
wallets: metadata.wallets ? {
EVM: metadata.wallets.EVM?.address,
SOLANA: metadata.wallets.SOLANA?.address
SOLANA: metadata.wallets.SOLANA?.address,
TRON: metadata.wallets.TRON?.address,
BITCOIN: metadata.wallets.BITCOIN?.address
} : null,
clientSecret: tx.stripe_pi_id, // For Stripe/Mock
nextAction: metadata.nextAction || 'none',