Transaction · Acts onchain
Broadcasts a signed intent bundle. The signature must come from the owning wallet, which makes this the one surface in the API that cannot act on an arbitrary address. Everything before it, reading, composing, compiling, is open; the moment value can move, the wallet is the gate. The submitted program carries its own conditions, so execution happens when they are met, not necessarily when this call returns. Reach for it as the final step of the flow the create and compile surfaces set up: sign what they produced, hand it over, and track the record through the transactions list.
Send a request
Request body
{chain_id: numberowner: stringsalt: string | undefinedplugs: string[]state: string[]signature: stringmanifest: ({token_in: stringtoken_out: stringamount_in: numberexecutor_slot: numberroute_slot: number})[]}
Response
{transaction_hash: string}
Code samples
Language
Prompt
Call the Plug API endpoint "Submit transaction".## EndpointPUT /address/{address}/transaction/Base URL: https://api.plug.to## DescriptionBroadcasts a signed intent bundle.The signature must come from the owning wallet, which makes this the one surface in the API that cannot act on an arbitrary address. Everything before it, reading, composing, compiling, is open; the moment value can move, the wallet is the gate. The submitted program carries its own conditions, so execution happens when they are met, not necessarily when this call returns.Reach for it as the final step of the flow the create and compile surfaces set up: sign what they produced, hand it over, and track the record through the transactions list.## Path Parameters- address (string, required) — The EVM address to get information for. In the case that you request an address we have never indexed, we will immediately index it.Current value: 0x62180042606624f02d8a130da8a3171e9b33894d## Request Body- chain_id (integer, required)- owner (string, required)- salt (string, optional)- plugs (array of string, required)- state (array of string, required)- signature (string, required)- manifest (array- token_in (string, required)- token_out (string, required)- amount_in (integer, required)- executor_slot (integer, required)- route_slot (integer, required), required)## Response Schema- transaction_hash (string, required)## Example RequestPUT https://api.plug.to/address/0x62180042606624f02d8a130da8a3171e9b33894d/transaction/