Home

Get current state of a smart contract

POST
https://zil.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Retrieves the current state (fields and their values) of a smart contract deployed on the Zilliqa blockchain by its address.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

Method name

idintegerrequired

Request ID

paramsArray<string>required

Array containing the smart contract address as a string

Response

200OK

Current smart contract state retrieved successfully

400Bad Request

Invalid request

500Internal Server Error

Server error