diff --git a/src/Proto/nodeguard.proto b/src/Proto/nodeguard.proto index b054040a..59fe8629 100644 --- a/src/Proto/nodeguard.proto +++ b/src/Proto/nodeguard.proto @@ -132,6 +132,8 @@ message RequestWithdrawalRequest { FEES_TYPE mempool_fee_rate = 8; // Fee rate in sat/vbyte optional int32 custom_fee_rate = 9; + // External reference id for the withdrawal request + optional string reference_id = 10; } message RequestWithdrawalResponse { diff --git a/src/Rpc/NodeGuardService.cs b/src/Rpc/NodeGuardService.cs index 7421886a..6069f35f 100644 --- a/src/Rpc/NodeGuardService.cs +++ b/src/Rpc/NodeGuardService.cs @@ -228,7 +228,8 @@ public override async Task RequestWithdrawal(RequestW RequestMetadata = request.RequestMetadata, Changeless = request.Changeless, MempoolRecommendedFeesType = (MempoolRecommendedFeesType)request.MempoolFeeRate, - CustomFeeRate = request.CustomFeeRate + CustomFeeRate = request.CustomFeeRate, + ReferenceId = request.ReferenceId }; //Save withdrawal request