Get contract functions by template ID
cURL
curl --request GET \ --url https://sandbox.oumla.com/api/v1/contract-templates/{templateId}/function \ --header 'x-api-key: <api-key>'
200
Example
{ "contractFunction": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "transfer", "stateMutability": "pure", "type": "function", "inputs": [ {} ], "outputs": [ {} ] } ]}
API key for authentication. Obtain your API key from the dashboard.
SDK version header
Contract template ID
Successfully retrieved contract functions
Contract functions response object
Show child attributes
Was this page helpful?