v2

latestOpenAPI 3.1.0Apache 2.02026-07-31441011.7 MB
Contracts

Rename contract

This endpoint allows you to rename a smart contract.

Note: If a contract is unverified on both Tenderly and external providers like Etherscan, Blockscout, or Routescan, it will be added to the project as unverified. However, if the contract is verified on an external provider, Tenderly will retrieve and apply the verification, subsequently adding the verified contract to the project.

post/v1/account/{accountSlug}/project/{projectSlug}/contract/{networkId}/{address}/rename

Path parameters

accountSlugstring required

Account slug of the user

projectSlugstring required

Project slug of the account

networkIdstring required

Network Id of the smart contract

addressstring required

Smart contract address

Request body

display_namestring required

New name of the smart contract.

Example request

{
  "display_name": "New name"
}

Response

The smart contract was renamed successfully.