Unsigned transactions that buy a tokenized stock on Base (Coinbase B20) with USD
Unsigned transactions that buy a tokenized stock on Base (Coinbase B20) with USDC, for your own wallet: the USDC approval when it is needed, then the LI.FI swap. Otto checks the route's worst fill against the stock token's own Chainlink price (at most 1.75% over it) and caps slippage at 1%. The quote includes LI.FI's fee and Otto's 0.1% fee. Nothing is signed or sent. buy=TICKER:amountUsdc:wallet, optional :slippageBps. $0.01 per call.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://x402.ottoai.services/stock-buy-tx
| Category | Market data |
|---|---|
| Provider host | x402.ottoai.services |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"buy": "TSLA:25:0x1111111111111111111111111111111111111111"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"buy": {
"description": "TICKER:amountUsdc:wallet, optional :slippageBps. Ticker: AAPL, AMZN, GOOGL, META, MSTR, NVDA, SPCX or TSLA. Amount: 1 to 1000 USDC, up to 6 decimals. Wallet: the Base address that signs and receives. Slippage: 1 to 100 bps, default 50.",
"type": "string"
}
},
"required": [
"buy"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"queryParams"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {},
"meta": {
"type": "object"
},
"reason": {
"description": "status=unavailable only; every >=400 is UNCHARGED",
"type": "string"
},
"status": {
"enum": [
"success",
"unavailable"
],
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}