Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant