Skip to main content
POST
/
v0
/
ans-rules
/v0/ans-rules
curl --request POST \
  --url https://example.com/api/scan/v0/ans-rules \
  --header 'Content-Type: application/json' \
  --data '
{
  "cached_ans_rules_contract_id": "<string>",
  "cached_ans_rules_domain_id": "<string>"
}
'
{
  "ans_rules_update": {
    "contract": {
      "template_id": "<string>",
      "contract_id": "<string>",
      "payload": {},
      "created_event_blob": "<string>",
      "created_at": "<string>"
    },
    "domain_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.canton.network/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
cached_ans_rules_contract_id
string
cached_ans_rules_domain_id
string

Response

200 - application/json

ok

A contract state update of Daml template Splice.Ans.AnsRules.

ans_rules_update
object
required