Exemplo n.º 1
0
        public async Task AbiBinToJson()
        {
            var binArgsResult = await DefaultApi.AbiJsonToBin(new AbiJsonToBinRequest()
            {
                code   = "eosio.token",
                action = "transfer",
                args   = new Dictionary <string, object>()
                {
                    { "from", "eosio" },
                    { "to", "eosio.names" },
                    { "quantity", "1.0000 EOS" },
                    { "memo", "hello crypto world!" }
                }
            });

            await DefaultApi.AbiBinToJson(new AbiBinToJsonRequest()
            {
                code    = "eosio.token",
                action  = "transfer",
                binargs = binArgsResult.binargs
            });
        }