[ci skip] Generate TS types

This commit is contained in:
durch
2021-09-07 12:37:24 +00:00
parent 32ef9e019e
commit b40be179ae
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,9 @@
import { TransactionDetails } from "./transactiondetails";
export interface TauriTxResult {
code: number;
gas_wanted: number;
gas_used: number;
block_height: number;
details: TransactionDetails;
}
@@ -0,0 +1,7 @@
import { Coin } from "./coin";
export interface TransactionDetails {
from_address: string;
to_address: string;
amount: Coin;
}