@dydxprotocol/v4-client-js 1.12.2 → 1.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/clients/native.ts
CHANGED
|
@@ -439,7 +439,7 @@ export async function withdraw(payload: string): Promise<string> {
|
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
const subaccount = new SubaccountInfo(wallet, subaccountNumber);
|
|
442
|
-
const tx = await client.withdrawFromSubaccount(subaccount, amount, json.recipient);
|
|
442
|
+
const tx = await client.withdrawFromSubaccount(subaccount, amount, json.recipient, json.memo);
|
|
443
443
|
return encodeJson(tx);
|
|
444
444
|
} catch (error) {
|
|
445
445
|
return wrappedError(error);
|
|
@@ -560,7 +560,7 @@ export async function transferNativeToken(payload: string): Promise<string> {
|
|
|
560
560
|
},
|
|
561
561
|
false,
|
|
562
562
|
client.validatorClient.post.defaultDydxGasPrice,
|
|
563
|
-
|
|
563
|
+
json.memo,
|
|
564
564
|
);
|
|
565
565
|
return encodeJson(tx);
|
|
566
566
|
} catch (error) {
|