Get contract info

Retrieves details for a specific smart contract.


GET
/extended/v1/contract/{contract_id}

Get contract info

Retrieves details of a contract with a given contract_id

Status codeDescription
200Contract found
404Cannot find contract of given ID
/extended/v1/contract/{contract_id}
Terminal
$
curl -X GET "https://api.hiro.so/extended/v1/contract/%7Bcontract_id%7D"

A Smart Contract Detail

{
"tx_id": "string",
"canonical": true,
"contract_id": "string",
"block_height": 0,
"source_code": "string",
"abi": "string"
}