fix: add type for TransactionOutput.condition

Signed-off-by: getlarge <ed@getlarge.eu>
This commit is contained in:
getlarge 2021-03-10 15:37:09 +01:00
parent 44dfc8f825
commit 1779f6eef4
No known key found for this signature in database
GPG Key ID: E4E13243600F9566
1 changed files with 4 additions and 2 deletions

View File

@ -20,8 +20,10 @@ export interface TransactionInput {
}
export interface TransactionOutput {
amount: string;
// TODO: specifiy JSON conditions
condition: any[];
condition:
| PreimageSha256JSONCondition
| ThresholdSha256JSONCondition
| Ed25519Sha256JSONCondition;
public_keys: string[];
}