Skip to main content

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.

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.

Endpoints

EndpointDescription
Propose a contract templateSubmit a new smart contract template (BASE64-encoded XML) to the broker for registration.
Create contractInstantiate a contract from an existing template.
Send proposalSend a contract proposal to one or more counterparties for review and signing.
Get contractRetrieve a contract by ID, including its current state and signatures.
Get created contractsList all contracts created by the authenticated account.
Get signed contractsList all contracts signed by the authenticated account.
Sign contractSign a contract using a Legal Identity and cryptographic key, for a specified role.
Sign dataSign arbitrary data using a Legal Identity key (for custom signing workflows).
Authorize access to contractGrant 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, and requestSignature.