This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Description
Version of EOSJS
[email protected]/lib/eos.min.js
Describe the bug
This piece of code throwing below error :
const result = await eos.transaction({
actions: [{
account: 'atomicassets',
name: 'transfer',
authorization: [{
actor: user.accountName,
permission: 'active',
}],
data: formData,
}]
}, {
blocksBehind: 3,
expireSeconds: 30,
});
Got Following Error when trying to hit
Caught exception: Error: [
"Unrecognized type or struct ATOMIC_ATTRIBUTE.variant_int8_int16_int32_int64_uint8_uint16_uint32_uint64_float32_float64_string_INT8_VEC_INT16_VEC_INT32_VEC_INT64_VEC_UINT8_VEC_UINT16_VEC_UINT32_VEC_UINT64_VEC_FLOAT_VEC_DOUBLE_VEC_STRING_VEC",
"Missing ATOMIC_ATTRIBUTE in pair_string_ATOMIC_ATTRIBUTE.fields.value"
]
To Reproduce
Simply referred this https://github.com/EOSIO/eosjs/blob/master/docs/basic-usage/00_browser.md
Expected behavior
It should work and do the transfer token.
Screenshots

Thanks in advance for your help.