voxelithic-interfaces 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,27 @@ The full picture of what else carries these tickers is at
|
|
|
55
55
|
| `VoxRouterABI`, `VoxQuoterABI`, `VoxRouterV4ABI`, `VoxQuoterV4ABI` | ABIs taken from the Foundry build artifacts, not retyped |
|
|
56
56
|
| `Hop`, `Route`, `Quote`, `PoolKey` | request and response shapes |
|
|
57
57
|
|
|
58
|
+
## Or skip the install
|
|
59
|
+
|
|
60
|
+
The same routing is available over HTTP, with no package and no key:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
curl 'https://voxelithic.xyz/api/v1/quote?tokenIn=USDG&tokenOut=SPY&amountIn=10'
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
`/tokens` and `/venues` mirror the exports above, `/quote` compares every direct
|
|
67
|
+
pool that can actually take the size, `/swap` returns an unsigned transaction and
|
|
68
|
+
`/verify` reads what a fill really did from its receipt.
|
|
69
|
+
|
|
70
|
+
The API holds no keys and cannot broadcast. Spec and service level:
|
|
71
|
+
[openapi.json](https://voxelithic.xyz/api/v1/openapi.json).
|
|
72
|
+
|
|
73
|
+
Inside an agent, the same calls arrive as MCP tools:
|
|
74
|
+
|
|
75
|
+
```json
|
|
76
|
+
{ "mcpServers": { "voxelithic": { "command": "npx", "args": ["-y", "voxelithic-mcp"] } } }
|
|
77
|
+
```
|
|
78
|
+
|
|
58
79
|
## Regenerating the token set
|
|
59
80
|
|
|
60
81
|
```bash
|