Skip to main content
GET
/
api
/
v1
/
contract-templates
/
{templateId}
Get contract template by ID
curl --request GET \
  --url https://sandbox.oumla.com/api/v1/contract-templates/{templateId} \
  --header 'x-api-key: <api-key>' \
  --header 'x-sdk-version: <x-sdk-version>'
{
  "result": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "longDescription": "<string>",
    "bytecode": "<string>",
    "sourceCode": "<string>",
    "type": "<string>",
    "docs": {}
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

x-sdk-version
string
default:1.0.0
required

SDK version header

Path Parameters

templateId
string
required

Contract template ID

Response

Contract template by ID

result
object