Skip to main content
POST
/
Agent
/
Legal
/
SignContract
Sign Contract
curl --request POST \
  --url https://{host}/Agent/Legal/SignContract \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "keyId": "<string>",
  "legalId": "<string>",
  "contractId": "<string>",
  "role": "<string>",
  "nonce": "<string>",
  "keySignature": "<string>",
  "requestSignature": "<string>"
}
'
{
  "Contract": {}
}

Overview

Allows the client to sign a smart contract. Note: Neurons are federated. You can sign contracts created on other neurons through this API on the neuron you have your account on. Federated means that the neurons interconnect to share authorized information, when requested, and permitted.

Authentication

Requires a valid JWT bearer token.

Notes

This endpoint uses the request schema notation described in Pattern matching.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
keyId
string
required
contractId
string
required
role
string
required
nonce
string
required
keySignature
string
required
requestSignature
string
required

Response

200 - application/json

Success

Contract
object
required