{"id":"97a7605d-5b5e-48c9-b4fd-43dde53faa44","shortId":"eX4tmq","kind":"x402","title":"Loyalty rewards: One-shot planner: returns B20 token transfer calldata (ERC-20 compatible) for the reward token cost plus the recipient_reward workflow so the agent can broadcast the tx and then ca...","tagline":"Loyalty rewards: One-shot planner: returns B20 token transfer calldata (ERC-20 compatible) for the reward token cost plu","description":"Loyalty rewards: One-shot planner: returns B20 token transfer calldata (ERC-20 compatible) for the reward token cost plus the recipient_reward workflow so the agent can broadcast the tx and then call redeem_my_reward. Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP...","tags":[],"capabilities":["x402-eip155:8453"],"categories":[],"synonyms":[],"warnings":[],"endpointUrl":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/prepare_reward_redemption","protocol":"x402","transport":"http","auth":{"type":"x402","details":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","brand":"Loyal Spark","mcpTool":"prepare_reward_redemption","version":"2","website":"https://loyalspark.online","provider":"Loyal Spark","mcpServer":"https://api.loyalspark.online/recipient-loyalty-mcp","builderCode":"bc_wdmnog7m","description":"Loyal Spark Recipient MCP. POST the tool arguments as the JSON body (or the JSON-RPC tools/call body) to this x402 URL, then repeat it with PAYMENT-SIGNATURE / X-PAYMENT; gateway forwards to https:...","documentation":"https://loyalspark.online/for-agents"},"payTo":"0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b","amount":"5000","scheme":"exact","network":"eip155:8453","mimeType":"application/json","resource":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/prepare_reward_redemption","extensions":{"bazaar":{"info":{"mcp":{"server":"https://api.loyalspark.online/recipient-loyalty-mcp","toolName":"prepare_reward_redemption","transport":"streamable-http"},"input":{"body":{"reward_id":"00000000-0000-4000-8000-000000000001"},"type":"http","method":"POST","headers":{},"bodyType":"json"},"output":{"type":"json","example":{"id":1,"result":{"content":[{"text":"{...}","type":"text"}],"structuredContent":{}},"jsonrpc":"2.0"}},"inputSchema":{"type":"object","anyOf":[{"maxProperties":0},{"required":["reward_id"]}],"properties":{"reward_id":{"type":"string","format":"uuid"}},"description":"A call with no input returns a paid read-only demo view (demo program LSCSC, its rewards, the inputs to pass, next_steps). Send your own input to perform the call.","x-bare-call-default":"view"}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}},"inputSchema":{"type":"object"}}}},"builder-code":{"info":{"a":"bc_wdmnog7m"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"a":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"App builder code"},"s":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9_]{1,32}$"},"description":"Service builder codes"},"w":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"Wallet builder code"}},"additionalProperties":false}}},"description":"Loyalty rewards: One-shot planner: returns B20 token transfer calldata (ERC-20 compatible) for the reward token cost plus the recipient_reward workflow so the agent can broadcast the tx and then call redeem_my_reward. Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP...","outputSchema":{"input":{"type":"mcp","toolName":"prepare_reward_redemption","transport":"streamable-http","description":"One-shot planner: returns B20 token transfer calldata (ERC-20 compatible) for the reward token cost plus the recipient_reward workflow so the agent can broad..."}},"maxAmountRequired":"5000","maxTimeoutSeconds":300}]},"qualityScore":"0.000","qualityRationale":null,"verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":null,"enrichmentVersion":1,"enrichedAt":null,"embedding":null,"createdAt":"2026-11-04T19:18:13.333Z","updatedAt":"2026-11-07T01:35:02.964Z","lastSeenAt":"2026-11-07T01:35:02.964Z","tsv":"'-20':13,47,67 'agent':27,81,107 'ai':106 'autom':108 'b20':8,42,62 'base':95 'brand':96 'broadcast':29,83 'ca':34 'call':88 'calldata':11,45,65 'compat':14,48,68 'cost':19,53,73 'custom':101 'earn':102 'erc':12,46,66 'everi':104 'launch':97 'loyalti':1,35,55,93 'mcp':114 'minut':100 'onchain':92 'one':4,38,58 'one-shot':3,37,57 'planner':6,40,60 'plu':54 'plus':20,74 'purchas':105 'recipi':22,76 'redeem':89 'rest':110,112 'return':7,41,61 'reward':2,17,23,36,51,56,71,77,91,98 'shot':5,39,59 'token':9,18,43,52,63,72 'transfer':10,44,64 'tx':31,85 'via':111 'workflow':24,78 'x402-eip155:8453'","prices":[{"id":"8054bf24-02e1-4445-911a-78b09fb7deb3","listingId":"97a7605d-5b5e-48c9-b4fd-43dde53faa44","amountUsd":null,"unit":"per_call","nativeCurrency":"USD COIN","nativeAmount":"5000","chain":"base","payTo":"0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b","paymentMethod":"x402-usd coin","isPrimary":true,"details":{"scheme":"exact","mime_type":"application/json","accepts_all":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","brand":"Loyal Spark","mcpTool":"prepare_reward_redemption","version":"2","website":"https://loyalspark.online","provider":"Loyal Spark","mcpServer":"https://api.loyalspark.online/recipient-loyalty-mcp","builderCode":"bc_wdmnog7m","description":"Loyal Spark Recipient MCP. POST the tool arguments as the JSON body (or the JSON-RPC tools/call body) to this x402 URL, then repeat it with PAYMENT-SIGNATURE / X-PAYMENT; gateway forwards to https:...","documentation":"https://loyalspark.online/for-agents"},"payTo":"0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b","amount":"5000","scheme":"exact","network":"eip155:8453","mimeType":"application/json","resource":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/prepare_reward_redemption","extensions":{"bazaar":{"info":{"mcp":{"server":"https://api.loyalspark.online/recipient-loyalty-mcp","toolName":"prepare_reward_redemption","transport":"streamable-http"},"input":{"body":{"reward_id":"00000000-0000-4000-8000-000000000001"},"type":"http","method":"POST","headers":{},"bodyType":"json"},"output":{"type":"json","example":{"id":1,"result":{"content":[{"text":"{...}","type":"text"}],"structuredContent":{}},"jsonrpc":"2.0"}},"inputSchema":{"type":"object","anyOf":[{"maxProperties":0},{"required":["reward_id"]}],"properties":{"reward_id":{"type":"string","format":"uuid"}},"description":"A call with no input returns a paid read-only demo view (demo program LSCSC, its rewards, the inputs to pass, next_steps). Send your own input to perform the call.","x-bare-call-default":"view"}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}},"inputSchema":{"type":"object"}}}},"builder-code":{"info":{"a":"bc_wdmnog7m"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"a":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"App builder code"},"s":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9_]{1,32}$"},"description":"Service builder codes"},"w":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"Wallet builder code"}},"additionalProperties":false}}},"description":"Loyalty rewards: One-shot planner: returns B20 token transfer calldata (ERC-20 compatible) for the reward token cost plus the recipient_reward workflow so the agent can broadcast the tx and then call redeem_my_reward. Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP...","outputSchema":{"input":{"type":"mcp","toolName":"prepare_reward_redemption","transport":"streamable-http","description":"One-shot planner: returns B20 token transfer calldata (ERC-20 compatible) for the reward token cost plus the recipient_reward workflow so the agent can broad..."}},"maxAmountRequired":"5000","maxTimeoutSeconds":300}],"asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","max_timeout_seconds":300},"createdAt":"2026-11-04T19:18:13.333Z"}],"sources":[{"listingId":"97a7605d-5b5e-48c9-b4fd-43dde53faa44","source":"x402_bazaar","sourceId":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/prepare_reward_redemption","sourceUrl":"https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources","isPrimary":true,"firstSeenAt":"2026-11-04T19:18:13.333Z","lastSeenAt":"2026-11-07T01:35:02.964Z"}],"details":{"listingId":"97a7605d-5b5e-48c9-b4fd-43dde53faa44","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":{"input":{"type":"mcp","toolName":"prepare_reward_redemption","transport":"streamable-http","description":"One-shot planner: returns B20 token transfer calldata (ERC-20 compatible) for the reward token cost plus the recipient_reward workflow so the agent can broad..."}},"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"x402_version":2,"resource_type":"http","bazaar_last_updated":"2026-11-04T18:49:14.722Z"},"updatedAt":"2026-11-07T01:35:02.964Z"}}