# Solana PDA Derivation

> Solana PDA Derivation is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Derives a Solana Program Derived Address (PDA) and its canonical bump seed from a program ID and seed inputs.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/solana_pda_derive/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-pda-derivation-4dc62c1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aK7S4MGaML84X8dHN2EMa

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-pda-derivation-4dc62c1d -d '<json body>'
```

Example prompt: Derive the Solana PDA and bump seed for program ID 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA' with seeds ['my-wallet-address', 'vault'] on Solana mainnet.

## When to prefer this

Use this endpoint when you need to deterministically compute a Solana PDA address and bump seed off-chain, without making an RPC call to a Solana node. Ideal for transaction construction, address pre-computation, or verification in agent workflows where you need the PDA before submitting a transaction. Prefer this over running findProgramAddressSync locally when your agent environment lacks a Solana SDK.

## Known failure modes

- Invalid program ID format causes derivation failure
- Seeds that produce no valid off-curve point result in an error
- Malformed request_json (not valid JSON or missing required fields) returns a parsing error
- Seeds exceeding Solana's size limits cause an invalid input error
- Non-existent or incorrect program IDs silently derive an address without on-chain validation (warned in response)

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns the derived PDA address (base58-encoded public key), the canonical bump seed (0-255), any derivation warnings (e.g. noting that existence or ownership of the account is not verified on-chain), and the network analyzed. Wrapped in a standard SignalHarness receipt with execution metadata, request/execution IDs, and a SHA-256 result hash.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request_json": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Derivation does not prove the PDA account exists or is owned as expected."
   ],
   "service_id": "solana_pda_derive",
   "analysis_json": "{\"address\":\"H68a6HmNocBWoDtYo2PDxX3ciRHLUosfsnH9b2r7xNPJ\",\"bump\":255}",
   "evidence_scope": "caller_supplied_data",
   "analyzed_network": "solana"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "solana_pda_derive",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "0b91e27322fd6518285d5e943eb28270f481f33bcfe23433d70ba73e3dd91da5",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-pda-derivation-4dc62c1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
