Home

Get smart contract address from transaction ID

POST
https://zil.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Retrieves the smart contract address that is associated with a given transaction ID (hash). Useful to identify which contract was interacted with in the specified transaction.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

Method name

idintegerrequired

Request ID

paramsArray<string>required

Array with one parameter — transaction ID (hash)

Response

200OK

Smart contract address retrieved successfully

400Bad Request

Invalid request

500Internal Server Error

Server error