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

# Generate Wallet Address

Generate a new Address for a single Wallet on FLITBASE

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "WALLETS",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.sandbox.flitbase.com",
      "description": "Test Environment"
    },
    {
      "url": "https://api.flitbase.com",
      "description": "Production Environment"
    }
  ],
  "paths": {
    "/v1/wallets/{walletId}/addresses": {
      "post": {
        "operationId": "generateWalletAddress",
        "summary": "Generate Wallet Address",
        "description": "Generate a new Address for a single Wallet on FLITBASE",
        "tags": [
          "Wallets"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "walletId",
            "description": "id of the wallet",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "account_id": {
                          "type": "string"
                        },
                        "address": {
                          "type": "string"
                        },
                        "coin": {
                          "type": "string"
                        },
                        "id": {
                          "type": "string"
                        },
                        "wallet_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                },
                "example": {
                  "status": "success",
                  "data": {
                    "account_id": "961d1dbe-8993-4e47-92d8-075f7fac2115",
                    "address": "1Msn2kMzveVCgX7i1ZpJWHGnEmNP7LBBL1",
                    "coin": "BTC",
                    "id": "aff8d5cc-5cc5-44cc-9261-220c27d5cb0d",
                    "wallet_id": "b976d086-75c2-4ba0-b9e7-d9fc84293ff3"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "422": {
            "$ref": "#/components/responses/ValidationError"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "UnauthorizedError": {
        "description": "Unauthorized: Invalid or Missing API Key",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              }
            },
            "example": {
              "status": "error",
              "message": "authentication required"
            }
          }
        }
      },
      "ValidationError": {
        "description": "Validation Error: One or more fields is missing or invalid",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "errors": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      },
                      "field": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            },
            "example": {
              "status": "error",
              "message": "validation error",
              "errors": [
                {
                  "type": "required",
                  "message": "The 'name' field is required.",
                  "field": "name"
                }
              ]
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 96,
      "1": 117,
      "2": 159,
      "3": 70,
      "4": 209,
      "5": 187,
      "6": 193,
      "7": 0,
      "8": 115,
      "9": 169,
      "10": 47,
      "11": 247
    }
  }
}
```