Get all utxos marked selected as input on a transaction to be sent.
GET/wallet/atomic-swap/tx-proposal/get-locked-utxos
Get all utxos marked selected as input on a transaction to be sent.
Request
Header Parameters
x-wallet-id stringrequired
Defines the key of the wallet on which the request will be executed.
Responses
- 200
Return the locked utxos
- application/json
- Schema
- success
- wallet-not-ready
- no-wallet-id
- invalid-wallet-id
Schema
any
Success
{
"success": true,
"locked_utxos": [
{
"tx_id": "006e18f3c303892076a12e68b5c9c30afe9a96a528f0f3385898001858f9c35d",
"outputs": [
0,
1
]
}
]
}
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...