diff --git a/pkg/exchange/ftx/rest_wallet_request.go b/pkg/exchange/ftx/rest_wallet_request.go index 9be233d3e..addbab521 100644 --- a/pkg/exchange/ftx/rest_wallet_request.go +++ b/pkg/exchange/ftx/rest_wallet_request.go @@ -43,20 +43,3 @@ func (r *walletRequest) DepositHistory(ctx context.Context, since time.Time, unt return d, nil } -func (r *walletRequest) Balances(ctx context.Context) (balances, error) { - resp, err := r. - Method("GET"). - ReferenceURL("api/wallet/balances"). - DoAuthenticatedRequest(ctx) - - if err != nil { - return balances{}, err - } - - var b balances - if err := json.Unmarshal(resp.Body, &b); err != nil { - return balances{}, fmt.Errorf("failed to unmarshal balance response body to json: %w", err) - } - - return b, nil -}