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}
Request
- Base URLhttp://localhost:20443
- URLhttp://localhost:20443/v2/contracts/source/{deployer_address}/{contract_name}
- Authnone required
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
Contract Source required(unresolved $ref)
Changes
No recorded changes to this operation across all 55 revisions of this API.