Sign
status: stable
Signs a serialised transaction, returning the modified transaction.
This endpoint will add new witnesses using the keys available to this wallet. Any existing witnesses will remain in the witness set.
POST
/shared-wallets/{walletId}/transactions-sign
curl \
-X POST https://localhost:8090/v2/shared-wallets/{walletId}/transactions-sign \
-H "Content-Type: application/json" \
-d '{"passphrase":"Secure Passphrase","transaction":"string","encoding":"base16"}'
Request example
{
"passphrase": "Secure Passphrase",
"transaction": "string",
"encoding": "base16"
}
Response examples (400)
{
"message": "string",
"code": "bad_request"
}
Response examples (403)
No_root_key (generated)
{
"message": "string",
"code": "no_root_key"
}
{
"message": "string",
"code": "wrong_encryption_passphrase"
}
Response examples (404)
{
"message": "string",
"code": "no_such_wallet"
}
Response examples (406)
{
"message": "string",
"code": "not_acceptable"
}
Response examples (415)
{
"message": "string",
"code": "unsupported_media_type"
}
Response examples (202)
{
"transaction": "string"
}