timeboost_sendExpressLaneTransaction
Submit priority transactions through Arbitrum express lanes for faster processing using the timeboost API.
Instructions
Submit priority transactions through express lanes for faster processing (requires timeboost API)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rpcUrl | No | The RPC URL of the Arbitrum node (optional if default is set) | |
| chainName | No | Chain name (e.g., 'Xai', 'Arbitrum One') - will auto-resolve to RPC URL | |
| submission | Yes | Express lane submission data |
Implementation Reference
- src/index.ts:684-700 (handler)MCP tool handler implementation that resolves the RPC URL using chainLookupService if needed, instantiates NitroNodeClient, calls sendExpressLaneTransaction with the provided submission, and returns the JSON-stringified result.
case "timeboost_sendExpressLaneTransaction": { const rpcUrl = await this.resolveRpcUrl( (args.rpcUrl as string) || (args.chainName as string) ); const nodeClient = new NitroNodeClient(rpcUrl); const result = await nodeClient.sendExpressLaneTransaction( args.submission ); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; } - src/index.ts:1506-1529 (schema)Tool schema definition including name, description, and inputSchema specifying required 'submission' object and optional rpcUrl/chainName parameters. This is returned by getAvailableTools().
name: "timeboost_sendExpressLaneTransaction", description: "Submit priority transactions through express lanes for faster processing (requires timeboost API)", inputSchema: { type: "object" as const, properties: { rpcUrl: { type: "string", description: "The RPC URL of the Arbitrum node (optional if default is set)", }, chainName: { type: "string", description: "Chain name (e.g., 'Xai', 'Arbitrum One') - will auto-resolve to RPC URL", }, submission: { type: "object", description: "Express lane submission data", }, }, required: ["submission"], }, }, - Helper method in NitroNodeClient that makes the actual JSON-RPC call to 'timeboost_sendExpressLaneTransaction' with the submission parameter, handling errors gracefully.
async sendExpressLaneTransaction( submission: any ): Promise<{ success: boolean; error?: string }> { try { await this.makeRpcCall("timeboost_sendExpressLaneTransaction", [ submission, ]); return { success: true }; } catch (error) { return { success: false, error: `Express lane transaction not supported on this RPC endpoint: ${ (error as Error).message }`, }; } }