Post
Share your knowledge.
How to transfer an object owned by another object?
I'm facing an issue with transferring an object A, which is owned by object B, and object B is owned by me. I'm getting an error saying the transaction was not signed by the correct sender. Does anyone know how to resolve this and properly receive object A?
- Move CLI
- Move
Answers
1It sounds like you need to use the 'Transfer To Object' (TTO) process. Make sure you check the abilities of the objects involved. The parent object type (obj_b) must allow receiving objects because it requires mutable access to its UID. Also, ensure that if the child object (obj_a) does not have the store
ability, it must be set up to be receivable. More details can be found in this table: https://docs.sui.io/concepts/transfers/transfer-to-object#custom-receiving-rules
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.