---
updatedAt: 2025-06-02T22:23:22.000Z
agentTools:
  projectIndex: https://docs.bitpowr.com/llms.txt
---

# Stacking

This endpoint performs stacking operations on a specific address.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Bitpowr Reference",
    "contact": {},
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://developers.bitpowr.com/api/v1",
      "variables": {}
    }
  ],
  "paths": {
    "/addresses/stacking": {
      "post": {
        "tags": [
          "Address"
        ],
        "summary": "Stacking",
        "description": "This endpoint performs stacking operations on a specific address.",
        "operationId": "stacking",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "encoding": {},
              "schema": {
                "required": [
                  "address",
                  "amount",
                  "operation"
                ],
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string",
                    "description": "The address where the stacking operation will be performed",
                    "example": "GD...."
                  },
                  "amount": {
                    "type": "string",
                    "description": "The amount to be stacked",
                    "example": "100"
                  },
                  "assetCode": {
                    "type": "string",
                    "description": "The asset code of the stacking asset (optional)",
                    "example": "USDC_XLM"
                  },
                  "operation": {
                    "type": "string",
                    "description": "The stacking operation to perform",
                    "enum": [
                      "freezeTron",
                      "unFreezeTron",
                      "withdrawFrozenAsset"
                    ],
                    "example": "freezeTron"
                  },
                  "resource": {
                    "type": "string",
                    "description": "The resource type for the stacking operation (optional)",
                    "enum": [
                      "BANDWIDTH",
                      "ENERGY"
                    ],
                    "example": "BANDWIDTH"
                  }
                }
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "title": "stacking",
                  "required": [
                    "status"
                  ],
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string"
                    }
                  },
                  "example": {}
                },
                "example": {}
              }
            }
          }
        },
        "deprecated": false,
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [],
  "tags": [
    {
      "name": "Address",
      "description": "These endpoints generate and manage wallet addresses"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```