Skip to content

Issue when trying to send NFTS via transfer #21

@ChrisHoffmann96

Description

@ChrisHoffmann96

Hey, first of all thx for that repo, helps me out quite a bit and i love it!

My problem is that i cant transfer nfts, for example like:
push_transaction('atomicassets', "transfer", "accountname_here", 'active', {"from": "accountname_here", "asset_ids": ['1234', '5678'], "to": "recipient_here", "memo": "memo here" })

cause i keep getting this error:

b'Error: [\n "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",\n "Missing ATOMIC_ATTRIBUTE in pair_string_ATOMIC_ATTRIBUTE.fields.value"\n]\n at module.exports (/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eosjs_python/js/node_modules/eosjs/lib/structs.js:141:11)\n at abi (/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eosjs_python/js/node_modules/eosjs/lib/abi-cache.js:63:21)\n at /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eosjs_python/js/node_modules/eosjs/lib/abi-cache.js:46:14\n at processTicksAndRejections (internal/process/task_queues.js:93:5)\n at async Promise.all (index 0)\n'

Sadly i dont have any clue how to handle this, any help would be really appreciated @jeanrobatto !
(Sending token or interacting with other contract works fine, its really just the asset sending thats not working for me)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions