Deploy Contract
POST
/contracts
Contracts
Deployment is asynchronous; this endpoint returns the initial status and request ID.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://transactions.srblabs.io/api/v1/contracts' \
--header 'Content-Type: application/json' \
--data-raw '{
"contract_type": "string",
"network": "string",
"parameters": {},
"wallet_id": "string"
}'
Response Response Example
400 - Example 1
{
"error": "Invalid request: wallet_id is required",
"message": "Details about the error",
"success": false
}
Request
Body Params application/json