Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token...
https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/create_p2p_offerOverview
Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token amount (ERC-20 compatible). Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP. Pay-only works: the paying wallet is the caller; API key optional.
Protocol
x402 (POST)
Price
$0.01
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
crypto/defi
Provider
loyalspark
Source
bazaar
Indexed
2026-11-04 22:39:33
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"offer_amount": 10,
"offer_token_address": "0xb2000000000000000000008ce542828ec5f09bb7",
"request_amount": 10,
"request_token_address": "0xb2000000000000000000008ce542828ec5f09bb7"
},
"bodyType": "json",
"headers": {},
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"id": 1,
"jsonrpc": "2.0",
"result": {
"content": [
{
"text": "{...}",
"type": "text"
}
],
"structuredContent": {}
}
},
"type": "json"
}