{"uid":"cap_fRi1T0YZkJz3NiFcbpkbB","slug":"loyal-spark-prepare-loyalty-token-transfer-28a01a15","name":"Loyal Spark – Prepare Loyalty Token Transfer","description":"Onchain loyalty protocol on Base L2. Launch B20 rewards, earn and redeem tokens, trade P2P, automate with AI agents via REST and MCP.","url":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/prepare_loyalty_token_transfer","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","toolName","inputSchema"],"properties":{"type":{"type":"string","const":"mcp"},"example":{"type":"object"},"toolName":{"type":"string"},"transport":{"enum":["streamable-http","sse"],"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D6jix8PCUm_VggnO_nC4o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Prepares an onchain ERC-20 loyalty token transfer transaction on Base L2, returning the unsigned transaction payload ready for signing and broadcast.","exampleAgentPrompt":"Prepare a loyalty token transfer on Loyal Spark to send 500 SPARK tokens from my wallet 0xABC...123 to customer wallet 0xDEF...456 on Base — I need the unsigned transaction payload so I can sign and broadcast it.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the unsigned transaction payload including to/from addresses, encoded calldata, gas estimate, chain ID (Base L2), and token transfer parameters, ready to be signed and submitted to the network.","failureModes":["Invalid recipient or sender wallet address returns 400 validation error","Insufficient token balance on sender address returns error payload","Unsupported or unrecognized token contract address returns 422","Malformed request body missing required fields returns 400","Network congestion or RPC failure on Base L2 returns 503","Payment of $0.005 USDC not fulfilled returns 402 payment required"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically prepare a loyalty token transfer on Base L2 within the Loyal Spark protocol, especially before signing and broadcasting a transaction. Prefer this over a generic ERC-20 tool when working within the Loyal Spark ecosystem's reward token contracts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:45:59.256Z","isFirstParty":false}