
Bankr X402 SDK Job Management
This wraps the Bankr x402 SDK's async job handling into something Claude can work with directly. You get the usual job queue operations: submit work with prompt(), wait synchronously with promptAndWait(), poll status, cancel jobs mid-flight, and batch operations. The promptAndWait() method is what you'll reach for most of the time unless you're building something that needs manual control over polling intervals. Good for when you're dealing with long-running tasks that would timeout in a single request. The repo has 78 stars, so it's not battle-tested at scale, but the API surface is straightforward enough that you can tell what you're getting.
- GitHub stars
- 80
- last updated
- Aug 21, 2026
Install
$ npx -y skills add bankrbot/claude-plugins --skill 'Bankr x402 SDK - Job Management' --agent claude-codeInstalls into .claude/skills of the current project.
Files
SDK Job Management
Manage asynchronous jobs: submit, poll, check status, cancel, and batch operations.
SDK Methods
| Method | Description | Use Case |
|---|---|---|
promptAndWait() | Submit and wait for result | Recommended for most cases |
prompt() | Submit, return immediately | Background processing |
pollJob() | Poll until job completes | Manual job tracking |
getJobStatus() | Check status once | Custom polling logic |
cancelJob() | Cancel pending/processing job | Stop unwanted jobs |
Job Lifecycle
pending → processing → completed
↘ failed
↘ cancelled
| State | Cancellable | Description |
|---|---|---|
| pending | Yes | Awaiting processing |
| processing | Yes | Actively processing |
| completed | No | Finished successfully |
| failed | No | Encountered error |
| cancelled | No | Cancelled by user |
Usage Examples
Recommended: promptAndWait
const result = await client.promptAndWait({
prompt: "Swap 0.1 ETH to USDC",
timeout: 60000,
});
if (result.status === "completed") {
console.log(result.response);
}
Sponsors
Details
- Repository
- github.com/bankrbot/claude-plugins
- Category
- Automation & Workflows
- First seen
- Jun 3, 2026
More from bankrbot/claude-plugins
All 36- Bankr X402 SDK Project Templates
- Bankr X402 SDK Token Swaps
- Bankr X402 SDK Transaction Builder
- Bankr X402 SDK Wallet Operations
- Bankr Agent Agent Profiles
- Bankr Agent Arbitrary Transactions
- Bankr Agent Automation
- Bankr Agent Error Handling
- Bankr Agent Job Workflow
- Bankr Agent Leverage Trading
- Bankr Agent LLM Gateway
- Bankr Agent Market Research
- Bankr Agent NFT Operations
- Bankr Agent Polymarket
- Bankr Agent Portfolio
- Bankr Agent Token Deployment
- Bankr Agent Token Trading
- Bankr Agent Transfers
- Bankr Dev API Basics
- Bankr Dev API Workflow
- Bankr Dev Arbitrary Transactions
- Bankr Dev Automation
- Bankr Dev Client Patterns
- Bankr Dev Leverage Trading