Python SDK
A Python SDK for interacting with the Nexus DEX
Overview
Installation
# Install via pip
pip install nexus-sdkQuick Start
from nexus import RESTClient
# Initialize client
client = RESTClient({
"base_url": "https://api.nexus.xyz",
"chain_config": {
"rpc_url": "https://rpc.nexus.xyz",
"private_key": "your_private_key", # optional - include for write operations
}
})
# Get market data
products = client.list_products()
tokens = client.list_tokens()Last updated

