fix: add type for TransactionOutput.condition
Signed-off-by: getlarge <ed@getlarge.eu>
This commit is contained in:
parent
44dfc8f825
commit
1779f6eef4
|
@ -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[];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue