v2

latestOpenAPI 3.1.0Apache 2.02026-07-31441011.7 MB
Wallets

Add wallet to project

This endpoint allows you to add a wallet address to your Tenderly project.

post/v1/account/{accountSlug}/project/{projectSlug}/wallet

Path parameters

accountSlugstring required

Account slug of the user

projectSlugstring required

Project slug of the account

Request body

network_idsstring[] required

A list of the network IDs.

addressstring required

A wallet address.

display_namestring

Optional name of the wallet to be displayed.

Example request

{
  "network_ids": [
    "1",
    "43114"
  ],
  "address": "0x94C87A7b26980AE7AAA361c5C7e03E632ab36e6C",
  "display_name": "My new wallet name"
}

Response

A successful response.

{"stackTrail":"components:schemas:add_wallet_post_response:items","oasType":"schema","type":"unknown"}

Example response

[
  {
    "id": "eth:1:0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
    "contract": {
      "id": "eth:1:0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
      "contract_id": "",
      "balance": "107221284238907773544",
      "network_id": "1",
      "public": false,
      "verification_date": null,
      "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
      "contract_name": "",
      "ens_domain": null,
      "type": "wallet",
      "evm_version": "",
      "compiler_version": "",
      "optimizations_used": false,
      "optimization_runs": 0,
      "libraries": null,
      "compiler_settings": null,
      "deployed_bytecode": "",
      "creation_bytecode": "",
      "data": null,
      "creation_block": 0,
      "creation_tx": "",
      "creator_address": "",
      "created_at": "2021-11-26T15:21:53Z",
      "in_project": false
    },
    "account": {
      "id": "eth:1:0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
      "contract_id": "",
      "balance": "107221284238907773544",
      "network_id": "1",
      "public": false,
      "verification_date": null,
      "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
      "contract_name": "",
      "ens_domain": null,
      "type": "wallet",
      "evm_version": "",
      "compiler_version": "",
      "optimizations_used": false,
      "optimization_runs": 0,
      "libraries": null,
      "compiler_settings": null,
      "deployed_bytecode": "",
      "creation_bytecode": "",
      "data": null,
      "creation_block": 0,
      "creation_tx": "",
      "creator_address": "",
      "created_at": "2021-11-26T15:21:53Z",
      "in_project": false
    },
    "project_id": "dfdc391a-a15d-4590-9aef-8691259c7df4",
    "added_by_id": "7d5e8b1f-8bf8-4eae-a70f-fb7d354b1cc2",
    "previous_versions": null,
    "details_visible": true,
    "include_in_transaction_listing": true,
    "display_name": "Vitalik",
    "account_type": "wallet",
    "verification_type": "",
    "added_at": "2023-12-21T13:52:17.049988181Z"
  },
  {
    "id": "eth:43114:0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
    "contract": {
      "id": "eth:43114:0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
      "contract_id": "",
      "balance": "14796267673655965",
      "network_id": "43114",
      "public": false,
      "verification_date": null,
      "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
      "contract_name": "",
      "ens_domain": null,
      "type": "wallet",
      "evm_version": "",
      "compiler_version": "",
      "optimizations_used": false,
      "optimization_runs": 0,
      "libraries": null,
      "compiler_settings": null,
      "deployed_bytecode": "",
      "creation_bytecode": "",
      "data": null,
      "creation_block": 0,
      "creation_tx": "",
      "creator_address": "",
      "created_at": "2023-03-16T22:57:31Z",
      "in_project": false
    },
    "account": {
      "id": "eth:43114:0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
      "contract_id": "",
      "balance": "14796267673655965",
      "network_id": "43114",
      "public": false,
      "verification_date": null,
      "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
      "contract_name": "",
      "ens_domain": null,
      "type": "wallet",
      "evm_version": "",
      "compiler_version": "",
      "optimizations_used": false,
      "optimization_runs": 0,
      "libraries": null,
      "compiler_settings": null,
      "deployed_bytecode": "",
      "creation_bytecode": "",
      "data": null,
      "creation_block": 0,
      "creation_tx": "",
      "creator_address": "",
      "created_at": "2023-03-16T22:57:31Z",
      "in_project": false
    },
    "project_id": "dfdc391a-a15d-4590-9aef-8691259c7df4",
    "added_by_id": "7d5e8b1f-8bf8-4eae-a70f-fb7d354b1cc2",
    "previous_versions": null,
    "details_visible": true,
    "include_in_transaction_listing": true,
    "display_name": "Vitalik",
    "account_type": "wallet",
    "verification_type": "",
    "added_at": "2023-12-21T13:52:17.05090101Z"
  }
]