Contracts

Get view by name

Returns contract view with specified name.

get/v1/contracts/{address}/views/{name}

Path parameters

addressstring required

Contract address (starting with KT)

namestring required

View name

Query parameters

jsonboolean

Include parameter and return types in human-readable JSON format

michelineboolean

Include parameter and return types in micheline format

michelsonboolean

Include parameter and return types in michelson format

Response

namestring required

Contract view name

{"stackTrail":"components:schemas:ContractView:properties:jsonParameterType","oasType":"schema","type":"unknown","description":"Parameter type in human-readable JSON format","nullable":true}
{"stackTrail":"components:schemas:ContractView:properties:jsonReturnType","oasType":"schema","type":"unknown","description":"Return type in human-readable JSON format","nullable":true}
michelsonParameterTypestring nullable

Parameter type in michelson format

michelsonReturnTypestring nullable

Return type in michelson format

Changes

No recorded changes to this endpoint across all 1 revision of this API.