run402-mcp
Version:
MCP server for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.
23 lines • 826 B
TypeScript
/** Shared recovery facts for init adapters. A faucet marker is not a balance. */
export interface FundingRecovery {
status: "blocked" | "pending" | "unavailable";
code: string;
retry_after?: number;
retry_at?: string;
limit_scope?: "ip" | "wallet";
transaction_hash?: string;
next_actions: Array<{
type: string;
why: string;
retry_after?: number;
retry_at?: string;
}>;
}
export declare function fundingBlocksBootstrap(recovery: FundingRecovery | null, evidence: {
activeTier: boolean;
onChainBalance?: number | null;
allowanceBalance?: number | null;
lightningBalance?: number | null;
}): boolean;
export declare function fundingRecovery(error: unknown, pending?: boolean): FundingRecovery | null;
//# sourceMappingURL=funding-recovery.d.ts.map