> For the complete documentation index, see [llms.txt](https://docs-tron.en.tronify.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-tron.en.tronify.io/flash-unstake-api/query-order-records.md).

# Query Order Records

### Endpoint usage

<mark style="color:green;">`POST`</mark> `https://open.tronify.io/api/tronRent/myUnstakeRecords`

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

#### Request Body

| Name                                          | Type   | Description                   |
| --------------------------------------------- | ------ | ----------------------------- |
| fromAddress<mark style="color:red;">\*</mark> | String | User address (Wallet address) |
| page                                          | Number | Page                          |
| pageSize<mark style="color:red;">\*</mark>    | Number | Page size                     |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    "resCode": 100,
    "resMsg": "Success",
    "data": {
        "data": [
            {
                "orderId": "n0tfxxxxxxxxxxxxxxxxx",
                "fromAddress": "TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC",
                "receiveAddress": "TX5dfXNzBv6a9FiaRgK5rCJYzKuKpNzcHc",
                "platformAddress": "TSFQPF8UG1c6TyHUKmGvUPJgXBeRBwSdhh",  //Platform Operation Address
                "source": "tronify",
                "stakingTrx": "70",
                "feeRate": "0.05",
                "feeAmt": "3.500000",  //Fee Amount
                "receiveStakingTrx": "66.500000",//The amount of TRX corresponding to the staked amount actually transferred to the recipient address.
                "receiveStakingHash": "a14e97xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 
                "receiveBalanceTrx": "9.747968",  //Available Balance Transferred from fromAddress to receiveAddress After Undelegation
                "receiveBalanceHash": "d5d4cdexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "approvalData": "{\"raw_data\":{\"ref_block_bytes\":\"0c6d\",\"ref_block_hash\":\"6ffe2b0a301fe278\",\"expiration\":1792565193000,\"contract\":[{\"parameter\":{\"value\":{\"owner_address\":\"4163xxxxxxxxxxxxxxxxxxxxx\",\"owner\":{\"permission_name\":\"owner\",\"threshold\":1,\"keys\":[{\"address\":\"41b29xxxxxxxxxxxxxxxxxxx\",\"weight\":1}]},\"actives\":[{\"type\":\"Active\",\"id\":2,\"permission_name\":\"tronify-active\",\"threshold\":1,\"operations\":\"7fff1fcxxxxxxxxxxxxxxxxxxxxx\",\"keys\":[{\"address\":\"41b29xxxxxxxxxxxxxxxxxxxxxxxxx\",\"weight\":1}]}]},\"type_url\":\"type.googleapis.com/protocol.AccountPermissionUpdateContract\"},\"type\":\"AccountPermissionUpdateContract\"}],\"timestamp\":1792564536541},\"raw_data_hex\":\"0a020xxxxxxxxxxxxxxxxxxxxxxxxxxxx\"]}",
                "approvalHash": "ce9cxxxxxxxxxxxxxxxxxxxx",
                "unstakeHash": "eb71xxxxxxxxxxxxxxxx", //Platform Unstakes TRX for Energy on Behalf of Users
                "unstakeBwHash": null,  //Platform Unstakes TRX for Bandwidth on Behalf of Users
                "signedMessage": "{\"connectWalletType\":\"TronLink\",\"fromAddress\":\"TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC\",\"invitationCode\":\"\",\"receiveAddress\":\"TX5dfXNzBv6a9FiaRgK5rCJYzKuKpNzcHc\",\"sourceFlag\":\"tronify\",\"utmSource\":\"\"}",
                "signedTx": "0x5916b299c8xxxxxxxxxxxxxxxxxxxxxx", //Wallet Signature on signedMessage
                "refundNum": null,  //Refund Amount
                "refundHash": null, //Refund Transaction Hash
                "createTime": "2026-10-21 14:35:36",
                "sendTime": "2026-10-21 14:45:00",
                "orderStatus": "wait_flash_unstake_transfer_platform"
            },
            {
                "orderId": "ngu89mum_9qge_51rn_mpwx_4fsbycnfeb5t",
                "fromAddress": "TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC",
                "receiveAddress": "TX5dfXNzBv6a9FiaRgK5rCJYzKuKpNzcHc",
                "platformAddress": "TSFQPF8UG1c6TyHUKmGvUPJgXBeRBwSdhh",
                "source": "tronify",
                "stakingTrx": "70",
                "feeRate": "0.05",
                "feeAmt": "3.500000",
                "receiveStakingTrx": "66.500000",
                "receiveStakingHash": null,
                "receiveBalanceTrx": null,
                "receiveBalanceHash": null,
                "approvalData": null,
                "approvalHash": null,
                "unstakeHash": null,
                "unstakeBwHash": null,
                "signedMessage": "{\"connectWalletType\":\"TronLink\",\"fromAddress\":\"TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC\",\"invitationCode\":\"\",\"receiveAddress\":\"TX5dfXNzBv6a9FiaRgK5rCJYzKuKpNzcHc\",\"sourceFlag\":\"tronify\",\"utmSource\":\"\"}",
                "signedTx": "0x5916b29xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "refundNum": null,
                "refundHash": null,
                "createTime": "2026-10-21 13:58:34",
                "sendTime": "2026-10-21 13:58:34",
                "orderStatus": "timeout"
            },
            {
                "orderId": "ucnpzh3n_151o_ctu8_ge10_746miroxus7v",
                "fromAddress": "TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC",
                "receiveAddress": "TX5dfXNzBv6a9FiaRgK5rCJYzKuKpNzcHc",
                "platformAddress": "TSFQPF8UG1c6TyHUKmGvUPJgXBeRBwSdhh",
                "source": "tronify",
                "stakingTrx": "70",
                "feeRate": "0.05",
                "feeAmt": "3.500000",
                "receiveStakingTrx": "66.500000",
                "receiveStakingHash": null,
                "receiveBalanceTrx": null,
                "receiveBalanceHash": null,
                "approvalData": null,
                "approvalHash": null,
                "unstakeHash": null,
                "unstakeBwHash": null,
                "signedMessage": "{\"connectWalletType\":\"TronLink\",\"fromAddress\":\"TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC\",\"invitationCode\":\"\",\"receiveAddress\":\"TX5dfXNzBv6a9FiaRgK5rCJYzKuKpNzcHc\",\"sourceFlag\":\"tronify\",\"utmSource\":\"\"}",
                "signedTx": "0x5916bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "refundNum": null,
                "refundHash": null,
                "createTime": "2026-10-21 13:27:58",
                "sendTime": "2026-10-21 13:27:58",
                "orderStatus": "timeout"
            },
            {
                "orderId": "pjfkl0fb_ghkd_maqo_5u0r_2uewb420u2hk",
                "fromAddress": "TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC",
                "receiveAddress": "TX5dfXNzBv6a9FiaRgK5rCJYzKuKpNzcHc",
                "platformAddress": "TSFQPF8UG1c6TyHUKmGvUPJgXBeRBwSdhh",
                "source": "tronify",
                "stakingTrx": "70",
                "feeRate": "0.05",
                "feeAmt": "3.500000",
                "receiveStakingTrx": "66.500000",
                "receiveStakingHash": null,
                "receiveBalanceTrx": null,
                "receiveBalanceHash": null,
                "approvalData": null,
                "approvalHash": null,
                "unstakeHash": null,
                "unstakeBwHash": null,
                "signedMessage": "{\"connectWalletType\":\"TronLink\",\"fromAddress\":\"TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC\",\"invitationCode\":\"\",\"receiveAddress\":\"TX5dfXNzBv6a9FiaRgK5rCJYzKuKpNzcHc\",\"sourceFlag\":\"tronify\",\"utmSource\":\"\"}",
                "signedTx": "0x591xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "refundNum": null,
                "refundHash": null,
                "createTime": "2026-10-21 11:58:06",
                "sendTime": "2026-10-21 11:58:06",
                "orderStatus": "timeout"
            }
        ],
        "pagination": {
            "page": 1,
            "pageSize": 10,
            "total": 4
        }
    }
}
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### code example

{% tabs %}
{% tab title="JavaScript" %}

```
// example
const params = {
    "fromAddress": "TK54WodHVAHFoep8huDh9g9nRwXqXm5SJC",
    "page": 1,
    "pageSize": 10
}
 const res = await axios.post('https://open.tronify.io/api/tronRent/myUnstakeRecords',params)
 console.log(res)
 if(res.resCode === '100'){
   //...  
 }
```

{% endtab %}
{% endtabs %}

### Postman example

<figure><img src="https://3188465811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fnv0Qbx2yTtH3TKQFd528%2Fuploads%2FjK7VV1B4eCFEciz9gC1F%2Fimage.png?alt=media&amp;token=763bc7a0-eecd-4f01-8d51-2d6f04570656" alt=""><figcaption></figcaption></figure>
