Smart Contract Generation
Generate inheritance smart contracts for Ethereum, Solana, and TON with a single API call. Support for multiple legal frameworks.
Programmatic access to smart contract generation, vault management, and estate planning tools

# Generate an inheritance contract
curl -X POST https://api.heir.es/api/v1/contracts/generate \
-H "Authorization: Bearer heir_pk_xxx..." \
-H "Content-Type: application/json" \
-d '{
"blockchain": "evm",
"ownerAddress": "0x1234...",
"beneficiaries": [
{ "name": "Alice", "address": "0xabc...", "percentage": 60 },
{ "name": "Bob", "address": "0xdef...", "percentage": 40 }
],
"inheritanceTemplate": "common-law",
"deadMansSwitch": { "enabled": true, "intervalDays": 365 }
}'All subscriptions include API access. Start with our free tier, then upgrade as you grow.
| Tier | Rate Limit | Webhooks | Embedding | Included With |
|---|---|---|---|---|
| Free | 100 req/day | ❌ | ❌ | Everyone |
| Starter | 1,000 req/day | ❌ | ❌ | $49/mo subscription |
| Professional | 10,000 req/day | ✅ | ✅ | $149/mo subscription |
| Enterprise | Unlimited | ✅ | ✅ | Custom subscription |
Drafts Are Free
Create unlimited estate plan drafts at no cost on heir.es. You only pay when you deploy.