1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-21 17:26:56 +01:00

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

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[];
}