원클릭으로
pinion-trade
Get an unsigned swap transaction via 1inch aggregator on Base. Includes approval tx if needed. Costs $0.01 USDC via x402.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Get an unsigned swap transaction via 1inch aggregator on Base. Includes approval tx if needed. Costs $0.01 USDC via x402.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
On-chain intelligence, transactions and wallet tools on Base. 9 x402-paywalled skills at $0.01 USDC each.
Get current USD price for any token on Base via Birdeye (CoinGecko fallback). Costs $0.01 USDC via x402.
Sign and broadcast an unsigned transaction on Base. Requires the sender's private key. Costs $0.01 USDC via x402.
Get ETH and USDC balances for any Ethereum address on Base. Costs $0.01 USDC via x402.
Chat with the Pinion AI agent. Send a messages array, get an AI response with web search. Costs $0.01 USDC via x402.
Check wallet balances and get funding instructions for Base. ETH and USDC. Costs $0.01 USDC via x402.
| name | pinion-trade |
| description | Get an unsigned swap transaction via 1inch aggregator on Base. Includes approval tx if needed. Costs $0.01 USDC via x402. |
Returns an unsigned token swap transaction from the 1inch aggregator on Base. If the source token needs approval, an approve transaction is included.
POST https://pinionos.com/skill/trade
Price: $0.01 USDC per call (x402 on Base)
{
"src": "USDC",
"dst": "ETH",
"amount": "10",
"from": "0x...",
"slippage": 1
}
| Field | Type | Required | Description |
|---|---|---|---|
| src | string | yes | Source token symbol (ETH, USDC, WETH, DAI, CBETH) |
| dst | string | yes | Destination token symbol |
| amount | string | yes | Amount to swap (human-readable) |
| from | string | yes | Sender address (0x, 40 hex chars) |
| slippage | number | no | Slippage tolerance in percent (default: 1) |
ETH, USDC, WETH, DAI, CBETH
curl -X POST https://pinionos.com/skill/trade \
-H "Content-Type: application/json" \
-d '{"src":"USDC","dst":"ETH","amount":"10","from":"0x101C..."}'
The first request returns HTTP 402 with payment requirements. Sign a USDC TransferWithAuthorization (EIP-3009) and retry with the X-PAYMENT header.
{
"approve": {
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"data": "0x095ea7b3...",
"value": "0x0",
"chainId": 8453
},
"swap": {
"to": "0x111111125421ca6dc452d289314280a0f8842a65",
"data": "0x...",
"value": "0x0",
"chainId": 8453
},
"srcToken": "USDC",
"dstToken": "ETH",
"amount": "10",
"network": "base",
"router": "0x111111125421ca6dc452d289314280a0f8842a65",
"note": "Sign and broadcast the approve tx first, wait for confirmation, then sign and broadcast the swap tx.",
"timestamp": "2026-02-16T12:00:00.000Z"
}
approve is present, sign and broadcast the approve tx first, then wait for confirmation.swap tx.