For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Order

Endpoint usage

POST https://open.tronify.io/api/tronRent/flashUnstakeOrder

The fields with * are required, and the fields without * are optional

Request Body

Name
Type
Description

fromAddress*

String

User address (Wallet address)

receiveAddress*

String

Receiving Address

sourceFlag*

Stringff

Source channel (Both sides need to agree on a name to represent the channel of the third parties)

signedMsg*

String

Wallet Signature

connectWalletType

String

Wallet Type

{
    "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
        }
    }
}
 

code example

Postman example

Last updated