Smart Contracts

Get contract source

Returns the Clarity source code of a given contract, along with the block height it was published in, and the MARF proof for the data.

get/v2/contracts/source/{deployer_address}/{contract_name}

Parameters

./components/parameters/deployer-address.yaml — unresolved $ref
./components/parameters/contract-name.yaml — unresolved $ref
./components/parameters/proof.yaml — unresolved $ref
./components/parameters/tip.yaml — unresolved $ref

Response

Success

ContractSource required— unresolved $ref

Changes

No recorded changes to this endpoint across all 53 revisions of this API.