Create Method

Treatail NEO Core Logic

Treatail.NEO

AssetController..::..Create Method

Create a Treatail Asset

Namespace:  Treatail.NEO.WebApi.Controllers
Assembly:  Treatail.NEO.WebApi (in Treatail.NEO.WebApi.dll)

Syntax


[HttpPostAttribute]
public ActionResult Create(
	string privateKeyHex,
	string treatailAssetId,
	string ownerAddress,
	string assetDetails,
	bool chargeTTL
)
<HttpPostAttribute> _
Public Function Create ( _
	privateKeyHex As String, _
	treatailAssetId As String, _
	ownerAddress As String, _
	assetDetails As String, _
	chargeTTL As Boolean _
) As ActionResult
[HttpPostAttribute]
public:
ActionResult^ Create(
	String^ privateKeyHex, 
	String^ treatailAssetId, 
	String^ ownerAddress, 
	String^ assetDetails, 
	bool^ chargeTTL
)

Parameters

privateKeyHex
Type: String
The private key of the signing wallet for the tranasction
treatailAssetId
Type: String
Treatail Asset identifier to be created
ownerAddress
Type: String
Address to assign ownership to
assetDetails
Type: String
Details of the asset
chargeTTL
Type: Boolean

Return Value