Skip to content

Commit

Permalink
added unstable watch event (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfriend77 authored Dec 24, 2023
1 parent 9e5289e commit e9e8c90
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions Substrate.NetApi/SubscriptionListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,26 @@ public void AuthorSubmitAndWatchExtrinsic(string subscription, ExtrinsicStatus r
GenericCallBack(subscription, result);
}

/// <summary>
/// TODO: Probablly deprecated, Authors the submit and watch extrinsic.
/// </summary>
/// <param name="subscription"></param>
/// <param name="result"></param>
[JsonRpcMethod("transaction_unstable_submitExtrinsic")]
public void TransactionUnstableSubmitExtrinsic(string subscription, TransactionEventInfo result)
{
GenericCallBack(subscription, result);
}

/// <summary>
/// Transaction unstable watch eventc.
/// </summary>
/// <param name="subscription"></param>
/// <param name="result"></param>
[JsonRpcMethod("transaction_unstable_watchEvent")]
public void TransactionUnstableWatchEventc(string subscription, TransactionEventInfo result)
{
GenericCallBack(subscription, result);
}
}
}
2 changes: 1 addition & 1 deletion Substrate.NetApi/Substrate.NetApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<PackageId>Substrate.NET.API</PackageId>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
<Version>0.9.12</Version>
<Version>0.9.13</Version>
<Company>Substrate Gaming</Company>
<Authors>Substrate Gaming</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand Down

0 comments on commit e9e8c90

Please sign in to comment.