submit_delegated_job
Submit a job paid from your existing USDC delegation, allowing the provider to pull payment after work without requiring a separate transaction. Omit max price to receive a price confirmation without publishing.
Instructions
Submit a job paid from your existing spl-approve USDC delegation: the provider does the work FIRST, then pulls its advertised price from your delegated allowance - no per-job payment transaction from you. Requires an ACTIVE delegation to the delegate key this capability advertises (check with get_delegation). Within the approved cap the delegate can pull without your signature, so treat the cap as the max loss. If max_price_lamports is not set, returns the advertised price for confirmation without publishing anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| capability | No | general | |
| kind_offset | No | ||
| timeout_secs | No | ||
| provider_npub | Yes | ||
| max_price_lamports | No | Confirmation cap in the card asset subunits (USDC has 6 decimals). The advertised price must not exceed it. Omit to get a price confirmation without publishing. |