-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added initial get-block-spends (#83)
* added initial get-block-spends * Recommended PR changes --------- Co-authored-by: kev <kev@darkhorse> Co-authored-by: Don Kackman <[email protected]>
- Loading branch information
1 parent
c3dc824
commit 414620f
Showing
4 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
|
||
namespace chia.dotnet | ||
{ | ||
public record BlockSpend | ||
{ | ||
public string PuzzleReveal { get; init; } = string.Empty; | ||
public string Solution { get; init; } = string.Empty; | ||
public BlockCoinSpend Coin { get; init; } = new(); | ||
} | ||
|
||
public record BlockCoinSpend | ||
{ | ||
public Int64 Amount { get; init; } | ||
public string ParentCoinInfo { get; init; } = string.Empty; | ||
public string PuzzleHash { get; init; } = string.Empty; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters