JZA
Active member
I am trying to create a multisig address and then execute a withdraw. However I am finding myself in trouble when trying to sign the transaction. I am getting the error: "error": "Operation not valid with the current stack size"
So I tried to retrace my steps to find out that I am not sure how could I get the redeemScript on the transaction. From video tutorials this redeem script is declared when creating a multisig on bitcoin, however dash doesnt return any of this data.
At the moment I include what I thought was a redeem script from the hex value from the validateaddress command.
{
"isvalid": true,
"address": "............CgPBDTEch9.......",
"scriptPubKey": ".....ad8f8744d7f97410296489c.....",
"ismine": false,
"iswatchonly": false,
"isscript": true,
"script": "multisig",
"hex": "........c475c6dd9a7eec0f37d484efe96e2b9cc06fe75781ca359a52102af0a223f46bd04280519d83200deaeae26e25c20642d19a25a..........",
"addresses": [
"Xjf1fjiMGtj.......................",
".................MsbNNdN9wPhV4x5wv"
],
"sigsrequired": 2,
"account": ""
}
So I tried to retrace my steps to find out that I am not sure how could I get the redeemScript on the transaction. From video tutorials this redeem script is declared when creating a multisig on bitcoin, however dash doesnt return any of this data.
At the moment I include what I thought was a redeem script from the hex value from the validateaddress command.
{
"isvalid": true,
"address": "............CgPBDTEch9.......",
"scriptPubKey": ".....ad8f8744d7f97410296489c.....",
"ismine": false,
"iswatchonly": false,
"isscript": true,
"script": "multisig",
"hex": "........c475c6dd9a7eec0f37d484efe96e2b9cc06fe75781ca359a52102af0a223f46bd04280519d83200deaeae26e25c20642d19a25a..........",
"addresses": [
"Xjf1fjiMGtj.......................",
".................MsbNNdN9wPhV4x5wv"
],
"sigsrequired": 2,
"account": ""
}