GetContractRunnerStatus
Checks whether a contract-runner account is currently being actively serviced by a live node on the network.
Request
GET /nxt?requestType=getContractRunnerStatus
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
account | string | Contract runner account ID or SHAMWARI address | Yes |
Response
{
"account": "1234567890123456789",
"accountRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOPQ",
"active": true,
"lastSeen": 1700000000,
"ageSeconds": 30,
"errorCode": 0,
"errorDescription": ""
}
Example
curl "http://localhost:22024/nxt?requestType=getContractRunnerStatus&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"