curl flow
Shell-friendly production purchase sequence.
SIMAAgent Examples
These examples are for AI agents, trading bots, autonomous wallets, wallet copilots, and machine-to-machine systems that integrate with SIMA directly through API calls. They use placeholders only and do not execute payments, issue certificates, approve claims, or perform payouts.
Shell-friendly production purchase sequence.
Dependency-free fetch example for offer → purchase → confirm.
Server-side bot example using requests.
@sima-prime/agent-sdk — production OpenAPI client.
Quick Preview
Start with wallet authentication, then request a quote, inspect treasury destinations, prepare payment evidence, and read certificate or claim status through authenticated API calls. Claim submission starts investigation; evidence supports payout review but does not approve a claim. The `@sima-prime/agent-sdk` package wraps these calls for TypeScript agent runtimes without signing messages or storing private keys. Use `agent-capabilities.json` and `bot-manifest.json` as the primary machine-readable summaries before the OpenAPI schema.
curl -X POST https://api.sima-prime.com/agent/wallet/nonce \
-H "Content-Type: application/json" \
-d '{"chain":"SOLANA","walletAddress":"YOUR_WALLET_ADDRESS"}'
curl -X POST https://api.sima-prime.com/agent/protection/offer \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"chain":"SOLANA","walletAddress":"YOUR_WALLET_ADDRESS","assetAddress":"YOUR_ASSET_ADDRESS","assetSymbol":"EXAMPLE","assetType":"TOKEN","protectedAmount":"1000"}'Claim outcomes remain FULL_PAYMENT or NO_PAYMENT only. These examples do not change SIMA economics or production workflow controls. FULL_PAYMENT still requires treasury review before payout execution.