-
카테고리
-
세부 분야
블록체인
-
해결 여부
미해결
transcation, contract api 에러
19.06.05 17:57 작성 조회수 115
0
안녕하세요.
transfer 는 잘되는데
transcation, contract api는 아래와 같이 에러가 납니다.
뭐가 문제일까요?
const Eos = require('eosjs');
const config = {
httpEndpoint: 'https://api-kylin.eosasia.one',
chainId: '5fff1dae8dc8e2fc4d5b23b2c7665c97f9e9d8edf2b6485a86ba311c25639191',
keyProvider: ['5JWE7GiLKF7GHdpMMPT26CMCx8vdtTg8Qq8UTTyPLK3xe5zFQz4'],
};
Eos(config).contract('eosio.token')
.then(coin => coin.transfer('rozeus111111', 'rozeus111112', '1.0000 EOS', 'test Contract Transfer'))
.then(console.log).catch(console.error);
===> 에러 내용
|/Users/hyungsoolim/eosex|$ node transfer.js {"code":500,"message":"Internal Service Error",
"error":{"code":3040003,"name":"tx_no_auths","what":"Transaction should have at least one required auth ority",
"details":[{"message":"transaction must have at least one authorization","file":"transaction_context.cpp",
"line_number":744,"method":"validate_ referenced_accounts"}]}}
답변을 작성해보세요.
답변 0