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

provide drips per cindex given faucet and cid #5

Open
brenzi opened this issue Sep 29, 2024 · 0 comments
Open

provide drips per cindex given faucet and cid #5

brenzi opened this issue Sep 29, 2024 · 0 comments

Comments

@brenzi
Copy link
Member

brenzi commented Sep 29, 2024

use extrinsic encointerFaucetwhich has the following data:

  "args": {
    "faucet_account": "GDcRrT5id2uFsYaE8NgfpnUkNKJpBWU4C2f5EFZQZiVZb9c",
    "cid": "u0qj944rhWE",
    "cindex": 52
  },

the request shall be:
curl "https://api.encointer.org/v1/accounting/faucet-drips?cid=u0qj944rhWE&faucet_account=GDcRrT5id2uFsYaE8NgfpnUkNKJpBWU4C2f5EFZQZiVZb9c"

  • if cid not provided, return for all cids
  • if faucet_account not proovided, return for all faucets
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

1 participant