TransferAsset Method

Treatail NEO Core Logic

Treatail.NEO

TreatailContract..::..TransferAsset Method

Transfers ownership of a Treatail Asset between addresses

Namespace:  Treatail.NEO.SmartContracts.TreatailContract
Assembly:  Treatail.NEO.SmartContracts.TreatailContract (in Treatail.NEO.SmartContracts.TreatailContract.dll)

Syntax


public static bool TransferAsset(
	byte[] treatailId,
	byte[] from,
	byte[] to
)
Public Shared Function TransferAsset ( _
	treatailId As Byte(), _
	from As Byte(), _
	to As Byte() _
) As Boolean
public:
static bool^ TransferAsset(
	array<unsigned char^>^ treatailId, 
	array<unsigned char^>^ from, 
	array<unsigned char^>^ to
)

Parameters

treatailId
Type: array<Byte>[]()[][]
string - Treatail Asset identifier
from
Type: array<Byte>[]()[][]
byte[] - address of the current owner of the Treatail Asset
to
Type: array<Byte>[]()[][]
byte[] - address of the new owner for the Treatail Asset

Return Value

bool - success