# Solana Rent-Exempt Lamport Calculator

> Solana Rent-Exempt Lamport Calculator is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Calculates the minimum number of lamports required to make a Solana account rent-exempt given its data size in bytes

## Facts

- Endpoint: POST https://twin.unykorn.org/solana-rent-exempt?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-rent-exempt-lamport-calculator-cbcbe3c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QwZgsAI5-aOIPYhhqQzqt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability solana-rent-exempt-lamport-calculator-cbcbe3c9 -d '<json body>'
```

Example prompt: How many lamports do I need to deposit to make a Solana account with 165 bytes of data rent-exempt?

## When to prefer this

Use this endpoint when you need a reliable, on-demand calculation of the Solana rent-exempt minimum for a specific account size without running a Solana node yourself. Ideal for agents automating account creation, funding workflows, or smart contract deployment pipelines where knowing the exact lamport threshold is required before issuing a transfer.

## Known failure modes

- Invalid or negative bytes value returns a validation error
- Missing params object or bytes field may return a 400 bad request
- Payment failure via x402 protocol returns a 402 response
- Network or provider unavailability returns a 503 or timeout

## How this service works

Lamports needed to make a Solana account rent-exempt — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok: true, the type 'solana-rent-exempt', the calculated lamport amount needed for rent exemption for the given byte size, plus a payment receipt containing a transaction hash, USD amount charged, and a receipt ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "bytes": {
     "type": "integer",
     "minimum": 0
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "solana-rent-exempt",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.002,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-rent-exempt-lamport-calculator-cbcbe3c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
