Call

Make a custom call

post

Invokes a custom call endpoint (specific to ICP).

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

{
  "network_identifier": {
    "blockchain": "Internet Computer",
    "network": "00000000000000020101",
    "sub_network_identifier": {
      "network": "text",
      "metadata": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    }
  },
  "method": "text",
  "parameters": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  }
}
{
  "result": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "idempotent": true,
  "error": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  }
}

Was this helpful?