TypeScript SDK for the OUTRIVE API
Programmatic access to the OUTRIVE launchpad - query market data, read system status, fetch token launches, and manage chat sessions against the OUTRIVE API server.
SDK coming soon — Package will be published to npm once the OUTRIVE API reaches stable v1.0. Star this repo to be notified.
import{OutriveClient}from'@outrive/sdk';constclient=newOutriveClient({baseUrl: 'https://outrive.io/api',});// Get system statusconststatus=awaitclient.system.getStatus();console.log(status.factoryAddress,status.chainId);// List launched tokensconstlaunches=awaitclient.launches.list({limit: 20});for(consttokenoflaunches.items){console.log(token.name,token.ticker,token.contractAddress);}// Get live market dataconstmarket=awaitclient.market.getTokens();newOutriveClient(config: {baseUrl?: string;// Default: https://outrive.io/apitimeout?: number;// Request timeout in ms. Default: 30000})| Method | Description |
|---|---|
getStatus() | System calibration, factory address, RPC health |
healthCheck() | Simple liveness probe |
| Method | Description |
|---|---|
getTokens() | All indexed agent tokens with price and volume |
getVirtualPrice() | Current $VIRTUAL token price |
| Method | Description |
|---|---|
list(params?) | Paginated list of token launches |
getByWallet(address) | All launches for a specific wallet |
| Method | Description |
|---|---|
getBalance(walletAddress) | Credit balance for a wallet |
// Stream a chat message (returns an async iterator of SSE events)forawait(consteventofclient.chat.stream({walletAddress: '0x...',message: 'Launch an agent called NEXUS with ticker $NXS',conversationId: 'optional-session-id',})){if(event.type==='text_delta')process.stdout.write(event.delta);if(event.type==='work_order')console.log('TX ready:',event.tx);if(event.type==='done')break;}All requests go to https://outrive.io/api by default. For local development against a self-hosted API server:
constclient=newOutriveClient({baseUrl: 'http://localhost:8080/api'});| Network | Chain ID | RPC | Explorer |
|---|---|---|---|
| Robinhood Mainnet | 4663 | https://rpc.mainnet.chain.robinhood.com | https://robinhoodchain.blockscout.com |
| Robinhood Testnet | 46630 | https://rpc.testnet.chain.robinhood.com | https://explorer.testnet.chain.robinhood.com |
- OUTRIVE: outrive.io
- Virtuals Protocol: app.virtuals.io
- Robinhood Chain Explorer: robinhoodchain.blockscout.com
- X (Twitter): @outrive_
MIT