Ejemplo n.º 1
0
        public async Task CreateWallet()
        {
            WalletManager manager = new WalletManager(this.BinanceDexApi);
            var           wallet  = await manager.CreateWalletAsync("12345678");

            var result = JsonConvert.SerializeObject(wallet.Wallet, Formatting.Indented, new JsonSerializerSettings {
                MaxDepth = 1, ReferenceLoopHandling = ReferenceLoopHandling.Ignore, Error = (sender, args) => args.Dump()
            });

            Console.WriteLine(result);
        }