mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 09:46:58 +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 {
|
export interface TransactionOutput {
|
||||||
amount: string;
|
amount: string;
|
||||||
// TODO: specifiy JSON conditions
|
condition:
|
||||||
condition: any[];
|
| PreimageSha256JSONCondition
|
||||||
|
| ThresholdSha256JSONCondition
|
||||||
|
| Ed25519Sha256JSONCondition;
|
||||||
public_keys: string[];
|
public_keys: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user