Unlock all inputs if they are marked as selected on the wallet storage.
POST/wallet/atomic-swap/tx-proposal/unlock
Unlock all inputs if they are marked as selected on the wallet storage.
Request
Header Parameters
x-wallet-id stringrequired
Defines the key of the wallet on which the request will be executed.
- application/json
Body
required
Unlock the inputs on the proposal.
partial_tx stringrequired
Proposal to unlock.
Responses
- 200
Extract input data from a signed txHex.
- application/json
- Schema
- success
- wallet-not-ready
- no-wallet-id
- invalid-wallet-id
Schema
any
Success
{
"success": true
}
Wallet is not ready yet
{
"success": false,
"message": "Wallet is not ready.",
"state": 1
}
No wallet id parameter
{
"success": false,
"message": "Parameter 'wallet-id' is required."
}
Wallet id parameter is invalid
{
"success": false,
"message": "Invalid wallet-id parameter."
}
Loading...