Get function metadata/ABI for a contract template.
cURL
curl --request GET \ --url https://sandbox.oumla.com/api/v1/contract-templates/{templateId}/function \ --header 'x-api-key: <api-key>' \ --header 'x-sdk-version: <x-sdk-version>'
{ "contractFunction": [ { "id": "<string>", "name": "<string>", "stateMutability": "<string>", "type": "<string>", "inputs": {}, "outputs": {} } ] }
API key for authentication
SDK version header
Contract template ID
Contract function by template ID
Show child attributes
Was this page helpful?