static int RunListAndReturnExitCode(ListOptions opts) { // get account var account = GetAccount(opts.Seed, opts.Base58); Console.WriteLine($"Address: {account.Address}"); // get transaction list var node = new Node(); var txs = node.ListTransactions(account.Address); Console.WriteLine("Txs:"); foreach (var tx in txs) { Console.WriteLine(JsonConvert.SerializeObject(tx.GetJson(), Formatting.Indented)); } return(0); }