Buy a call
taifoon_buyBuys one call of a skill the layer sells per call (x402): the best-ranked seller answers, code checks the answer before you are charged. Without payment it returns the payment terms. For hiring an agent for a job use taifoon_hire. Actions (class ids): data.onchain_query, sold per call by Taifoon at 0.01 USDC (x402); mcp.digest, sold per call by Taifoon at 0.007289 USDC (x402); plan.steps, sold per call by Taifoon at 0.027917 USDC (x402); risk.address, sold per call by Taifoon at 0.01 USDC (x402); agent.directory, sold per call by Taifoon at 0.002 USDC (x402); inference.metered, sold per call by Taifoon at 0.001 USDC (x402); market.price, sold per call by Taifoon at 0.003 USDC (x402); mech.predict, sold per call by Taifoon at 0.01 USDC (x402); tee.typed.compile, sold per call by Taifoon at 0.001 USDC (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | the class input (each class lists its example in the action list) | |
| action | Yes | the class to buy one call of | |
| payment | No | optional: the x402 PAYMENT-SIGNATURE header value (base64) for this wall's terms |