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

Request API from CrowdNode #3

Open
coolaj86 opened this issue Jun 15, 2022 · 1 comment
Open

Request API from CrowdNode #3

coolaj86 opened this issue Jun 15, 2022 · 1 comment

Comments

@coolaj86
Copy link
Member

coolaj86 commented Jun 15, 2022

Re: https://discord.com/channels/484546513507188745/501115691634786339/986453482343125004

Plain Text

curl -X GET https://test.crowdnode.io/odata/apifundings/HotWallet \
    -H 'Accept: text/plain'
yMY5bqWcknGy5xYBHSsh2xvHZiJsRucjuy

JSON

curl -X GET https://test.crowdnode.io/odata/apifundings/HotWallet \
    -H 'Accept: application/json'
{ "PubKeyHash": "yMY5bqWcknGy5xYBHSsh2xvHZiJsRucjuy" }

Alternate

@coolaj86
Copy link
Member Author

coolaj86 commented Jun 15, 2022

Also, let's get the API in... the API:

https://test.crowdnode.io/odata/apifundings/BlockChainAPI

{
  "offset": 20000,
  "requests": {
    "acceptTerms": 65536,
    "signupForApi": 131072,
    "toggleInstantPayout": 4096,
    "withdrawMin": 1,
    "withdrawMax": 1000,
    "depositMin": 1001
  },
  "responses": {
    "2": "PleaseAcceptTerms",
    "4": "WelcomeToCrowdNodeBlockChainAPI",
    "8": "DepositReceived",
    "16": "WithdrawalQueued",
    "32": "WithdrawalFailed", // Most likely too small amount requested for withdrawal.
    "64": "AutoWithdrawalEnabled",
    "128": "AutoWithdrawalDisabled"
  }
}

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