The Contracts endpoints manage the full lifecycle of smart contracts on the Neuron platform — from proposing reusable templates to creating contract instances, sending proposals to counterparties, collecting signatures, and controlling access. Smart contracts on Neuron are XML documents that conform to the smart contract schema. They can be designed using the LegalLab application. Contracts are federated — you can sign contracts created on other Neurons through your account’s local Neuron. Signing requires a valid, approved Legal Identity and a corresponding cryptographic key.Documentation Index
Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
| Endpoint | Description |
|---|---|
| Propose a contract template | Submit a new smart contract template (BASE64-encoded XML) to the broker for registration. |
| Create contract | Instantiate a contract from an existing template. |
| Send proposal | Send a contract proposal to one or more counterparties for review and signing. |
| Get contract | Retrieve a contract by ID, including its current state and signatures. |
| Get created contracts | List all contracts created by the authenticated account. |
| Get signed contracts | List all contracts signed by the authenticated account. |
| Sign contract | Sign a contract using a Legal Identity and cryptographic key, for a specified role. |
| Sign data | Sign arbitrary data using a Legal Identity key (for custom signing workflows). |
| Authorize access to contract | Grant another party permission to access a contract. |
Typical contract flow
Prerequisites
- An approved Legal Identity is required to sign contracts — see Legal identities.
- A cryptographic key must exist on the account — see Cryptography → Create key.
- All signing calls require a
keyId,legalId,nonce,keySignature, andrequestSignature.
Related
- Contracts flow guide — end-to-end walkthrough of creating and signing a contract.
- Legal identities — apply for and manage the identities used to sign contracts.
- Cryptography — create and retrieve the keys required for signing.