Get contract types
Get all contract types with their id and name.
Query params
None
Sorting
None
Optional properties
None
Response
List of value objects describing the available contract types
Example
curl -X 'GET' \
'https://api.testnet.cspr.cloud/contract-types' \
-H 'Accept: application/json' \
-H 'Authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
"data": [
{
"id": 2,
"name": "CEP18"
},
{
"id": 3,
"name": "Modified CEP18"
},
{
"id": 4,
"name": "CEP47"
},
{
"id": 5,
"name": "Modified CEP47"
},
{
"id": 6,
"name": "DEFI"
},
{
"id": 7,
"name": "CEP78"
},
{
"id": 8,
"name": "Modified CEP78"
},
{
"id": 9,
"name": "NFT"
}
]
}