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

Сurrent balance through Servlet #12

Closed
pavlinter opened this issue Apr 24, 2020 · 4 comments
Closed

Сurrent balance through Servlet #12

pavlinter opened this issue Apr 24, 2020 · 4 comments

Comments

@pavlinter
Copy link

Is it possible to get the current balance through the servlet? I have "sendkey" but don’t know the passphrase.

My task:
Activate new wallets through the servlet, knowing only "sendkey".
Send mail to the owner of the wallet if his wallet has less than 10 coins.

@prizmspace
Copy link
Owner

It is not possible.
You can use the getAccount PrizmCore API to get balanceNQT for any account (both GET and POST are allowed, passphrase isn't required). Look into PrizmCore APIs to implement complex tasks like yours.

Example:
curl https://localhost:9976/prizm?requestType=getAccount&account=PRIZM-XXXX-XXXX-XXXX-XXXXX

@Marazm1980
Copy link

Marazm1980 commented Jul 10, 2020 via email

@Marazm1980
Copy link

Ok

1 similar comment
@Marazm1980
Copy link

Ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants