API V2 Migration Guide
A comprehensive guide for migration from Okto V1 APIs to Okto V2 APIs.
This guide provides a detailed walkthrough for migrating your application from Okto V1 APIs to Okto V2 APIs. While the core API functionality remains unchanged, V2 implements a more decentralized architecture, and offering developers enhanced configurability and control over their integrations.
Key Changes Overview
Area | Changes |
---|---|
Architecture | Moved to a more decentralized system with smart contracts on the Okto chain |
Authentication | OAuth-first approach with session key implementation |
Wallet Management | Automated wallet creation across all enabled chains |
Client-Side API Migration Table
Server API Reference
V1 API Requests | V2 API Requests | Changes |
---|---|---|
GET /s2s/api/v1/wallet` | Coming Soon | - |
POST /s2s/api/v1/wallet` | Coming Soon | - |
GET /s2s/api/v1/portfolio` | Coming Soon | - |
GET /s2s/api/v1/portfolio/nft` | Coming Soon | - |
GET /s2s/api/v1/portfolio/activity` | Coming Soon | - |
GET /s2s/api/v1/supported/tokens` | Coming Soon | - |
POST /s2s/api/v1/bulk-wallets` | Coming Soon | - |
POST /s2s/api/v2/nft/mint | Coming Soon | - |
POST /s2s/api/v2/nft/transfer | Coming Soon | - |
POST /s2s/api/v2/transfer/tokens/execute/ | Coming Soon | - |
GET /s2s/api/v2/bulk_order_details/ | Coming Soon | - |
POST /s2s/api/v1/readContractData` | Coming Soon | - |
POST /s2s/api/v1/rawtransaction/execute/` | Coming Soon | - |
GET /s2s/api/v1/rawtransaction/status/` | Coming Soon | - |