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

"dust" transaction exception when broadcasting a coldstaking transaction #8

Open
thecrypt0hunter opened this issue Feb 15, 2020 · 0 comments

Comments

@thecrypt0hunter
Copy link

thecrypt0hunter commented Feb 15, 2020

I used the api/ColdStaking/setup-cold-staking to generate the hex for a coldstaking transaction

Here's the JSON passed into the API:

{
  "coldWalletAddress": "xds????",
  "hotWalletAddress": "xds????",
  "walletName": "walletname",
  "walletPassword": "password",
  "walletAccount": "account 0",
  "amount": "50",
  "fees": "0.01",
  "segwitChangeAddress": true,
  "payToScript": true
}

CURL

curl -X POST "http://localhost:48334/api/ColdStaking/setup-cold-staking" -H "accept: application/json" -H "Content-Type: application/json-patch+json" -d "{ \"coldWalletAddress\": \"xds????\", \"hotWalletAddress\": \"xds????\", \"walletName\": \"walletname\", \"walletPassword\": \"password\", \"walletAccount\": \"account 0\", \"amount\": \"50\", \"fees\": \"0.01\", \"segwitChangeAddress\": true, \"payToScript\": true}"

When I broadcast the resulting hex, I received the following error:

{
  "errors": [
    {
      "status": 400,
      "message": "dust",
      "description": "Transaction Exception"
    }
  ]
}
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