Get contract constructor from contract ID

Returns Contract Constructor information of a specific blockchain environment with Contract Id as an identification value. Contract Id is a unique value that can identify a smart contract. Developers can check the Constructor information of the deployed smart contract through this information.

Response

NameTypeRequiredDescription
contract_idNumberTrueA unique identifier of the smart contract.
state_mutabilityStringTrueA string with one of the following values.
pure : Function which does not read chain state.
view : Function which does not modify chain state.
nonpayable : Function which does not accept coin.
payable: Function which accepts coin.
contract_constructor_inputsObject[]TrueThe input value of the smart contract constructor.

contract_constructor_inputs object array

NameTypeRequiredDescription
contract_constructor_input_idNumberTrueA unique identifier of smart contract consturctor input.
nameStringTrueName of the parameter.
typeStringTrueType of input value.
internal_typeStringTrueType of input value used internally.
valueStringTrueValue of the parameter.
descriptionStringOptionalDescription of the parameter if exists.
Language
Click Try It! to start a request and see the response here!