SIMA

Example

Protection Offer Example

A protection offer returns asset-denominated SIMA V1 economics before purchase or certificate activation.

Example Scenario

When this pattern applies.

A developer, AI agent, or trading bot wants premium, coverage, deductible, and maximum net payment for a proposed protected amount in the contract asset.

Request

Example request shape.

POST /agent/protection/offer
Authorization: Bearer ACCESS_TOKEN
Content-Type: application/json

{
  "chain": "SOLANA",
  "walletAddress": "YOUR_WALLET_ADDRESS",
  "assetAddress": "TOKEN_ADDRESS",
  "assetSymbol": "TOKEN",
  "assetType": "TOKEN",
  "protectedAmount": "1000"
}

Response

Example response shape.

{
  "contractVersion": "SIMA_AGENT_PROTECTION_OFFER_V1",
  "protectedAmount": "1000",
  "premiumAmount": "50",
  "coverageAmount": "500",
  "deductibleAmount": "100",
  "maximumNetPayment": "400",
  "rulesVersion": "SIMA_V1_50_5_10_40",
  "purchaseEndpoint": "POST /agent/protection/purchase"
}

TypeScript

Copy-paste friendly example.

async function requestProtectionOffer(accessToken: string) {
  const response = await fetch("https://api.sima-prime.com/agent/protection/offer", {
    method: "POST",
    headers: {
      Authorization: `Bearer ${accessToken}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      chain: "SOLANA",
      walletAddress: "YOUR_WALLET_ADDRESS",
      assetAddress: "TOKEN_ADDRESS",
      assetSymbol: "TOKEN",
      assetType: "TOKEN",
      protectedAmount: "1000",
    }),
  });
  if (!response.ok) throw new Error("SIMA offer request failed");
  return response.json();
}

Architecture Flow

  • Authenticate wallet or agent.
  • Submit asset and protectedAmount (asset-denominated).
  • Receive SIMA V1 offer economics.
  • Call POST /agent/protection/purchase to continue.
  • Do not treat the offer as certificate issuance.

Safety Boundary

  • No private keys or seed phrases are sent to SIMA.
  • Examples do not execute payments or blockchain transfers.
  • Quotes do not issue certificates.
  • Evidence does not approve claims or authorize payout.
  • FULL_PAYMENT still requires treasury review before execution.