# Base58Check P2SH Encoder

> Base58Check P2SH Encoder is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Encodes arbitrary text using the Base58Check P2SH (Pay-to-Script-Hash) encoding scheme, offline with no network or LLM calls.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/base58check-p2sh-encode?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base58check-p2sh-encoder-b6f83023
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8D_DNXWBqbxbTz645uuFr

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 base58check-p2sh-encoder-b6f83023 -d '<json body>'
```

Example prompt: Can you encode this data as a Base58Check P2SH value: '0014751e76e8199196f454f092f14796e4f5e8a9d1'?

## When to prefer this

Choose this endpoint when you need a deterministic, offline Base58Check P2SH encoding with no side effects and no LLM involvement. It is ideal for cryptocurrency address formatting, script hash encoding, or any use case requiring the Bitcoin P2SH variant of Base58Check. Use the free sandbox endpoint (/v1/sandbox/base58check-p2sh-encode) first to verify behavior before paying.

## Known failure modes

- Input text exceeds 100,000 character limit — request rejected
- Empty string input — minLength:1 constraint violated
- Malformed JSON body — returns 400 error
- Payment not received or insufficient — returns 402 Payment Required

## How this service works

Call when an agent needs text encoded with base58check-p2sh. No network and no LLM. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/base58check-p2sh-encode first.

## Output

Returns a Base58Check-encoded P2SH string derived from the input text, computed entirely locally (no network or LLM calls), suitable for use as a Bitcoin P2SH address or similar encoding context.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Hello, World!"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base58check-p2sh-encoder-b6f83023/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
