diff --git a/examples/swaps-api-nextjs-tron/package.json b/examples/swaps-api-nextjs-tron/package.json index 87de5cc..8ffe8a1 100644 --- a/examples/swaps-api-nextjs-tron/package.json +++ b/examples/swaps-api-nextjs-tron/package.json @@ -1,6 +1,6 @@ { "name": "swaps-api-nextjs-tron", - "demo": "https://swaps-api-nextjs-solana.vercel.app/", + "demo": "https://swaps-api-nextjs-tron.vercel.app/", "keywords": [ "api", "swaps", diff --git a/examples/swaps-api-nextjs-tron/src/components/Swap.tsx b/examples/swaps-api-nextjs-tron/src/components/Swap.tsx index 549676b..ac2aa55 100644 --- a/examples/swaps-api-nextjs-tron/src/components/Swap.tsx +++ b/examples/swaps-api-nextjs-tron/src/components/Swap.tsx @@ -308,7 +308,7 @@ const Swap = () => { // Broadcasting the transaction const broadcast = await window?.tronLink?.tronWeb.trx.sendRawTransaction(signedTx); - console.log(`broadcast: ${broadcast?.result}`); + console.log(`broadcast: ${broadcast?.result}`, signedTx.txID); return signedTx.txID as string; } catch (error) {