### Quick Start: Initialize NadoClient and Query Data Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/client/README.md Initialize the NadoClient with Viem clients and chain configuration. Demonstrates querying all markets, placing a perpetual order, and getting a subaccount summary. ```typescript import { createNadoClient } from '@nadohq/client'; import { createPublicClient, createWalletClient, http } from 'viem'; import { privateKeyToAccount } from 'viem/accounts'; import { ink } from 'viem/chains'; const account = privateKeyToAccount('0x...'); const publicClient = createPublicClient({ chain: ink, transport: http(), }); const walletClient = createWalletClient({ account, chain: ink, transport: http(), }); const client = createNadoClient('inkMainnet', { publicClient, walletClient, }); // Query all markets const markets = await client.market.getAllMarkets(); // Place a perp order await client.market.placeOrder({ /* order params */ }); // Get subaccount summary const summary = await client.subaccount.getSummary({ /* subaccount params */ }); ``` -------------------------------- ### Install Engine Client and Dependencies Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/engine-client/README.md Install the engine client along with necessary packages like `@nadohq/shared`, `viem`, and `bignumber.js` using npm. ```bash npm install @nadohq/engine-client @nadohq/shared viem bignumber.js ``` -------------------------------- ### Install @nadohq/trigger-client Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/trigger-client/README.md Install the trigger client package along with its dependencies using npm. ```bash npm install @nadohq/trigger-client @nadohq/engine-client @nadohq/shared viem bignumber.js ``` -------------------------------- ### Install @nadohq/client with Peer Dependencies Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/client/README.md Install the Nado client package along with its required peer dependencies, viem and bignumber.js. Ensure these are installed separately. ```bash npm install @nadohq/client viem bignumber.js # or yarn add @nadohq/client viem bignumber.js ``` -------------------------------- ### Install Indexer Client Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/indexer-client/README.md Install the indexer client package along with its dependencies. This is typically used for analytics services or backends that require heavy indexer querying. ```bash npm install @nadohq/indexer-client @nadohq/engine-client @nadohq/shared viem bignumber.js ``` -------------------------------- ### Install @nadohq/shared Package Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/shared/README.md Install the @nadohq/shared package along with its peer dependencies viem and bignumber.js. This package is usually included by @nadohq/client, but direct installation is useful for specific low-level needs. ```bash npm install @nadohq/shared viem bignumber.js ``` -------------------------------- ### Initialize TriggerClient and Place Orders Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/trigger-client/README.md Demonstrates initializing the TriggerClient with a Viem wallet client and endpoint, then shows examples of placing, listing, and canceling trigger orders. ```typescript import { TriggerClient, TRIGGER_CLIENT_ENDPOINTS } from '@nadohq/trigger-client'; import { createWalletClient, http } from 'viem'; import { privateKeyToAccount } from 'viem/accounts'; import { ink } from 'viem/chains'; const walletClient = createWalletClient({ account: privateKeyToAccount('0x...'), chain: ink, transport: http(), }); const trigger = new TriggerClient({ url: TRIGGER_CLIENT_ENDPOINTS.inkMainnet, walletClient, }); // Place a stop-loss trigger order await trigger.placeTriggerOrder({ ... }); // List active trigger orders const orders = await trigger.listOrders({ ... }); // Cancel trigger orders await trigger.cancelTriggerOrders({ ... }); ``` -------------------------------- ### Run Development Mode Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/AGENTS.md Starts development mode for all packages, typically enabling watch mode for faster iteration. ```bash bun run dev ``` -------------------------------- ### Initialize Engine Client with Viem Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/engine-client/README.md Initialize the EngineClient by providing the engine endpoint URL and a Viem wallet client. This setup is required for interacting with the Nado engine. ```typescript import { EngineClient, ENGINE_CLIENT_ENDPOINTS } from '@nadohq/engine-client'; import { createWalletClient, http } from 'viem'; import { privateKeyToAccount } from 'viem/accounts'; import { ink } from 'viem/chains'; const walletClient = createWalletClient({ account: privateKeyToAccount('0x...'), chain: ink, transport: http(), }); const engine = new EngineClient({ url: ENGINE_CLIENT_ENDPOINTS.inkMainnet, walletClient, }); ``` -------------------------------- ### Indexer Server Price Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Indexer_Client.html Gets the current price for a given product. Requires IndexerServerPriceParams for query parameters. ```APIDOC ## GET /indexer/price ### Description Gets the current price for a given product. ### Parameters #### Query Parameters - **params** (IndexerServerPriceParams) - Required - Parameters for querying the price. ``` -------------------------------- ### initialize Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.NADO_ABIS.html Initializes the Nado system with various addresses and initial prices. ```APIDOC ## initialize ### Description Initializes the Nado system by setting critical addresses such as sanctions, sequencer, offchain exchange, clearinghouse, and verifier, along with initial prices. ### Method nonpayable ### Endpoint N/A (Contract Function) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) None (initialization function, typically no return value on success). ``` -------------------------------- ### status Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/interfaces/Nado_Engine_Client.EngineServerQueryResponseByType.html Gets the current status of the engine server. The status can indicate whether the server is started, active, stopping, syncing, or has failed. ```APIDOC ## status ### Description Gets the current status of the engine server. ### Response #### Success Response - **status** (string) - The current status of the engine server, which can be one of the following: "started", "active", "stopping", "syncing", "live_syncing", "failed". ``` -------------------------------- ### Get Indexer Product Snapshots Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Indexer_Client.html Retrieves snapshots for a specific product. This provides detailed information about the state of a particular product at a given time. ```APIDOC ## GET /indexer/product_snapshots ### Description Retrieves snapshots for a specific product. This provides detailed information about the state of a particular product at a given time. ### Method GET ### Endpoint /indexer/product_snapshots ### Parameters #### Query Parameters - **productId** (string) - Required - The ID of the product. - **paginationParams** (IndexerPaginationParams) - Optional - Parameters for pagination. ### Response #### Success Response (200) - **data** (IndexerProductSnapshot[]) - A list of product snapshots. - **meta** (IndexerPaginationMeta) - Pagination metadata. ``` -------------------------------- ### Initialize and Use Indexer Client Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/indexer-client/README.md Demonstrates how to initialize the IndexerClient with a wallet client and endpoint, and shows examples of fetching candlestick data, listing subaccount orders, and retrieving paginated trade history. ```typescript import { IndexerClient, INDEXER_CLIENT_ENDPOINTS } from '@nadohq/indexer-client'; import { createWalletClient, http } from 'viem'; import { privateKeyToAccount } from 'viem/accounts'; import { ink } from 'viem/chains'; const walletClient = createWalletClient({ account: privateKeyToAccount('0x...'), chain: ink, transport: http(), }); const indexer = new IndexerClient({ url: INDEXER_CLIENT_ENDPOINTS.inkMainnet, walletClient, }); // Get candlestick data const candles = await indexer.getCandlesticks({ ... }); // List subaccount orders const orders = await indexer.getOrders({ ... }); // Get paginated trade history const trades = await indexer.getPaginatedSubaccountMatchEvents({ ... }); ``` -------------------------------- ### initialize Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.SPOT_ENGINE_ABI.html Initializes the SPOT engine with clearinghouse, offchain exchange, quote, endpoint, and admin addresses. ```APIDOC ## initialize ### Description Initializes the SPOT engine with critical addresses for its operation. ### Method POST (or equivalent nonpayable function) ### Endpoint Not applicable (contract function) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **_clearinghouse** (address) - Required - The address of the clearinghouse. - **_offchainExchange** (address) - Required - The address of the offchain exchange. - **_quote** (address) - Required - The address of the quote token. - **_endpoint** (address) - Required - The address of the endpoint. - **_admin** (address) - Required - The address of the admin. ### Request Example ```json { "_clearinghouse": "0x...", "_offchainExchange": "0x...", "_quote": "0x...", "_endpoint": "0x...", "_admin": "0x..." } ``` ### Response #### Success Response (200) No output. #### Response Example None ``` -------------------------------- ### Usage Example: Accessing Deployments and Signing Transactions Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/shared/README.md Demonstrates how to import and use key components from the @nadohq/shared package. This includes fetching contract addresses for a specific network and signing an EIP-712 transaction request. ```typescript import { NADO_DEPLOYMENTS, NADO_ABIS, getSignedTransactionRequest, depositCollateral, BigDecimal, } from '@nadohq/shared'; // Get contract addresses for mainnet const addresses = NADO_DEPLOYMENTS.inkMainnet; // Sign an EIP-712 transaction const signed = await getSignedTransactionRequest({ requestType: 'place_order', params: { ... }, walletClient, verifyingAddress: addresses.endpoint, }); ``` -------------------------------- ### initialize Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.NADO_ABIS.html Initializes the contract with specified parameters. ```APIDOC ## initialize ### Description Initializes the contract with specified parameters. ### State Mutability nonpayable ### Parameters #### Path Parameters - **_endpoint** (address) - Description - **_quote** (address) - Description - **_clearinghouseLiq** (address) - Description - **_spreads** (uint256) - Description - **_withdrawPool** (address) - Description ``` -------------------------------- ### Get Indexer Multi Subaccount Snapshots Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Indexer_Client.html Retrieves snapshots for multiple subaccounts. This is useful for getting a consolidated view of assets and positions across several subaccounts. ```APIDOC ## GET /indexer/multi_subaccount_snapshots ### Description Retrieves snapshots for multiple subaccounts. This is useful for getting a consolidated view of assets and positions across several subaccounts. ### Method GET ### Endpoint /indexer/multi_subaccount_snapshots ### Parameters #### Query Parameters - **subaccountIds** (string[]) - Required - A list of subaccount IDs for which to retrieve snapshots. - **paginationParams** (IndexerPaginationParams) - Optional - Parameters for pagination. ### Response #### Success Response (200) - **data** (IndexerSubaccountSnapshot[]) - A list of subaccount snapshots. - **meta** (IndexerPaginationMeta) - Pagination metadata. ``` -------------------------------- ### getDefaultRecvTime Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Shared.html Gets the default receive time. ```APIDOC ## getDefaultRecvTime ### Description Gets the default receive time. ### Method (Not specified, likely a function call) ### Endpoint (Not applicable, SDK function) ### Parameters (No parameters specified) ### Request Example (No request example provided) ### Response (No response details provided) ``` -------------------------------- ### getOrderVerifyingAddress Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Shared.html Gets the address that verifies an order. ```APIDOC ## getOrderVerifyingAddress ### Description Gets the address that verifies an order. ### Method (Not specified, likely a function call) ### Endpoint (Not applicable, SDK function) ### Parameters (No parameters specified) ### Request Example (No request example provided) ### Response (No response details provided) ``` -------------------------------- ### getInsurance Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Engine_Client.Internal.EngineQueryClient.html Gets the insurance funds in USDT. ```APIDOC ## getInsurance ### Description Gets the insurance funds in USDT. ### Method `getInsurance(): Promise` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```typescript // Example usage (assuming you have an instance of the client) // const insuranceFunds = await engineQueryClient.getInsurance(); ``` ### Response #### Success Response (Promise) - **amount** (BigNumber) - The amount of insurance funds in USDT. ### Response Example ```json // Example response structure (actual value will be a BigNumber) // "10000000000000000000" ``` ``` -------------------------------- ### getLinkedSigner Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Engine_Client.Internal.EngineQueryClient.html Gets the currently linked signer for the subaccount. ```APIDOC ## getLinkedSigner ### Description Gets the currently linked signer for the subaccount. ### Method `getLinkedSigner(params: Subaccount): Promise` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```typescript // Example usage (assuming you have an instance of the client) // const signerInfo = await engineQueryClient.getLinkedSigner({ /* subaccount details */ }); ``` ### Response #### Success Response (Promise) - **signer** (string) - The linked signer address. - **nonce** (number) - The nonce associated with the signer. ### Response Example ```json { "signer": "0x123abc...", "nonce": 12345 } ``` ``` -------------------------------- ### SpotExecuteAPI Constructor Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Client.Internal.SpotExecuteAPI.html Initializes a new instance of the SpotExecuteAPI class. ```APIDOC ## constructor ### Description Initializes a new instance of the SpotExecuteAPI class. ### Parameters * **context** (NadoClientContext) - The Nado client context. ### Returns SpotExecuteAPI ``` -------------------------------- ### getV2Tickers Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Indexer_Client.IndexerBaseClient.html Get tickers from the v2 indexer endpoint. ```APIDOC ## getV2Tickers ### Description Get tickers from the v2 indexer endpoint. ### Method `getV2Tickers` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters * params: [GetIndexerV2TickersParams](../interfaces/Nado_Indexer_Client.GetIndexerV2TickersParams.html) ### Returns Promise<[GetIndexerV2TickersResponse](../types/Nado_Indexer_Client.GetIndexerV2TickersResponse.html)"> ### Request Example ```typescript // Example usage (assuming you have an instance of IndexerBaseClient called 'client') const tickersData = await client.getV2Tickers({ // parameters for GetIndexerV2TickersParams }); ``` ### Response #### Success Response (200) Returns an array of GetIndexerV2TickersResponse objects. #### Response Example ```json [ { "symbol": "BTC-USD", "price": "50000.00", "volume": "1000000.00" } ] ``` ``` -------------------------------- ### Get Engine Order Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves details for a specific order by its ID. ```APIDOC ## GET /engine/order ### Description Retrieves details for a specific order by its ID. ### Method GET ### Endpoint /engine/order ### Parameters #### Query Parameters - **orderId** (string) - Required - The unique identifier of the order. ``` -------------------------------- ### getMaxWithdrawable Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Client.Internal.SpotQueryAPI.html Gets the estimated maximum withdrawable amount for a given product. ```APIDOC ## getMaxWithdrawable ### Description Gets the estimated max withdrawable amount for a product. ### Method `getMaxWithdrawable` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **params** (GetEngineMaxWithdrawableParams) - Required - Parameters for the getMaxWithdrawable function. ### Request Example ```json { "params": { /* ... GetEngineMaxWithdrawableParams object ... */ } } ``` ### Response #### Success Response (200) - **Promise** - The estimated maximum withdrawable amount. #### Response Example ```json { "result": "1000000000000000000" // Example BigNumber value } ``` ``` -------------------------------- ### initialize Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.PERP_ENGINE_ABI.html Initializes the PERP Engine with essential addresses, including clearinghouse, offchain exchange, endpoint, and admin. ```APIDOC ## POST /initialize ### Description Initializes the PERP Engine with essential addresses, including clearinghouse, offchain exchange, endpoint, and admin. This function should be called once during the setup of the engine. ### Method POST ### Endpoint /initialize ### Parameters #### Request Body - **_clearinghouse** (address) - Required - The address of the clearinghouse. - **_offchainExchange** (address) - Required - The address of the offchain exchange. - **_endpoint** (address) - Required - The address of the engine's endpoint. - **_admin** (address) - Required - The address of the administrator. ### Request Example ```json { "_clearinghouse": "0xClearingHouseAddress", "_offchainExchange": "0xOffchainExchangeAddress", "_endpoint": "0xEndpointAddress", "_admin": "0xAdminAddress" } ``` ### Response #### Success Response (200) (No specific response body is defined for success, typically indicates successful execution.) #### Error Response (Standard error responses for contract interactions, e.g., revert reasons.) ``` -------------------------------- ### constructor Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Engine_Client.Internal.EngineQueryClient.html Initializes a new instance of the EngineQueryClient class. ```APIDOC ## constructor ### Description Initializes a new instance of the EngineQueryClient class. ### Parameters #### Path Parameters * None #### Query Parameters * None #### Request Body * None ### Parameters * **opts** (EngineClientOpts) - Required - Options for the EngineClient. ### Returns EngineQueryClient ``` -------------------------------- ### Get Engine Linked Signer Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves information about the linked signer for a subaccount. ```APIDOC ## GET /engine/linked-signer ### Description Retrieves information about the linked signer for a subaccount. ### Method GET ### Endpoint /engine/linked-signer ### Parameters #### Query Parameters - **subaccountId** (string) - Required - The ID of the subaccount. ``` -------------------------------- ### Get Engine Max Withdrawable Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves the maximum amount that can be withdrawn from a subaccount. ```APIDOC ## GET /engine/max-withdrawable ### Description Retrieves the maximum amount that can be withdrawn from a subaccount. ### Method GET ### Endpoint /engine/max-withdrawable ### Parameters #### Query Parameters - **params** (object) - Required - Parameters specifying the subaccount and asset for withdrawal. ``` -------------------------------- ### Place an Order with Engine Client Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/engine-client/README.md Shows how to place an order on the Nado engine using an EIP-712 signed execute. Ensure all required order parameters are provided. ```typescript // Place an order (EIP-712 signed) await engine.placeOrder({ ... }); ``` -------------------------------- ### Get Engine Market Liquidity Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves the liquidity information for a specific market. ```APIDOC ## GET /engine/market/liquidity ### Description Retrieves the liquidity information for a specific market. ### Method GET ### Endpoint /engine/market/liquidity ### Parameters #### Query Parameters - **params** (object) - Required - Parameters specifying the market for which to retrieve liquidity. ``` -------------------------------- ### SpotAPI Constructor Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Client.SpotAPI.html Initializes a new instance of the SpotAPI class. It requires a NadoClientContext object. ```APIDOC ## constructor ### Description Initializes a new instance of the SpotAPI class. ### Parameters * **context** (NadoClientContext) - The context object for the Nado client. ### Returns SpotAPI ``` -------------------------------- ### createClientContext Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/functions/Nado_Client.createClientContext.html Utility function to create client context from options. It takes two main arguments: `opts` for general client context creation and `accountOpts` for account-specific options. It returns a NadoClientContext. ```APIDOC ## Function createClientContext ### Description Utility function to create client context from options. ### Parameters * **opts** (CreateNadoClientContextOpts) - Description of opts * **accountOpts** (CreateNadoClientContextAccountOpts) - Description of accountOpts ### Returns * **NadoClientContext** - The created client context. ``` -------------------------------- ### Get Engine Subaccount Orders Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves a list of orders for a specific subaccount. ```APIDOC ## GET /engine/subaccount/orders ### Description Retrieves a list of orders for a specific subaccount. ### Method GET ### Endpoint /engine/subaccount/orders ### Parameters #### Query Parameters - **subaccountId** (string) - Required - The ID of the subaccount. - **params** (object) - Optional - Additional parameters for filtering or paginating orders. ``` -------------------------------- ### IndexerBaseClient Constructor Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Indexer_Client.IndexerBaseClient.html Initializes a new instance of the IndexerBaseClient. ```APIDOC ## constructor ### Description Initializes a new instance of the IndexerBaseClient. ### Parameters * **opts** (IndexerClientOpts) - Options for configuring the IndexerClient. ### Returns * IndexerBaseClient - A new instance of IndexerBaseClient. ``` -------------------------------- ### getEdgeAllMarkets Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Client.Internal.MarketQueryAPI.html Get all edge engine markets. This method is part of the MarketQueryAPI class. ```APIDOC ## getEdgeAllMarkets ### Description Get all edge engine markets. ### Method GET (assumed based on naming convention and lack of request body) ### Endpoint /edge/markets (assumed based on naming convention) ### Parameters None explicitly documented for this method. ### Response #### Success Response (200) - **markets** (Record) - An object mapping market IDs to market states from the edge engine. ``` -------------------------------- ### Get Engine NLP Pool Info Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves information about a specific NLP pool. ```APIDOC ## GET /engine/nlp/pool-info ### Description Retrieves information about a specific NLP pool. ### Method GET ### Endpoint /engine/nlp/pool-info ### Parameters #### Query Parameters - **poolId** (string) - Required - The ID of the NLP pool. ``` -------------------------------- ### Query Market Data with Engine Client Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/packages/engine-client/README.md Demonstrates how to query market data, such as all available markets or the price of a specific market, using the initialized EngineClient. ```typescript // Query market data const markets = await engine.getAllMarkets(); const price = await engine.getMarketPrice({ productId: 1 }); ``` -------------------------------- ### Get Engine Market Prices Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves the current market prices for multiple symbols. ```APIDOC ## GET /engine/market/prices ### Description Retrieves the current market prices for multiple symbols. ### Method GET ### Endpoint /engine/market/prices ### Parameters #### Query Parameters - **params** (object) - Required - Parameters specifying the symbols for which to retrieve prices. ``` -------------------------------- ### Build All Packages Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/AGENTS.md Use this command to build all packages within the monorepo. It's a prerequisite for running tests or deploying. ```bash bun run build ``` -------------------------------- ### Get Engine Market Price Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves the current market price for a given symbol. ```APIDOC ## GET /engine/market/price ### Description Retrieves the current market price for a given symbol. ### Method GET ### Endpoint /engine/market/price ### Parameters #### Query Parameters - **params** (object) - Required - Parameters specifying the symbol for which to retrieve the price. ``` -------------------------------- ### Get Engine Contracts Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Fetches a list of all available contracts within the Nado Engine. ```APIDOC ## GET /engine/contracts ### Description Fetches a list of all available contracts within the Nado Engine. ### Method GET ### Endpoint /engine/contracts ``` -------------------------------- ### getConfig Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.SPOT_ENGINE_ABI.html Retrieves the configuration for a specific product. ```APIDOC ## getConfig ### Description Retrieves the configuration for a specific product. ### Method VIEW ### Endpoint (Not specified) ### Parameters #### Query Parameters - **productId** (uint32) - Required - The ID of the product. ### Response #### Success Response (200) - **token** (address) - The address of the token. - **interestInflectionUtilX18** (int128) - Interest inflection utilization rate. - **interestFloorX18** (int128) - Minimum interest rate. - **interestSmallCapX18** (int128) - Interest rate for small capitalization. - **interestLargeCapX18** (int128) - Interest rate for large capitalization. - **withdrawFeeX18** (int128) - Withdrawal fee. - **minDepositRateX18** (int128) - Minimum deposit rate. ``` -------------------------------- ### Run Indexer-Client E2E Tests Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/AGENTS.md Builds and runs end-to-end tests for the indexer-client package. Always build before running. ```bash bun run test:e2e:indexer ``` -------------------------------- ### Get Indexer Leaderboard Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Indexer_Client.html Retrieves the leaderboard data. This endpoint provides rankings and statistics for participants. ```APIDOC ## GET /indexer/leaderboard ### Description Retrieves the leaderboard data. This endpoint provides rankings and statistics for participants. ### Method GET ### Endpoint /indexer/leaderboard ### Parameters #### Query Parameters - **paginationParams** (IndexerPaginationParams) - Optional - Parameters for pagination. ### Response #### Success Response (200) - **data** (IndexerLeaderboardParticipant[]) - A list of leaderboard participants. - **meta** (IndexerPaginationMeta) - Pagination metadata. ``` -------------------------------- ### Get Engine Server Nonces Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves nonces from the Nado Engine via the server interface. ```APIDOC ## GET /engine/server/nonces ### Description Retrieves nonces from the Nado Engine via the server interface. ### Method GET ### Endpoint /engine/server/nonces ### Parameters #### Query Parameters - **params** (object) - Required - Parameters for retrieving nonces, likely including subaccountId. ``` -------------------------------- ### initialize Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.NADO_ABIS.html Initializes the contract with the provided addresses for clearinghouse, offchain exchange, quote, endpoint, and admin. This function should be called once during contract deployment. ```APIDOC ## initialize ### Description Initializes the contract with the provided addresses for clearinghouse, offchain exchange, quote, endpoint, and admin. This function should be called once during contract deployment. ### Method NONPAYABLE ### Endpoint N/A (Contract Function) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters - **_clearinghouse** (address) - Required - The address of the clearinghouse. - **_offchainExchange** (address) - Required - The address of the offchain exchange. - **_quote** (address) - Required - The address of the quote token. - **_endpoint** (address) - Required - The address of the endpoint. - **_admin** (address) - Required - The address of the administrator. ### Response #### Success Response (0) No specific return value. #### Response Example None ``` -------------------------------- ### NADO_ABIS.querier.getAllProducts Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.NADO_ABIS.html Retrieves all product information, including their associated risk and configuration details. This function is part of the NADO_ABIS querier interface. ```APIDOC ## getAllProducts ### Description Retrieves all product information, including their associated risk and configuration details. This function is part of the NADO_ABIS querier interface. ### Method N/A (This appears to be a direct variable access or SDK method call, not an HTTP endpoint) ### Endpoint N/A ### Parameters This function does not appear to take any direct input parameters. ### Response #### Success Response Returns an array of `SpotProduct` objects. Each object contains: - **productId** (uint32): The unique identifier for the product. - **oraclePriceX18** (int128): The oracle price, scaled by 10^18. - **risk** (struct RiskHelper.Risk): An object containing risk-related information. - **config** (struct ISpotEngine.Config): An object containing configuration details for the spot engine. - **state** (struct ISpotEngine.State): An object containing the current state of the spot engine. - **bookInfo** (struct FQuerier.BookInfo): An object containing book information. #### Response Example ```json { "productId": 123, "oraclePriceX18": "1000000000000000000", "risk": { "..." : "..." }, "config": { "..." : "..." }, "state": { "..." : "..." }, "bookInfo": { "..." : "..." } } ``` ``` -------------------------------- ### Get Engine NLP Locked Balances Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves the locked NLP balances for a given subaccount. ```APIDOC ## GET /engine/nlp/locked-balances ### Description Retrieves the locked NLP balances for a given subaccount. ### Method GET ### Endpoint /engine/nlp/locked-balances ### Parameters #### Query Parameters - **subaccountId** (string) - Required - The ID of the subaccount. ``` -------------------------------- ### Run Client E2E Tests Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/AGENTS.md Builds and runs end-to-end tests specifically for the client package. Requires a prior build. ```bash bun run test:e2e:client ``` -------------------------------- ### Get Engine Subaccount Fee Rates Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves the fee rates applicable to a specific subaccount. ```APIDOC ## GET /engine/subaccount/fee-rates ### Description Retrieves the fee rates applicable to a specific subaccount. ### Method GET ### Endpoint /engine/subaccount/fee-rates ### Parameters #### Query Parameters - **subaccountId** (string) - Required - The ID of the subaccount. ``` -------------------------------- ### Get Engine Subaccount Product Orders Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves orders for a specific product within a subaccount. ```APIDOC ## GET /engine/subaccount/product/orders ### Description Retrieves orders for a specific product within a subaccount. ### Method GET ### Endpoint /engine/subaccount/product/orders ### Parameters #### Query Parameters - **subaccountId** (string) - Required - The ID of the subaccount. - **productId** (string) - Required - The ID of the product. - **params** (object) - Optional - Additional parameters for filtering or paginating orders. ``` -------------------------------- ### initialize Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.CLEARINGHOUSE_ABI.html Initializes the clearinghouse with provided addresses and parameters. This function can only be called once. ```APIDOC ## initialize ### Description Initializes the clearinghouse with provided addresses and parameters. This function can only be called once. ### Method POST (or equivalent for state-changing functions) ### Endpoint N/A (Function call on the contract instance) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **_endpoint** (address) - The endpoint address. - **_quote** (address) - The quote token address. - **_clearinghouseLiq** (address) - The clearinghouse liquidation address. - **_spreads** (uint256) - The initial spreads value. - **_withdrawPool** (address) - The withdraw pool address. ### Request Example ```json { "_endpoint": "0x...", "_quote": "0x...", "_clearinghouseLiq": "0x...", "_spreads": "1000000000000000000", "_withdrawPool": "0x..." } ``` ### Response #### Success Response (200) No specific output is defined for this function, indicating a successful state change. #### Response Example N/A ``` -------------------------------- ### Get Engine Symbols Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves a list of available trading symbols supported by the Nado Engine. ```APIDOC ## GET /engine/symbols ### Description Retrieves a list of available trading symbols supported by the Nado Engine. ### Method GET ### Endpoint /engine/symbols ### Parameters #### Query Parameters - **params** (object) - Optional - Parameters to filter or modify the symbol list. ``` -------------------------------- ### WebsocketAPI Constructor Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Client.Internal.WebsocketAPI.html Initializes a new instance of the WebsocketAPI class. It requires a NadoClientContext object. ```APIDOC ## constructor ### Signature ```typescript new WebsocketAPI(context: NadoClientContext): WebsocketAPI ``` ### Parameters * **context** (NadoClientContext) - The context object for the Nado client. ### Returns * WebsocketAPI - An instance of the WebsocketAPI class. ### Overrides * Inherits from `BaseNadoAPI` constructor. ``` -------------------------------- ### Get Engine Nonces Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves the nonces for a given subaccount, used for transaction signing and security. ```APIDOC ## GET /engine/nonces ### Description Retrieves the nonces for a given subaccount, used for transaction signing and security. ### Method GET ### Endpoint /engine/nonces ### Parameters #### Query Parameters - **subaccountId** (string) - Required - The ID of the subaccount for which to retrieve nonces. ``` -------------------------------- ### EngineClient Constructor Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Engine_Client.EngineClient.html Initializes a new instance of the EngineClient. This client aggregates query, execution, and WebSocket capabilities for the Nado matching engine. ```APIDOC ## new EngineClient(opts: EngineClientOpts) ### Description Initializes a new instance of the EngineClient. This client aggregates query, execution, and WebSocket capabilities for the Nado matching engine. ### Parameters #### Path Parameters * **opts** (EngineClientOpts) - Description of the options object for EngineClient initialization. ### Returns EngineClient ``` -------------------------------- ### GetEngineSubaccountFeeRatesParams Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/types/Nado_Engine_Client.GetEngineSubaccountFeeRatesParams.html Type alias for parameters used to get subaccount fee rates. It is defined in `types/clientQueryTypes.ts`. ```APIDOC ## Type Alias GetEngineSubaccountFeeRatesParams ### Description This type alias represents the parameters required for fetching subaccount fee rates. It is part of the Nado Engine Client's query types. ### Defined in * `packages/engine-client/src/types/clientQueryTypes.ts:161` ### Type ```typescript { Subaccount: string; } ``` ``` -------------------------------- ### EngineClientOpts Interface Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/interfaces/Nado_Engine_Client.Internal.EngineClientOpts.html Defines the configuration options for initializing the Nado Engine Client. It requires a URL and can optionally include wallet client configurations. ```APIDOC ## Interface: EngineClientOpts ### Description This interface specifies the configuration options required to initialize the Nado Engine Client. It includes a mandatory `url` and optional parameters for `walletClient` and `linkedSignerWalletClient`. ### Properties #### url - **url** (string) - Required - The base URL for the Nado Engine. #### walletClient - **walletClient** ({}) - Optional - Configuration for the wallet client. #### linkedSignerWalletClient - **linkedSignerWalletClient** ({}) - Optional - Configuration for the linked signer wallet client. ### Example ```typescript { url: "https://api.nado.com", walletClient: { /* wallet client configuration */ }, linkedSignerWalletClient: { /* linked signer wallet client configuration */ } } ``` ``` -------------------------------- ### GetIndexerReferralCodeParams Interface Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/interfaces/Nado_Indexer_Client.GetIndexerReferralCodeParams.html Interface for parameters used to get an indexer referral code. It requires a subaccount. ```APIDOC ## Interface GetIndexerReferralCodeParams ### Description Represents the parameters required to obtain an indexer referral code. This interface mandates the inclusion of a `subaccount`. ### Properties #### subaccount - **subaccount** (Subaccount) - Required - The subaccount for which the referral code is requested. ``` -------------------------------- ### Run Engine-Client E2E Tests Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/AGENTS.md Builds and runs end-to-end tests for the engine-client package. Ensure packages are built first. ```bash bun run test:e2e:engine ``` -------------------------------- ### GetIndexerPerpPricesParams Interface Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/interfaces/Nado_Indexer_Client.GetIndexerPerpPricesParams.html Interface for parameters used to get perpetual prices from the indexer. It requires a productId. ```APIDOC ## Interface GetIndexerPerpPricesParams ### Description Parameters for fetching perpetual prices. Requires a `productId`. ### Properties #### productId - **productId** (number) - Required - The ID of the product for which to retrieve perpetual prices. ``` -------------------------------- ### Run E2E Tests Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/AGENTS.md Builds and runs all end-to-end tests. This command first executes `bun run build`. ```bash bun run test:e2e ``` -------------------------------- ### FQuerier.SpotProductWeights Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.NADO_ABIS.html Defines the weight parameters for a spot product, including initial and maintenance weights for long and short positions. ```APIDOC ## FQuerier.SpotProductWeights ### Description Contains the weight configurations for a spot product. ### Type struct FQuerier.SpotProductWeights ### Fields - **longWeightInitialX18** (int128) - The initial weight for long positions, scaled by 10^18. - **shortWeightInitialX18** (int128) - The initial weight for short positions, scaled by 10^18. - **longWeightMaintenanceX18** (int128) - The maintenance weight for long positions, scaled by 10^18. ``` -------------------------------- ### Get Engine Server Contracts Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves contract information from the Nado Engine via the server interface. ```APIDOC ## GET /engine/server/contracts ### Description Retrieves contract information from the Nado Engine via the server interface. ### Method GET ### Endpoint /engine/server/contracts ``` -------------------------------- ### Create Symlinks for LLM Agents Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/README.md Use these bash commands to create symbolic links for LLM agents to use the master instructions file. ```bash # For Qwen ln -sf AGENT.md QWEN.md # For Gemini ln -sf AGENT.md GEMINI.md ``` -------------------------------- ### Get Engine Max Order Size Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Retrieves the maximum order size allowed for a given symbol. ```APIDOC ## GET /engine/max-order-size ### Description Retrieves the maximum order size allowed for a given symbol. ### Method GET ### Endpoint /engine/max-order-size ### Parameters #### Query Parameters - **params** (object) - Required - Parameters specifying the symbol and other conditions for the order size. ``` -------------------------------- ### EngineBaseClient Constructor Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Engine_Client.Internal.EngineBaseClient.html Initializes a new instance of the EngineBaseClient class. This constructor is used internally to set up the client with necessary options. ```APIDOC ## constructor ### Description Initializes a new instance of the EngineBaseClient class. ### Parameters * **opts** (EngineClientOpts) - The options required to configure the client. ### Returns * EngineBaseClient ``` -------------------------------- ### Get Engine Health Groups Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Engine_Client.html Fetches information about the health groups within the Nado Engine system. ```APIDOC ## GET /engine/health/groups ### Description Fetches information about the health groups within the Nado Engine system. ### Method GET ### Endpoint /engine/health/groups ``` -------------------------------- ### Publish All Packages Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/AGENTS.md Cleans, builds, and publishes all packages in the monorepo. Use with caution as it affects published versions. ```bash bun run publish-all ``` -------------------------------- ### EngineWebClient Constructor Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Engine_Client.Internal.EngineWebClient.html Initializes a new instance of the EngineWebClient class. This client is used for direct web queries to the engine. ```APIDOC ## new EngineWebClient(opts: EngineClientOpts): EngineWebClient ### Description Initializes a new instance of the EngineWebClient class. ### Parameters * **opts** (EngineClientOpts) - Options for the engine client. ### Returns * EngineWebClient - An instance of the EngineWebClient. ``` -------------------------------- ### nowInSeconds() Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/functions/Nado_Shared.nowInSeconds.html Gets the current time in seconds. This function returns an array of numbers representing the current time. ```APIDOC ## nowInSeconds() ### Description Returns the current time in seconds. ### Method `nowInSeconds()` ### Returns * **number[]** - An array of numbers representing the current time in seconds. ### Source * Defined in [utils/time.ts:19](https://github.com/nadohq/nado-typescript-sdk/blob/be24947f588c4fcc294607e985e572c81760f45a/packages/shared/src/utils/time.ts#L19) ``` -------------------------------- ### ISpotEngine.Balance Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.NADO_ABIS.html Defines the balance structure, containing the amount. ```APIDOC ## ISpotEngine.Balance ### Description Represents a balance amount. ### Type struct ISpotEngine.Balance ### Fields - **amount** (int128) - The balance amount. ``` -------------------------------- ### IndexerServerListSubaccountsParams Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/interfaces/Nado_Indexer_Client.IndexerServerListSubaccountsParams.html Parameters for the IndexerServer.listSubaccounts method. Allows specifying optional start, limit, and address for filtering subaccounts. ```APIDOC ## Interface: IndexerServerListSubaccountsParams ### Description This interface defines the parameters for the `listSubaccounts` method of the Indexer Server. It allows clients to specify optional filtering criteria for retrieving subaccount data. ### Properties #### Optional Parameters - **start** (number) - Optional - The starting index for the subaccount list. Useful for pagination. - **limit** (number) - Optional - The maximum number of subaccounts to return. Useful for pagination. - **address** (string) - Optional - A specific address to filter the subaccounts by. ``` -------------------------------- ### getPerpPrices Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Indexer_Client.IndexerClient.html Fetches perpetual swap prices for a given product. ```APIDOC ## getPerpPrices ### Description Fetches perpetual swap prices. ### Method (Not specified, assumed to be a client method call) ### Endpoint (Not specified) ### Parameters (Not specified) ### Request Example (Not specified) ### Response (Not specified) ``` -------------------------------- ### Get Indexer Backlog Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Indexer_Client.html Retrieves backlog information. This endpoint provides data on pending or unprocessed items in the system. ```APIDOC ## GET /indexer/backlog ### Description Retrieves backlog information. This endpoint provides data on pending or unprocessed items in the system. ### Method GET ### Endpoint /indexer/backlog ### Response #### Success Response (200) - **data** (GetIndexerBacklogResponse) - The backlog information. ``` -------------------------------- ### Get Indexer Maker Statistics Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Indexer_Client.html Retrieves maker statistics. This endpoint provides insights into maker activity and performance. ```APIDOC ## GET /indexer/maker_statistics ### Description Retrieves maker statistics. This endpoint provides insights into maker activity and performance. ### Method GET ### Endpoint /indexer/maker_statistics ### Parameters #### Query Parameters - **paginationParams** (IndexerPaginationParams) - Optional - Parameters for pagination. ### Response #### Success Response (200) - **data** (IndexerMaker[]) - A list of maker statistics. - **meta** (IndexerPaginationMeta) - Pagination metadata. ``` -------------------------------- ### getRisk Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/variables/Nado_Shared.PERP_ENGINE_ABI.html Retrieves the risk parameters for a given product. ```APIDOC ## getRisk ### Description Retrieves the risk parameters for a given product. ### Method view ### Endpoint getRisk(productId: uint32) ### Parameters #### Path Parameters - **productId** (uint32) - Required - The ID of the product. ### Response #### Success Response (200) - **longWeightInitialX18** (int128) - The initial long weight. - **shortWeightInitialX18** (int128) - The initial short weight. - **longWeightMaintenanceX18** (int128) - The maintenance long weight. ### Response Example { "longWeightInitialX18": "1000000000000000000", "shortWeightInitialX18": "1000000000000000000", "longWeightMaintenanceX18": "500000000000000000" } ``` -------------------------------- ### Get Indexer Orders Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/modules/Nado_Indexer_Client.html Retrieves a list of orders. This endpoint allows users to query order history and details. ```APIDOC ## GET /indexer/orders ### Description Retrieves a list of orders. This endpoint allows users to query order history and details. ### Method GET ### Endpoint /indexer/orders ### Parameters #### Query Parameters - **paginationParams** (IndexerPaginationParams) - Optional - Parameters for pagination. ### Response #### Success Response (200) - **data** (IndexerOrder[]) - A list of orders. - **meta** (IndexerPaginationMeta) - Pagination metadata. ``` -------------------------------- ### IndexerClient Constructor Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/classes/Nado_Indexer_Client.IndexerClient.html Initializes a new instance of the IndexerClient. This client is used to interact with the Nado indexer service for historical data queries. ```APIDOC ## constructor ### Description Initializes a new instance of the IndexerClient. ### Parameters * **opts** (IndexerClientOpts) - Options for configuring the IndexerClient. ### Returns * IndexerClient - An instance of the IndexerClient. ``` -------------------------------- ### GetIndexerPrivateAlphaChoiceParams Interface Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/interfaces/Nado_Indexer_Client.GetIndexerPrivateAlphaChoiceParams.html Defines the parameters required to get private alpha choices. It includes the address for which the choices are to be retrieved. ```APIDOC ## Interface: GetIndexerPrivateAlphaChoiceParams ### Description This interface defines the parameters for retrieving private alpha choices. It requires a single parameter, `address`, which is a string representing a hexadecimal Ethereum address. ### Properties #### address - **address** (string) - Required - The Ethereum address (prefixed with '0x') for which to retrieve private alpha choices. * Type: `0x${string}` * Defined in: [types/clientTypes.ts:716](https://github.com/nadohq/nado-typescript-sdk/blob/be24947f588c4fcc294607e985e572c81760f45a/packages/indexer-client/src/types/clientTypes.ts#L716) ``` -------------------------------- ### createNadoClient Source: https://github.com/nadohq/nado-typescript-sdk/blob/main/apps/docs/functions/Nado_Client.createNadoClient.html Creates a Nado client from the provided options. This function is essential for initializing the Nado client with specific context and account configurations. ```APIDOC ## Function createNadoClient ### Description Creates a Nado client from given options. ### Signature createNadoClient(opts: CreateNadoClientContextOpts, accountOpts: CreateNadoClientContextAccountOpts): NadoClient[] ### Parameters #### Path Parameters * **opts** (CreateNadoClientContextOpts) - Description not available. * **accountOpts** (CreateNadoClientContextAccountOpts) - Description not available. ### Returns * **NadoClient[]** - An array of NadoClient instances. ```