Transfer Method

Treatail NEO Core Logic

Treatail.NEO

AssetController..::..Transfer Method

Transfers a Treatail Asset from one address to another

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

Syntax


[HttpPostAttribute]
public ActionResult Transfer(
	string privateKeyHex,
	string treatailAssetId,
	string fromAddress,
	string toAddress
)
<HttpPostAttribute> _
Public Function Transfer ( _
	privateKeyHex As String, _
	treatailAssetId As String, _
	fromAddress As String, _
	toAddress As String _
) As ActionResult
[HttpPostAttribute]
public:
ActionResult^ Transfer(
	String^ privateKeyHex, 
	String^ treatailAssetId, 
	String^ fromAddress, 
	String^ toAddress
)

Parameters

privateKeyHex
Type: String
Private key signing the transaction
treatailAssetId
Type: String
Treatail Asset identifier
fromAddress
Type: String
Address to send the asset from
toAddress
Type: String
Address to send the asset to

Return Value