Home

Get smart contract source code by address

POST
https://zil.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Retrieves the source code and metadata of a smart contract deployed on the Zilliqa blockchain. Requires the smart contract address as a parameter.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

Method name

idintegerrequired

Request ID

paramsArray<string>required

Array containing one parameter — smart contract address

Response

200OK

Smart contract source code retrieved successfully

400Bad Request

Invalid request

500Internal Server Error

Server error