BlockExplorer.smali

.class public Linfo/blockchain/api/blockexplorer/BlockExplorer;
.super Linfo/blockchain/api/BaseApiClient;
.source "BlockExplorer.java"


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 22
    invoke-direct {p0}, Linfo/blockchain/api/BaseApiClient;-><init>()V

    .line 23
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .registers 2

    .prologue
    .line 30
    invoke-direct {p0, p1}, Linfo/blockchain/api/BaseApiClient;-><init>(Ljava/lang/String;)V

    .line 31
    return-void
.end method

.method public constructor <init>(Lretrofit2/Retrofit;Ljava/lang/String;)V
    .registers 4

    .prologue
    .line 41
    const/4 v0, 0x0

    invoke-direct {p0, p1, v0, p2}, Linfo/blockchain/api/BaseApiClient;-><init>(Lretrofit2/Retrofit;Lretrofit2/Retrofit;Ljava/lang/String;)V

    .line 42
    return-void
.end method


# virtual methods
.method public getAddress(Ljava/lang/String;II)Lretrofit2/Call;
    .registers 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "II)",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/AddressFull;",
            ">;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 225
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    const/4 v4, 0x0

    const-string v5, "json"

    iget-object v6, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    move-object v1, p1

    invoke-interface/range {v0 .. v6}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getAddress(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getAddress(Ljava/lang/String;Linfo/blockchain/api/blockexplorer/FilterType;Ljava/lang/Integer;Ljava/lang/Integer;)Lretrofit2/Call;
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Linfo/blockchain/api/blockexplorer/FilterType;",
            "Ljava/lang/Integer;",
            "Ljava/lang/Integer;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/AddressFull;",
            ">;"
        }
    .end annotation

    .prologue
    .line 55
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    if-nez p2, :cond_13

    const/4 v4, 0x0

    :goto_7
    const-string v5, "json"

    iget-object v6, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    move-object v1, p1

    move-object v2, p3

    move-object v3, p4

    invoke-interface/range {v0 .. v6}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getAddress(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0

    :cond_13
    invoke-virtual {p2}, Linfo/blockchain/api/blockexplorer/FilterType;->getFilterInt()I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    goto :goto_7
.end method

.method public getBalance(Ljava/util/List;Linfo/blockchain/api/blockexplorer/FilterType;)Lretrofit2/Call;
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Linfo/blockchain/api/blockexplorer/FilterType;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Linfo/blockchain/api/data/Balance;",
            ">;>;"
        }
    .end annotation

    .prologue
    .line 68
    const-string v0, "|"

    invoke-static {p1, v0}, Lorg/apache/commons/lang3/StringUtils;->join(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 69
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v2

    if-nez p2, :cond_14

    const/4 v0, 0x0

    :goto_d
    iget-object v3, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v2, v1, v0, v3}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getBalance(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0

    :cond_14
    invoke-virtual {p2}, Linfo/blockchain/api/blockexplorer/FilterType;->getFilterInt()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    goto :goto_d
.end method

.method public getBlockDetails(J)Lretrofit2/Call;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/RawBlock;",
            ">;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 280
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    iget-object v1, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, p1, p2, v1}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getBlockDetails(JLjava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getBlockDetails(Ljava/lang/String;)Lretrofit2/Call;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/RawBlock;",
            ">;"
        }
    .end annotation

    .prologue
    .line 109
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    iget-object v1, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, p1, v1}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getBlockDetails(Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getBlocksAtHeight(J)Lretrofit2/Call;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/RawBlocks;",
            ">;"
        }
    .end annotation

    .prologue
    .line 131
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    const-string v1, "json"

    iget-object v2, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, p1, p2, v1, v2}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getBlocksAtHeight(JLjava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getBlocksAtTime(J)Lretrofit2/Call;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/RawBlocks;",
            ">;"
        }
    .end annotation

    .prologue
    .line 162
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    const-string v1, "json"

    iget-object v2, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, p1, p2, v1, v2}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getBlocksAtTime(JLjava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getBlocksFromPool(Ljava/lang/String;)Lretrofit2/Call;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/RawBlocks;",
            ">;"
        }
    .end annotation

    .prologue
    .line 173
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    const-string v1, "json"

    iget-object v2, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, p1, v1, v2}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getBlocksFromPool(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getExportHistory(Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;
    .registers 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Ljava/util/List",
            "<",
            "Linfo/blockchain/api/data/ExportHistory;",
            ">;>;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 210
    const-string v0, "|"

    invoke-static {p1, v0}, Lorg/apache/commons/lang3/StringUtils;->join(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 211
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    iget-object v5, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    invoke-interface/range {v0 .. v5}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getExportHistory(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getLatestBlock()Lretrofit2/Call;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/Block;",
            ">;"
        }
    .end annotation

    .prologue
    .line 141
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    iget-object v1, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, v1}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getLatestBlock(Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getMultiAddress(Ljava/util/List;Linfo/blockchain/api/blockexplorer/FilterType;Ljava/lang/Integer;Ljava/lang/Integer;)Lretrofit2/Call;
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Linfo/blockchain/api/blockexplorer/FilterType;",
            "Ljava/lang/Integer;",
            "Ljava/lang/Integer;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/MultiAddress;",
            ">;"
        }
    .end annotation

    .prologue
    const/4 v5, 0x0

    .line 83
    const-string v0, "|"

    invoke-static {p1, v0}, Lorg/apache/commons/lang3/StringUtils;->join(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 84
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    if-nez p2, :cond_17

    move-object v4, v5

    :goto_e
    iget-object v6, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    move-object v2, p3

    move-object v3, p4

    invoke-interface/range {v0 .. v6}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getMultiAddress(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0

    :cond_17
    invoke-virtual {p2}, Linfo/blockchain/api/blockexplorer/FilterType;->getFilterInt()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    goto :goto_e
.end method

.method public getMultiAddress(Ljava/util/List;Ljava/lang/String;III)Lretrofit2/Call;
    .registers 13
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/lang/String;",
            "III)",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/MultiAddress;",
            ">;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 242
    const-string v0, "|"

    invoke-static {p1, v0}, Lorg/apache/commons/lang3/StringUtils;->join(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 243
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    .line 244
    invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {p5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    iget-object v6, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    move-object v5, p2

    invoke-interface/range {v0 .. v6}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getMultiAddress(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    .line 243
    return-object v0
.end method

.method public getTransaction(Ljava/lang/String;)Lretrofit2/Call;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/Transaction;",
            ">;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 256
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    const-string v1, "json"

    iget-object v2, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, p1, v1, v2}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getTransaction(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getTransactionDetails(J)Lretrofit2/Call;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/Transaction;",
            ">;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 268
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    iget-object v1, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, p1, p2, v1}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getTransactionDetails(JLjava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getTransactionDetails(Ljava/lang/String;)Lretrofit2/Call;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/Transaction;",
            ">;"
        }
    .end annotation

    .prologue
    .line 120
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    iget-object v1, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, p1, v1}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getTransactionDetails(Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getUnconfirmedTransactions()Lretrofit2/Call;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/Transactions;",
            ">;"
        }
    .end annotation

    .prologue
    .line 151
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v0

    const-string v1, "json"

    iget-object v2, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v0, v1, v2}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getUnconfirmedTransactions(Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getUnspentOutputs(Ljava/util/List;)Lretrofit2/Call;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;)",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/UnspentOutputs;",
            ">;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    const/4 v3, 0x0

    .line 292
    const-string v0, "|"

    invoke-static {p1, v0}, Lorg/apache/commons/lang3/StringUtils;->join(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 293
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v1

    iget-object v2, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v1, v0, v3, v3, v2}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getUnspent(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getUnspentOutputs(Ljava/util/List;Ljava/lang/Integer;Ljava/lang/Integer;)Lretrofit2/Call;
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/lang/Integer;",
            "Ljava/lang/Integer;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/UnspentOutputs;",
            ">;"
        }
    .end annotation

    .prologue
    .line 97
    const-string v0, "|"

    invoke-static {p1, v0}, Lorg/apache/commons/lang3/StringUtils;->join(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 98
    invoke-virtual {p0}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getExplorerInterface()Linfo/blockchain/api/interfaces/ExplorerInterface;

    move-result-object v1

    iget-object v2, p0, Linfo/blockchain/api/blockexplorer/BlockExplorer;->apiCode:Ljava/lang/String;

    invoke-interface {v1, v0, p2, p3, v2}, Linfo/blockchain/api/interfaces/ExplorerInterface;->getUnspent(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getXpub(Ljava/lang/String;Linfo/blockchain/api/blockexplorer/FilterType;Ljava/lang/Integer;Ljava/lang/Integer;)Linfo/blockchain/api/data/XpubFull;
    .registers 9

    .prologue
    const/4 v3, 0x0

    .line 186
    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/String;

    aput-object p1, v0, v3

    invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v0

    invoke-virtual {p0, v0, p2, p3, p4}, Linfo/blockchain/api/blockexplorer/BlockExplorer;->getMultiAddress(Ljava/util/List;Linfo/blockchain/api/blockexplorer/FilterType;Ljava/lang/Integer;Ljava/lang/Integer;)Lretrofit2/Call;

    move-result-object v0

    .line 187
    const/4 v1, 0x0

    .line 189
    :try_start_f
    invoke-interface {v0}, Lretrofit2/Call;->execute()Lretrofit2/Response;

    move-result-object v0

    invoke-virtual {v0}, Lretrofit2/Response;->body()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Linfo/blockchain/api/data/MultiAddress;
    :try_end_19
    .catch Ljava/io/IOException; {:try_start_f .. :try_end_19} :catch_2e

    move-object v1, v0

    .line 194
    :goto_1a
    new-instance v2, Linfo/blockchain/api/data/XpubFull;

    invoke-virtual {v1}, Linfo/blockchain/api/data/MultiAddress;->getAddresses()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Linfo/blockchain/api/data/AddressSummary;

    invoke-virtual {v1}, Linfo/blockchain/api/data/MultiAddress;->getTxs()Ljava/util/ArrayList;

    move-result-object v1

    invoke-direct {v2, v0, v1}, Linfo/blockchain/api/data/XpubFull;-><init>(Linfo/blockchain/api/data/AddressSummary;Ljava/util/ArrayList;)V

    return-object v2

    .line 191
    :catch_2e
    move-exception v0

    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_1a
.end method