Skip to content
Documentation/canton-network-docs/Splice APIsScan APIsScan APIView on canton-network-docs
canton-network-docs/Splice APIsScan APIsScan API

/v0/ans

POST
/
v0
/
ans-rules
Try it
/v0/ans-rules

cURL

curl --request POST \
  --url https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/ans-rules \
  --header 'Content-Type: application/json' \
  --data '
{
  "cached_ans_rules_contract_id": "<string>",
  "cached_ans_rules_domain_id": "<string>"
}
'
200
{
  "ans_rules_update": {
    "contract": {
      "template_id": "<string>",
      "contract_id": "<string>",
      "payload": {},
      "created_event_blob": "<string>",
      "created_at": "<string>"
    },
    "domain_id": "<string>"
  }
}

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

Show child attributes