Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Implement more wallet API endpoints #146

Open
mjovanc opened this issue May 29, 2023 · 0 comments
Open

Implement more wallet API endpoints #146

mjovanc opened this issue May 29, 2023 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@mjovanc
Copy link
Member

mjovanc commented May 29, 2023

        /* Get the transactions starting at the given block, for 1000 blocks */
        .Get("/transactions/\\d+", router(&ApiDispatcher::getTransactionsFromHeight, walletMustBeOpen, viewWalletsAllowed))

        /* Get the transactions starting at the given block, and ending at the given block */
        .Get("/transactions/\\d+/\\d+", router(&ApiDispatcher::getTransactionsFromHeightToHeight, walletMustBeOpen, viewWalletsAllowed))

        /* Get the transactions starting at the given block, for 1000 blocks, belonging to the given address */
        .Get("/transactions/address/" + api_constants::addressRegex + "/\\d+", router(
                                                                                   &ApiDispatcher::getTransactionsFromHeightWithAddress, walletMustBeOpen, viewWalletsAllowed))

        /* Get the transaction private key for the given hash */
        .Get("/transactions/privatekey/" + api_constants::hashRegex, router(
                                                                         &ApiDispatcher::getTxPrivateKey, walletMustBeOpen, viewWalletsBanned))
@mjovanc mjovanc added the feature New feature or request label May 29, 2023
@mjovanc mjovanc self-assigned this May 29, 2023
@mjovanc mjovanc added this to the v0.3.0 milestone Jun 16, 2023
@mjovanc mjovanc removed this from the v0.3.0 milestone Aug 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant