Get contract info
Retrieves details for a specific smart contract.
GET
/extended/v1/contract/{contract_id}
Retrieves details of a contract with a given contract_id
.
Status code | Description |
---|---|
200 | Contract found |
404 | Cannot find contract of given ID |
curl -X GET "https://api.mainnet.hiro.so/extended/v1/contract/%7Bcontract_id%7D"
GET request that returns smart contract details
{
"tx_id": "string",
"canonical": true,
"contract_id": "string",
"block_height": 0,
"source_code": "string",
"abi": "string"
}