diff --git a/src/services/dydx.ts b/src/services/dydx.ts index 3d02875..560ca91 100644 --- a/src/services/dydx.ts +++ b/src/services/dydx.ts @@ -66,29 +66,6 @@ export class DydxService extends Service { } - /** - * Craft dydx restake rewards transaction - * @param pubkey wallet pubkey, this is different from the wallet address - * @param validatorAccount validator account address (wallet controlling the validator) - * @param validatorAddress validator address to which the delegation has been made - */ - async craftRestakeRewardsTx( - pubkey: string, - validatorAccount: string, - validatorAddress: string, - ): Promise { - - const { data } = await api.post( - `/v1/dydx/transaction/restake-rewards`, - { - pubkey: pubkey, - validator_account: validatorAccount, - validator_address: validatorAddress, - }); - return data; - - } - /** * Craft dydx unstaking transaction * @param pubkey wallet pubkey, this is different from the wallet address