v3-client
v3-client copied to clipboard
TypeScript client for dYdX (v3 API).
Any plan to provide alteranative so we could use `Infura` or `Alchemy` RPC nodes? Thanks ``` (node:5748) UnhandledPromiseRejectionWarning: Error: Unsupported method [eth_signTypedData]. See available methods at https://docs.alchemy.com/alchemy/documentation/apis at SignOnboardingAction.ethSignTypedDataInternal (xxxxx\@dydxprotocol\v3-client\build\src\eth-signing\signer.js:68:19)...
How to get the price for long or short ? To pass an order i'm using `getMarket.indexPrice` but order cannot pass without using a multiplier (0.1%) ``` const accounts =...
Hello, I am trying to create a new user with the following code but I'm getting a 400 error. ``` const keyPairWithYCoordinate = await client.onboarding.deriveStarkKey(address); const onboardingInformation = await client.onboarding.createUser({...
```ts const onboardingInformation: { apiKey: ApiKeyCredentials, user: UserResponseObject, account: AccountResponseObject, } = await client.onboarding.createUser({ starkKey: '', starkKeyYCoordinate: '', country: '' }, ethereumAddress: ''); ``` typescript telling me this.. how is...
I am trying to get the liquidation price of an order, I have implemented the same formula given in the docs Close Price (Short) = P × (1 + (M...
failed installation does not give me any info. installed node-gyp and build tools and python. but this package still won't install... ```ffi-napi>if not defined npm_config_node_gyp ```
Please update this packages' dependencies. Potential vulnerabilities | dependency | using | should use | |-----------|---------|----------| | ethers | 5.0.18 | 5.6.9 | | web3 | 1.3.0 | 1.7.5 |...
 const withdrawal_result = await web3Client_test.private.createFastWithdrawal( { lpStarkKey: test_account_info.account.starkKey, creditAsset: 'USDC', creditAmount: '60', debitAmount: '100', toAddress: walletAddress, lpPositionId: '1', expiration: new Date(new Date().getTime() + 60 * 60 * 1000 *...
https://github.com/dydxprotocol/v3-client/blob/16b171f49b0822b7c51d8d9290576a208893250a/src/modules/private.ts#L399 Documentation states that id should be optional and it is not here. ``` async getActiveOrders(market, side, id, genericParams = {}) { return this._get('active-orders', { market, side, id, // is...
## Error Hello, I am trying to use the [browserify](https://browserify.org/) package in order to use the v3-client in the client. When I run `browserify -o bundle.js` I get the following...