AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { createAction, Property } from '@activepieces/pieces-framework';
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
export const getAddressInternalTransactions = createAction({
name: 'get_address_internal_transactions',
classification: 'SEARCH',
displayName: 'Get Address Internal Transactions',
description: 'Get list of internal transactions for an address',
audience: 'both',
aiMetadata: { description: 'List the internal (contract-to-contract) transactions touching an Ethereum address. Choose this for value movements triggered within smart-contract calls rather than the top-level transactions an account submitted (use Get Address Transactions for those). Read-only lookup on eth.blockscout.com; requires a 0x address hash.', idempotent: true },
// category: 'Addresses',
props: {
addressHash: Property.ShortText({
displayName: 'Address Hash',
description: 'Hash of the address to fetch internal transactions for',
required: true,
}),
},
async run(context) {
const response = await httpClient.sendRequest({
method: HttpMethod.GET,
url: `https://eth.blockscout.com/api/v2/addresses/${context.propsValue.addressHash}/internal-transactions`,
});
if (response.status !== 200) {
throw new Error(`Blockscout API request failed with status ${response.status}`);
}
return response.body;
},
});