Get contract info
Retrieves details for a specific smart contract.
GET
Parameters
Path Parameters
contract_id
REQUIRED
string Contract identifier formatted as `<contract_address>.<contract_name>`
Status code | Description |
---|---|
200 | A Smart Contract Detail |
4XX | Default Response |
cURL
curl -L \"https://api.hiro.so/extended/v1/contract/{contract_id}" \-H 'Accept: application/json'
Response
{"tx_id": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","canonical": false,"contract_id": "SP000000000000000000002Q6VF78.pox-3","block_height": 144000,"clarity_version": 0,"source_code": "string","abi": "string"}