Skip to main content
POST
Add contract to project

Authorizations

X-Access-Key
string
header
required

An API key is a token that a client provides when making API calls. Send it as the X-Access-Key request header on any endpoint:

Learn how to generate API access tokens at Tenderly Docs.

Path Parameters

accountSlug
string
required

Account slug of the user

projectSlug
string
required

Project slug of the account

Body

application/json

Add contract to project payload

network_id
string
required

ID of the network.

Example:

"1"

address
string
required

A verified smart contract address.

Example:

"0x94C87A7b26980AE7AAA361c5C7e03E632ab36e6C"

display_name
string

Optional name of the contract to be displayed.

Example:

"My new contract name"

Response

A successful response.

An object with details about added contract.