@clawcard/cli 3.0.16 → 3.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/agent.js +5 -0
package/package.json
CHANGED
package/src/commands/agent.js
CHANGED
|
@@ -581,8 +581,13 @@ export async function agentWalletTransactionsCmd(options) {
|
|
|
581
581
|
const dir = t.type === "receive" ? chalk.green("←") : t.type === "send" ? chalk.blue("→") : chalk.yellow("⟳");
|
|
582
582
|
const date = new Date(t.createdAt).toLocaleString();
|
|
583
583
|
console.log(` ${dir} ${t.amountUsdc} USDC ${chalk.dim(t.counterparty || "")} ${chalk.dim(t.protocol)} ${chalk.dim(date)}`);
|
|
584
|
+
if (t.txHash) {
|
|
585
|
+
console.log(` ${chalk.dim("https://basescan.org/tx/" + t.txHash)}`);
|
|
586
|
+
}
|
|
584
587
|
}
|
|
585
588
|
console.log();
|
|
589
|
+
console.log(chalk.dim(` View full ledger: https://clawcard.sh/dashboard`));
|
|
590
|
+
console.log();
|
|
586
591
|
} catch (err) {
|
|
587
592
|
if (options.json) return output({ error: err.message }, true);
|
|
588
593
|
console.log(` Error: ${err.message}`);
|