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>

Example: SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles
Query Parameters
unanchored boolean

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

Example: true
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