Untitled
unknown
json
4 years ago
3.1 kB
10
Indexable
{
"function_name": "easytransferassetbyprivate",
"path": "https://api.nileex.io/wallet/easytransferassetbyprivate",
"method": "POST",
"arguments": [
{
"name": "privateKey",
"type": "STRING",
"description": "Private key"
},
{
"name": "toAddress",
"type": "STRING",
"description": "wallet receiver addres"
},
{
"name": "amount",
"type": "INT",
"description": "Token transfer amount"
},
{
"name": "assetId",
"type": "STRING",
"description": "Token id, default hexString"
}
],
"is_simple": true,
"error_message": [
"Check your input information."
],
"help_message": [
"Transfer TRX using private key",
"usage: /walletcli <player> %args%"
],
"success_message": [
"&a✔ Success!",
"%raw_json%"
],
"json_return_variables": []
},
{
"function_name": "gettransactionsign",
"path": "https://api.nileex.io/wallet/gettransactionsign",
"method": "POST",
"arguments": [
{
"name": "transaction",
"type": "JSONOBJECT",
"description": "{\"txID\": \"txId\",\"raw_data\":{\"contract\":[{\"parameter\":{\"value\":{\"amount\":1000,\"owner_address\": \"owner_address\",\"to_address\": \"to_address\"},\"type_url\": \"type.googleapis.com/protocol.TransferContract\"},\"type\":\"TransferContract\"}],\"ref_block_bytes\":\"267e\",\"ref_block_hash\":\"9a447d222e8de9f2\",\"expiration\":1530893064000,\"timestamp\":1530893006233}}"
},
{
"name": "privateKey",
"type": "STRING",
"description": "Private key"
}
],
"error_message": [
"Check your input information."
],
"help_message": [
"Create an transaction from the owner to the receiver",
"usage: /walletcli <player> %args%"
],
"success_message": [
"&a✔ Success!",
"%raw_json%"
],
"json_return_variables": []
},
{
"function_name": "broadcasttransaction",
"path": "https://api.nileex.io/wallet/broadcasttransaction",
"method": "POST",
"arguments": [
{
"name": "signature",
"type": "JSONARRAY",
"description": ""
},
{
"name": "raw_data",
"type": "JSONOBJECT",
"description": "RAW DATA"
},
{
"name": "txID",
"type": "STRING",
"description": "TX key"
}
],
"error_message": [
"Check your input information."
],
"help_message": [
"Create an transaction from the owner to the receiver",
"usage: /walletcli <player> %args%"
],
"success_message": [
"&a✔ Success!",
"%raw_json%"
],
"json_return_variables": []
}Editor is loading...