CreateAsset Method

Treatail NEO Core Logic

Treatail.NEO

Contract..::..CreateAsset Method

Creates a treatail asset with the specified details and assigns the target address as the owner

Namespace:  Treatail.NEO.Core.Models
Assembly:  Treatail.NEO.Core (in Treatail.NEO.Core.dll)

Syntax


public bool CreateAsset(
	string treatailId,
	string address,
	string assetDetails,
	bool chargeTTL
)
Public Function CreateAsset ( _
	treatailId As String, _
	address As String, _
	assetDetails As String, _
	chargeTTL As Boolean _
) As Boolean
public:
bool^ CreateAsset(
	String^ treatailId, 
	String^ address, 
	String^ assetDetails, 
	bool^ chargeTTL
)

Parameters

treatailId
Type: String
Treatail Asset identifier
address
Type: String
Address to assign ownership to
assetDetails
Type: String
Details of the asset
chargeTTL
Type: Boolean
Whether or not to charge the account TTL for the create

Return Value

Success