Get Web3 Action details
Retrieve the configuration details of a specific Web3 Action. You need to provide the Web3 Action ID.
Authorizations
An API key is a token that a client provides when making API calls. The key can be sent as a request header:
curl 'https://api.tenderly.co/api/v1/account/${TENDERLY_ACCOUNT_SLUG}/project/${TENDERLY_PROJECT_SLUG}/simulate' \
-H 'X-Access-Key: ${TENDERLY_ACCESS_KEY}' \
...Learn how to generate API access tokens at Tenderly Docs.
Path Parameters
Account slug of the user
Project slug of the account
Web3 Action Id to get info for
Response
A successful response.
ID of the Web3 Action.
"4cc3ee95-6bc5-4c85-83d0-26d4b89d5c25"
ID of the project where Web3 Action is created.
"dfdc391a-a15d-4590-9aef-8691259c7df4"
Web3 Action name.
"periodic-cron"
Web3 Action description.
"Triggers every 1 hour"
Status of the Web3 Action.
DEPLOYED, PUBLISHED "DEPLOYED"
Flag showing if Web3 Action is stopped or not.
false
Flag showing if Web3 Action is editable or not.
true
When Web3 Action is created.
"2023-12-14T16:20:36.078679Z"
{
"id": "65f4e0e8-4b67-4f0c-815f-1a08cd418f1a",
"index": 1,
"actionId": "4cc3ee95-6bc5-4c85-83d0-26d4b89d5c25",
"parentActionId": "",
"runtime": "V2",
"function": "implementation:actionFn",
"triggerType": "PERIODIC",
"trigger": {
"type": "periodic",
"periodic": { "cron": "0 * * * *", "interval": "1h" }
},
"commitish": null,
"source": "// Do not change function name.\nconst actionFn = async (context, periodicEvent) => {\n console.log(periodicEvent)\n\n // To access project's secret\n // let secret = await context.secrets.get('MY-SECRET')\n\n // To access project's storage\n // let value = await context.storage.getStr('MY-KEY')\n // await context.storage.putStr('MY-KEY', 'MY-VALUE')\n\n // Your logic goes here :)\n}\n// Do not change this.\nmodule.exports = { actionFn }",
"createdAt": "2023-12-14T16:20:36.078679Z",
"deployRequested": false,
"deployError": null,
"invocationType": "SYNC"
}Shows delivery channels for given Web3 Action.
[]