---
updatedAt: 2026-04-20T19:31:00.000Z
agentTools:
  projectIndex: https://docs.figment.io/llms.txt
---

# Withdraw Tx

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Figment API",
    "version": "2.0.0+1373.1",
    "termsOfService": "https://figment.io/staking-terms-of-use"
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "headers": [
      {
        "key": "x-api-key",
        "value": "your-api-key-here"
      }
    ]
  },
  "paths": {
    "/sui/withdraw": {
      "post": {
        "summary": "Withdraw Tx",
        "tags": [
          "Sui"
        ],
        "operationId": "sui-withdraw-tx",
        "parameters": [],
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "network": {
                          "type": "string",
                          "example": "mainnet",
                          "description": "Network withdrawn from"
                        },
                        "unsigned_transaction_serialized": {
                          "type": "string",
                          "example": "0xSerializedTransaction",
                          "description": "Hex encoding of the built transaction"
                        },
                        "signing_payload": {
                          "type": "string",
                          "example": "",
                          "optional": true
                        }
                      }
                    }
                  },
                  "example": {
                    "data": {
                      "network": "mainnet",
                      "unsigned_transaction_serialized": "0000020008002f68590000000001010000000000000000000000000000000000000000000000000000000000000005010000000000000011002022b35a7481fb136e5585c43421cf8ab49d0e219e902dedc40c2778acdcc7bc9c020200010100000000000000000000000000000000000000000000000000000000000000000000030a7375695f73797374656d11726571756573745f6164645f7374616b6500030101000300000000010200dab0f88cdcc6281a1b74fa3c446d7998c0661c5a3caf37aad9251084aac6704d0344884f0461ab5e78d6690949921757b5c4fe19a081870fda3e597df1c66d630b8811d01400000000209aea917ded43a1145b2f857de7e43b0cf80eca2521bb8ee2e42f1dfaea17ad9b9348579e59a296d072b82d689826b8fc9aa5d910131bbb17d9ae5b63b29c485c8011d014000000002005ef066056d418d07485520e95768c0e5534817fbb35c9ca74d3bf3cc3756679a04f3df578ee6b82df8f6bec1ebef360d373ca4dcdfabbc4362a009d41cccd8b8011d0140000000020c11e6d6cb8d6f7c447bc3a4643e7fab83eeefa4f52257278c543807f4ec916f7dab0f88cdcc6281a1b74fa3c446d7998c0661c5a3caf37aad9251084aac6704de80300000000000000e1f5050000000000",
                      "signing_payload": ""
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "delegator_address": {
                    "type": "string",
                    "example": "0x3abfae57b89d93ddaa8f39b52ea2ea7b2b93d967e3eb6f4d3c194f3b67756123",
                    "description": "Address of the wallet that created the stake"
                  },
                  "stake_id": {
                    "type": "string",
                    "example": "0x13a0a2dbd053366fa3938035aa013ba4791ae22ab85f12a29717bd34062da123",
                    "description": "ID of stake to withdraw"
                  },
                  "network": {
                    "type": "string",
                    "example": "testnet",
                    "enum": [
                      "mainnet",
                      "testnet"
                    ],
                    "description": "Network withdraw is on."
                  }
                },
                "required": [
                  "delegator_address",
                  "stake_id",
                  "network"
                ],
                "example": {
                  "data": {
                    "address": "0x3abfae57b89d93ddaa8f39b52ea2ea7b2b93d967e3eb6f4d3c194f3b67756123",
                    "stake_id": "0x13a0a2dbd053366fa3938035aa013ba4791ae22ab85f12a29717bd34062da123",
                    "network": "testnet"
                  }
                }
              }
            }
          },
          "required": true
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.figment.io"
    }
  ]
}
```