Builder API provides a streamlined interface for managing and querying information about on-chain contracts, project builds, and task statuses. Here's how you can interact with the /onchain/:chain/:contract
, /build/:project
, and /task/:task_id
endpoints, including examples and expected responses.
<https://solc-builder.infra.fuzz.land>
GET /onchain/:chain/:contract
Initiates a build process for an on-chain contract and returns a task ID for tracking the build status. This endpoint is used to fetch and compile contract data from the specified blockchain network.
**chain**
(path parameter): The blockchain network where the contract is deployed (e.g., Ethereum, Polygon).**contract**
(path parameter): The address of the contract on the specified blockchain.**needs**
: A comma-separated list of build aspects required (fill sourcemap,bytecode,abi,sources,compiler_args,invariants
for now).**task_id**
Unique identifier of the build task.**code**
Indicating whether a task is submitted successfully (200 - success, 400 - failed)