-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpayments-solana.json
More file actions
64 lines (64 loc) · 1.99 KB
/
payments-solana.json
File metadata and controls
64 lines (64 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"version": "1.3",
"origin": "api.solana-service.example.com",
"payout_address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
"display_name": "Solana DeFi Analytics",
"description": "Real-time Solana DeFi analytics API. Track token prices, liquidity pools, and wallet activity across Solana protocols.",
"payments": {
"x402": {
"networks": [
{
"network": "solana",
"asset": "USDC",
"contract": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
}
],
"recipient": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
}
},
"intents": [
{
"name": "get_token_price",
"description": "Get the current price and 24h change for any SPL token on Solana. Returns price in USD, market cap, volume, and liquidity depth.",
"endpoint": "/api/v1/price",
"method": "GET",
"parameters": {
"mint": { "type": "string", "required": true, "description": "SPL token mint address" }
},
"price": {
"amount": 0.001,
"currency": "USDC",
"model": "per_call",
"network": "solana"
},
"payments": {
"x402": {
"direct_price": 0.001,
"ticket_price": 0.0005
}
}
},
{
"name": "analyze_wallet",
"description": "Analyze a Solana wallet's DeFi positions, token holdings, and transaction history. Returns portfolio breakdown and yield estimates.",
"endpoint": "/api/v1/wallet",
"method": "GET",
"parameters": {
"address": { "type": "string", "required": true, "description": "Solana wallet address (base58)" },
"include_history": { "type": "boolean", "required": false, "description": "Include recent transaction history" }
},
"price": {
"amount": 0.01,
"currency": "USDC",
"model": "per_call",
"network": "solana"
},
"payments": {
"x402": {
"direct_price": 0.01,
"ticket_price": 0.007
}
}
}
]
}