Home

Get smart contract initial state and parameters

POST
https://zil.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Retrieves the initial state (init) of a deployed smart contract by its address. This includes the contract’s parameters set during deployment.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

Method name

idintegerrequired

Request ID

paramsArray<string>required

Array with one parameter — smart contract address

Response

200OK

Smart contract initial state retrieved successfully

400Bad Request

Invalid request

500Internal Server Error

Server error