> For the complete documentation index, see [llms.txt](https://docs-tron.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.tronify.io/stakepal-api/upload-reclaim-hash.md).

# 上传回收哈希

### 接口调用

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

**以下参数带\*字段为必填，不带\*号为选填**

#### Request Body

| Name                                         | Type   | Description                       |
| -------------------------------------------- | ------ | --------------------------------- |
| orderId<mark style="color:red;">\*</mark>    | String | 订单ID                              |
| signedData<mark style="color:red;">\*</mark> | Object | TronLink 签名后的交易对象（`trx.sign` 返回值） |
| sourceFlag                                   | String | 来源标识                              |

{% tabs %}
{% tab title="200: OK " %}
{% code overflow="wrap" %}

```javascript
{ 
    "resCode": 100,
    "resMsg": "Success",
    "data": {}
}



```

{% endcode %}
{% endtab %}

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

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

{% endtab %}
{% endtabs %}

### 调用示例

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

```
// example
const params = {
    "orderId": "tb_xxx",
    "signedData": {
        "raw_data": {
            "ref_block_bytes": "0c6d",
            "ref_block_hash": "6ffexxxxxxxxxxxxx",
            "expiration": 1792565193000,
            "contract": [
                {
                    "parameter": {
                        "value": {
                            "owner_address": "4163d48bxxxxxxxxxxxxxxxxxxxxx",
                            "owner": {
                                "permission_name": "owner",
                                "threshold": 1,
                                "keys": [
                                    {
                                        "address": "41b29xxxxxxxxxxxxxxxxxxxxxxx57963d3",
                                        "weight": 1
                                    }
                                ]
                            },
                            "actives": [
                                {
                                    "type": "Active",
                                    "id": 2,
                                    "permission_name": "tronify-active",
                                    "threshold": 1,
                                    "operations": "7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0000000",
                                    "keys": [
                                        {
                                            "address": "41b2922xxxxxxxxxxxxxxxxxxxx3d3",
                                            "weight": 1
                                        }
                                    ]
                                }
                            ]
                        },
                        "type_url": "type.googleapis.com/protocol.AccountPermissionUpdateContract"
                    },
                    "type": "AccountPermissionUpdateContract"
                }
            ],
            "timestamp": 1792564536541
        },
        "raw_data_hex": "0a0xxxxxxxxxxxxxxxxxxxxxxxxxx",
        "txID": "ce9cexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "visible": false,
        "signature": [
            "fdcdf36xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        ]
    },
    "sourceFlag": "tronify"
}
 const res = await axios.post('https://open.tronify.io/api/staking/uploadSignedInfo',params)
 console.log(res)
 if(res.resCode === '100'){
   //...  
 }
```

{% endtab %}
{% endtabs %}

### Postman 示例

<figure><img src="https://437826888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4K3XSHX743UkF46Owwyj%2Fuploads%2FarTcv9E9ZIH5A8n5UZuP%2Fimage.png?alt=media&amp;token=1d683d8c-a5f0-4ad9-b1a3-107097a23754" alt=""><figcaption></figcaption></figure>
