Skip to content

Commit

Permalink
add multi tx
Browse files Browse the repository at this point in the history
  • Loading branch information
Strernd committed Jun 11, 2020
1 parent 9524b6c commit 76214bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@ export type BlockchainTx = {
tx: Transaction;
blockchain: Blockchain;
};

export type MultiTx = {
type: 'MULTI';
transactions: Transaction[];
};

export type TxOrMultiTx = Transaction | MultiTx;

0 comments on commit 76214bb

Please sign in to comment.