Skip to content

Missing API call  #24

@denuoweb

Description

@denuoweb

Expected Behavior
The Qtum Web Wallet has an API call URL pointing to a .../qrc20/${contractAddress} [1], I should be able to find this URL call in this package file, qtuminfo-api/app/router.js [2]

[1] - https://github.com/qtumproject/qtum-web-wallet/blob/9a5f2405ae6a30ab2c493074abd3b2a99b028a68/src/libs/nodes/qtumInfo.js#L31

[2] - https://github.com/qtumproject/qtuminfo-api/blob/master/app/router.js

Current Behavior
The current explorer has access to the missing API call code. [3] But the code can not be found in the github.

[3] - https://qtum.info/api/qrc20/5a4b7889cad562d6c099bf877c8f5e3d66d579f8

Steps to Reproduce
Read links 1 and 2, deploy qtuminfo-api(etc) and find that the call is missing.

Context (Environment)
I'm trying to reproduce the qtum explorer and api calls.

Detailed Description
The GET /qrc/:contract end-point is not represented in the github code. The GET /contract/:contract was the original call that was replaced but the code never made it to this github project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions