创建订单
接口调用
POST https://open.tronify.io/api/tronRent/flashUnstakeOrder
以下参数带*字段为必填,不带*号为选填
Request Body
Name
Type
Description
fromAddress*
String
用户地址(钱包地址)
receiveAddress*
String
收款地址
sourceFlag*
String
渠道来源(需要双方约定一个名称来代表三方的渠道)
signedMsg*
String
钱包签名
connectWalletType
String
钱包类型
{
"resCode": 100,
"resMsg": "Success",
"data": {
"orderId": "pjfkl0fb_ghkd_maqo_5u0r_2uewb420u2hk",
"fromAddress": "TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC",
"receiveAddress": "TX5dfXNzBv6a9FiaRgK5rCJYzKuKpNzcHc",
"stakingSun": "70000000",
"unstakingSun": "0",
"balanceSun": "111002968",
"hasDelegatedEnergy": false,
"hasDelegatedBandwidth": false,
"heldTokens": [],
"unstakeLimitMin": 10,
"unstakeLimitMax": 100000,
"feeRate": 0.05,
"orderStatus": "wait_flash_unstake_approve",
"approveTransaction": {
"raw_data": {
"ref_block_bytes": "0022",
"ref_block_hash": "55bcxxxxxx",
"expiration": 1792555746000,
"contract": [
{
"parameter": {
"value": {
"owner_address": "4163dxxxxxxxxxxxxxxxxxxxxxxxx",
"owner": {
"permission_name": "owner",
"threshold": 1,
"keys": [
{
"address": "41b2xxxx922b6xxxxxxxxxxxxxx",
"weight": 1
}
]
},
"actives": [
{
"type": "Active",
"id": 2,
"permission_name": "tronify-active",
"threshold": 1,
"operations": "7ffxxxxf1fcxxxxxxxxxxxxxxxxxxxxxxx",
"keys": [
{
"address": "41b29xxxxxxxxxxxxxxxxxxxxxx",
"weight": 1
}
]
}
]
},
"type_url": "type.googleapis.com/protocol.AccountPermissionUpdateContract"
},
"type": "AccountPermissionUpdateContract"
}
],
"timestamp": 1792555086833
},
"raw_data_hex": "0a02xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"txID": "4b32xxxxxxxxxxxxxxxxxxxxxxxxxxx51",
"visible": false
}
}
}
调用示例
Postman 示例

Last updated