eos
eos copied to clipboard
3090003 error
use rpc push_transcation:
{
"compression": "none",
"transaction":
{
"expiration": "2018-05-30T19:20:21",
"ref_block_num": 210539,
"ref_block_prefix": 633989158,
"actions": [
{
"account": "eosio.token",
"name": "transfer",
"authorization": [
{
"actor": "w.1",
"permission": "active"
}],
"data": "00000000000002e000000000000004e0a08601000000000004585041000000000478787878"
}]
},
"signatures": ["SIG_K1_KX8wz2WEpnn2ZPqSeZ8qT6rJLSv2Z6vcBFNEzTtfFKLr9NPk1wHrALCg19fv6JQrTmQH8sLct7DSKjWNEsAsM9tQCi2dhA"]
}
return error:
{
"code": 500,
"message": "Internal Service Error",
"error":
{
"code": 3090003,
"name": "unsatisfied_authorization",
"what": "provided keys, permissions, and delays do not satisfy declared authorizations",
"details": [
{
"message": "transaction declares authority '{\"actor\":\"w.1\",\"permission\":\"active\"}', but does not have signatures for it under a provided delay of 0 ms",
"file": "authorization_manager.cpp",
"line_number": 405,
"method": "check_authorization"
}]
}
}
use cleos is OK
hi ,is it ok of RPC api push_transaction ?
Resolved! when sign tx must with chain_id from get_info