---
agentTools:
  projectIndex: https://underdog.readme.io/llms.txt
---

# Retry a Transaction

This endpoint allows you to retry a transaction with the given transaction ID.

# OpenAPI definition

```json
{
  "info": {
    "version": "2.0.0",
    "title": "Underdog Protocol API"
  },
  "servers": [
    {
      "url": "https://devnet.underdogprotocol.com",
      "description": "Solana Devnet"
    },
    {
      "url": "https://mainnet.underdogprotocol.com",
      "description": "Solana Mainnet"
    }
  ],
  "openapi": "3.0.0",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "paths": {
    "/v2/transactions/{transactionId}/retry": {
      "post": {
        "summary": "Retry a Transaction",
        "description": "This endpoint allows you to retry a transaction with the given transaction ID.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "Transactions"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "transactionId",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a Transaction",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Transaction ID that identifies the Transaction generated by an API request"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "burned",
                        "confirmed",
                        "failed",
                        "pending",
                        "processing"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "ORG_CREATE",
                        "PROJECT_CREATE",
                        "PROJECT_NFT_BATCH",
                        "PROJECT_SFT_BATCH",
                        "PROJECT_NFT_BURN",
                        "PROJECT_NFT_REVOKE",
                        "PROJECT_NFT_UPDATE",
                        "PROJECT_ROYALTIES_WITHDRAW",
                        "PROJECT_UPDATE",
                        "CORE_PROJECT_CREATE",
                        "CORE_PROJECT_UPDATE",
                        "CORE_PROJECT_ASSET_CREATE",
                        "CORE_PROJECT_ASSET_UPDATE",
                        "CORE_PROJECT_ASSET_BATCH",
                        "PROJECT_NFT_CREATE",
                        "PROJECT_SFT_CREATE",
                        "PROJECT_NFT_TRANSFER",
                        "PROJECT_ASSET_TRANSFER",
                        "PROJECT_ASSET_BURN",
                        "PROJECT_ASSET_UPDATE",
                        "SHOP_CREATE",
                        "DUST_CREATE",
                        "NON_TRANSFERABLE_PROJECT_CREATE",
                        "TRANSFERABLE_PROJECT_CREATE",
                        "TRANSFERABLE_PROJECT_NFT_CREATE",
                        "INSCRIPTION_CREATE",
                        "SNAPSHOT_CREATE",
                        "TOKEN22_CREATE",
                        "TOKEN_CREATE",
                        "TOKEN_RENOUNCE",
                        "TOKEN_MINT",
                        "TREE_CREATE"
                      ]
                    },
                    "walletAddress": {
                      "type": "string",
                      "description": "Base-58 encoded string representing an on-chain address",
                      "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
                    },
                    "data": {
                      "type": "string",
                      "nullable": true,
                      "description": "Transaction data in stringified JSON format"
                    },
                    "signature": {
                      "type": "string",
                      "nullable": true,
                      "description": "Signature of the on-chain transaction",
                      "example": "2yVZcx5rMDLDcqe31Uua6a93qw3qrNMsjroYWXV3sytttnrPSxk2heGK7yUorW6KrfiEpkLNYNVPivhgoigdRnK6"
                    },
                    "createdAt": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "network": {
                      "type": "string",
                      "enum": [
                        "DEVNET",
                        "LOCALNET",
                        "MAINNET"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "status",
                    "type",
                    "walletAddress",
                    "createdAt",
                    "network"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 120,
      "2": 18,
      "3": 31,
      "4": 87,
      "5": 216,
      "6": 33,
      "7": 0,
      "8": 11,
      "9": 154,
      "10": 241,
      "11": 226
    }
  }
}
```