Get contracts status

Retrieves the deployment status of multiple smart contracts.


GET
/extended/v2/smart-contracts/status

Get smart contracts status

Retrieves the deployment status of multiple smart contracts.

Query Parameters

contract_id
Required
array<string>

contract ids to fetch status for

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

GET request that returns the deployment status of multiple smart contracts

{
"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
}
}
}