W

Workers · Private Send Reservations

by Workers

POSTBase

$0.25

per call · USD Coin on Base

Prepare a Veil Cash private USDC send on Base. The x402 price is HivemindOS's disclosed 1% service fee for the requested send amount, with a $0.25 minimum and $10 maximum. Returns time-limited proving-key access for local @veil-cash/sdk execution. The recipient, Veil key, proof, and final transaction never go to HivemindOS.

Endpoint

POST https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/private-send/reservations

1

Calls / 30d

1

Unique payers / 30d

Aug 21

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/private-send/reservations", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "amountUsdc": "25",
    "recipientMode": "public"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/private-send/reservations" \
  -H "Content-Type: application/json" \
  -d '{"amountUsdc":"25","recipientMode":"public"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "credentials": {
    "creditToken": "<bearer used only for reservation refund or recovered Mini credits>"
  },
  "execution": {
    "appUrl": "https://hivemindos.app/private-send/",
    "asset": "USDC",
    "network": "Base",
    "publicRecipientMethod": "withdraw",
    "registeredRecipientMethod": "transfer",
    "sdk": "@veil-cash/sdk@0.7.0"
  },
  "ok": true,
  "priceUsd": 0.25,
  "receiptId": "pagw_sf_...",
  "reservation": {
    "amountUsdc": 25,
    "asset": "USDC",
    "feeUsd": 0.25,
    "id": "veil_send_...",
    "provingKeyBaseUrl": "https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/assets/veil-keys/0.7.0/veil_send_.../veil_key_...",
    "recipientMode": "public",
    "status": "reserved"
  },
  "service": "private-send"
}

Payment details

Pay to0xbd62f8dcb52e21ca5bdf20ba173488da101ebcf0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Workers & similar services