transferOwnership
Allows transferring ownership of a protectedData
entity to a new owner, identified by their ETH address. The return value provides a transaction hash and confirmation of the new owner of the protectedData
. Only the current owner of the protectedData
may invoke this method.
Ownership of the protectedData
can be renounced by transferring it to the burn address 0x000000000000000000000000000000000000dEaD
.
Usage
Return value example
Parameters
protectedData (required)
ETH address of the protectedData
owned by you which is to be transferred to a new owner.
newOwner (required)
ETH address for the new owner for the protectedData
.
Result
The result of this method is an array of objects identifying the new owner. The objects contain the three fields:
address
The ETH address of the protectedData
you transferred.
to
The ETH address of the new owner of the protectedData
.
txHash
The ID of the transaction that happened on iExec's side chain. You may view details on the transaction using the iExec explorer.
Last updated