Home

Get Contract State

POST
https://ont.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns detailed information about a deployed smart contract, including its code, author, and other metadata. The contract is identified by its script hash.

Body

application/json
jsonrpcstring

The JSON-RPC protocol version. Always "2.0".

methodstring

The RPC method name to be invoked.

paramsArray<string>

An array containing the contract script hash in hexadecimal format.

idinteger

The request identifier used to match the response with the request.

Response

200OK

Successful response with contract state information.