Assets support WIP

refs #37
This commit is contained in:
softsimon
2020-05-02 12:36:35 +07:00
parent 3839edbaaa
commit 53653f96c8
12 changed files with 110 additions and 41 deletions

View File

@@ -45,6 +45,7 @@ export interface Vout {
scriptpubkey_type: string;
scriptpubkey_address: string;
value: number;
asset?: string;
}
export interface Status {
@@ -108,11 +109,6 @@ export interface Asset {
status: Status;
chain_stats: AssetChainStats;
mempool_stats: AssetMempoolStats;
contract: Contract;
entity: Entity;
precision: number;
name: string;
ticker: string;
}
interface IssuanceTxin {
@@ -157,15 +153,6 @@ interface AssetMempoolStats {
burn_count: number;
}
interface Contract {
entity: Entity;
issuer_pubkey: string;
name: string;
precision: number;
ticker: string;
version: number;
}
interface Entity {
domain: string;
}