新手问答 rpc 创建 EOS 可投票账户失败

gk5 · September 17, 2018 · Last by gk5 replied at September 18, 2018 · 911 hits

我在命令行部署了eosio.system合约,用命令行system newaccount创建账户成功,在用rpc接口组装事务->签名->创建EOS可投票账户,到创建账户的时候报错,请大神指导,谢谢!

curl http://192.168.1.56:8889/v1/chain/push_transaction -X POST -d { "compression": "none", "transaction": { "expiration": "2018-09-17T08:58:39.500", "ref_block_num": 66291, "ref_block_prefix": 1880256704, "actions": [ { "account": "eosio", "name": "newaccount", "authorization": [ { "actor": "eosio", "permission": "owner" } ], "data": "0000000000ea3055000000c064939cd401000000010003b115ab056de0a9026a8f83e29c3f9aa8450b09ac02ac60d4cb1196a7e9682efc0100000001000000010003b115ab056de0a9026a8f83e29c3f9aa8450b09ac02ac60d4cb1196a7e9682efc01000000" }, { "account": "eosio", "name": "delegatebw", "authorization": [ { "actor": "eosio", "permission": "owner" } ], "data": "00956298aa482932104250d9a88b50bd400d0300000000000453595300000000400d030000000000045359530000000000" }, { "account": "eosio", "name": "buyram", "authorization": [ { "actor": "eosio", "permission": "owner" } ], "data": "0000000000ea3055000000c064939cd4400d0300000000000453595300000000" } ], "signatures": [ "SIG_K1_Kiwfyjdn37x6zRT45Svk2wxMD7NwduH5R8ha3PBJSuTr5mtVGDAdmE2cdmoFXHuCuVBm3C64Wg3h6ENXhoAZzcZXKAPfHk" ] } }

{"code":500,"message":"Internal Service Error","error":{"code":3010010,"name":"packed_transaction_type_exception","what":"Invalid packed transaction","details":[{"message":"Missing signatures","file":"abi_serializer.hpp","line_number":496,"method":"extract"},{"message":"Failed to deserialize variant","file":"abi_serializer.hpp","line_number":604,"method":"from_variant"},{"message":"Invalid packed transaction","file":"chain_plugin.cpp","line_number":1401,"method":"push_transaction"}]}}

共收到 2 条回复

Missing signatures签名不正确

lome 回复

恩恩,已经解决了,谢谢

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up