---
updatedAt: 2025-07-26T16:54:38.000Z
agentTools:
  projectIndex: https://docs.metakeep.xyz/llms.txt
---

# Get Lambda Sponsor

The API returns the wallet that will pay for the `transaction fee` and  the`rent` for the Solana lambda transactions.

```json Sample Response
{
  "status": "SUCCESS",
  "wallet": {
    "solAddress": "GdouFsvYbSQttyJWSGpc9toBLEJrUTJLj5rb6Q9k5Jee"
  }
}
```

> 📘 Sponsor can pay for both the `transaction fee` and the `rent`.
>
> Transaction fee payment is enabled by default. The rent payment is currently only enabled for selected partners. Please reach out to us if you need rent payment enabled for your app :)

> 📘 Sponsor address is valid for `10 minutes`.
>
> Once the sponsor address is returned, it should be considered valid only for the `next 10 minutes`. After 30 minutes, please call the API again to get the latest sponsor address.

## Error Status

> 🚧 Api Error Status
>
> You can find error status returned by the api [here](https://docs.metakeep.xyz/reference/api-error-status#v2applambdagetsponsor).

© Copyright 2024, Passbird Research Inc.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "production",
    "version": "3.4"
  },
  "servers": [
    {
      "url": "https://api.metakeep.xyz/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v2/app/lambda/getSponsor": {
      "post": {
        "summary": "Get Lambda Sponsor",
        "description": "",
        "operationId": "v2applambdagetsponsor-solana",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"SUCCESS\",\n  \"wallet\": {\n    \"solAddress\": \"GdouFsvYbSQttyJWSGpc9toBLEJrUTJLj5rb6Q9k5Jee\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "wallet": {
                      "type": "object",
                      "properties": {
                        "solAddress": {
                          "type": "string",
                          "example": "GdouFsvYbSQttyJWSGpc9toBLEJrUTJLj5rb6Q9k5Jee"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```