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:
parent
44dfc8f825
commit
1779f6eef4
6
types/transaction.d.ts
vendored
6
types/transaction.d.ts
vendored
@ -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
Block a user