Get contracts status

Retrieves the deployment status of multiple smart contracts.

GET

/extended/v2/smart-contracts/status

Retrieves the deployment status of multiple smart contracts.

Query parameters

contract_id
Required
array of string

Contract IDs to fetch status for

Example: "SPQZF23W7SEYBFG5JQ496NMY0G7379SRYEDREMSV.Candy"
Status codeDescription
200List of smart contract status
Terminal
curl -X GET "https://api.mainnet.hiro.so/extended/v2/smart-contracts/status?contract_id=SPQZF23W7SEYBFG5JQ496NMY0G7379SRYEDREMSV.Candy"

GET request that returns the deployment status of multiple smart contracts.

Example response
{
  "property1": {
    "found": true,
    "result": {
      "status": "string",
      "tx_id": "string",
      "contract_id": "string",
      "block_height": 0
    }
  },
  "property2": {
    "found": true,
    "result": {
      "status": "string",
      "tx_id": "string",
      "contract_id": "string",
      "block_height": 0
    }
  }
}