Skip to main content

Get contract info

Retrieves details of a contract with a given contract_id

Path Parameters
contract_id string REQUIRED

Contract identifier formatted as <contract_address>.<contract_name>

Query Parameters
unanchored boolean

Include transaction data from unanchored (i.e. unconfirmed) microblocks

Responses
200

Contract found

Schema OPTIONAL
tx_id string
canonical boolean
contract_id string
block_height integer
source_code string
abi string
404

Cannot find contract of given ID