Execute a transaction based on a prompt.
import { Nebula } from "thirdweb/ai"; const result = await Nebula.execute({ client: TEST_CLIENT, prompt: "send 0.0001 ETH to vitalik.eth", account: TEST_ACCOUNT_A, context: { chains: [sepolia], },});
function execute( input: Input & { account: Account },): Promise<SendTransactionResult>;
The input for the transaction.
let input: Input & { account: Account };
let returnType: Promise<SendTransactionResult>;
The transaction hash.