VXS / -
-
24h Vol-
Liquidity-
Trades-
Swap
Trade tokens instantly
Testnet
From
To (estimated)
IntentVM Terminal
Local Parser
>
Liquidity Pools
Pair
Reserve A
Reserve B
LP Supply
Status
+ Add Liquidity
- Remove Liquidity
Exit to Origin Chain
Sell bridged assets back to their native chain
Powered by Atomence
You Send
Delivered on Solana
Connect your wallet to view your portfolio
Integrate VexiDEX
Build on the Vexidus DEX infrastructure. All endpoints are available via JSON-RPC at https://testnet.vexidus.io. Use our JavaScript SDK for a higher-level interface.
RPC vex_quoteSwap
Get a swap quote without executing. Returns expected output, price impact, and fee.
curl -X POST https://testnet.vexidus.io \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "vex_quoteSwap",
"params": ["0x000...VXS", "0x123...TOKEN", "1000000000"],
"id": 1
}'
// Response:
{
"amount_out": "4500000000",
"price_impact_percent": "0.12",
"fee": "3/1000",
"pool_address": "Vx8...",
"reserve_in": "...",
"reserve_out": "..."
}
RPC vex_getPrice
Get the spot price between any two tokens. Returns price scaled by 1e18.
curl -X POST https://testnet.vexidus.io \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "vex_getPrice",
"params": ["VXS_ADDRESS", "TOKEN_ADDRESS"],
"id": 1
}'
// Response:
{ "price": "4500000000000000000", "price_scale": "1e18", "route": "direct" }
RPC vex_listPools
List all liquidity pools with reserves, volume, fees, and lock status.
curl -X POST https://testnet.vexidus.io \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"vex_listPools","params":[50],"id":1}'
// Each pool returns:
{
"address": "Vx8...",
"token_a": "Vx1...", "token_b": "Vx1...",
"reserve_a": "u128", "reserve_b": "u128",
"lp_total_supply": "u128",
"total_volume_a": "u128", "total_volume_b": "u128",
"fee_numerator": 3, "fee_denominator": 1000,
"creator": "Vx0...", "created_at": 12345
}
RPC vex_listTokens
List all tokens with full metadata — name, symbol, image, socials, supply, and features.
curl -X POST https://testnet.vexidus.io \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"vex_listTokens","params":[100],"id":1}'
// Each token:
{
"name": "Solana", "symbol": "SOL", "decimals": 9,
"total_supply": "...", "mint_address": "Vx1...",
"image": "https://...", "description": "...",
"twitter": "...", "github": "...",
"features": { "mintable": false, "burnable": true, ... }
}
RPC vex_submitIntent
Submit a natural language intent. The IntentVM parses and executes it as an atomic bundle.
// Natural language → on-chain execution
curl -X POST https://testnet.vexidus.io \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "vex_submitIntent",
"params": ["swap 100 VXS for USDC", "Vx0...sender"],
"id": 1
}'
// Returns bundle hash on success
{ "result": "Vxh..." }
JavaScript SDK Quick Start
Install the SDK and start trading programmatically.
import { VexidusSDK } from '@vexidus/sdk';
const sdk = new VexidusSDK('https://testnet.vexidus.io');
// Get a swap quote
const quote = await sdk.rpc.quoteSwap(VXS, USDC, '1000000000');
console.log('Output:', quote.amount_out);
// List all pools
const pools = await sdk.rpc.listPools(50);
// Get token metadata
const info = await sdk.rpc.getTokenInfo(mintAddress);