Transfer Method

Treatail NEO Core Logic

Treatail.NEO

TokenController..::..Transfer Method

Transfers TTL 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 fromAddress,
	string toAddress,
	int amount
)
<HttpPostAttribute> _
Public Function Transfer ( _
	privateKeyHex As String, _
	fromAddress As String, _
	toAddress As String, _
	amount As Integer _
) As ActionResult
[HttpPostAttribute]
public:
ActionResult^ Transfer(
	String^ privateKeyHex, 
	String^ fromAddress, 
	String^ toAddress, 
	int^ amount
)

Parameters

privateKeyHex
Type: String
The private key used for the signer of the transaction
fromAddress
Type: String
Address to send the TTL from
toAddress
Type: String
Address to send the TTL to
amount
Type: Int32
The amount to send

Return Value

Success