Call

Make a custom call

post

Invokes a custom call endpoint (specific to your ICRC-1 Rosetta implementation).

Body
methodstringOptional
Responses
200
Successful call response
application/json
post
POST /v1/<YOUR_API_KEY_HERE>/call HTTP/1.1
Host: icrc-mainnet.icp.validationcloud.io
Content-Type: application/json
Accept: */*
Content-Length: 207

{
  "network_identifier": {
    "blockchain": "Internet Computer",
    "network": "mxzaz-hqaaa-aaaar-qaada-cai",
    "sub_network_identifier": {
      "network": "text",
      "metadata": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    }
  },
  "method": "text"
}
{
  "result": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "idempotent": true,
  "error": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  }
}

Was this helpful?