Identify which inputs on the transaction are from the loaded wallet.
GET/wallet/tx-proposal/get-wallet-inputs
Identify which inputs on the transaction are from the loaded wallet.
Request
Query Parameters
txHex stringrequired
Transaction hex to identify.
Header Parameters
x-wallet-id stringrequired
Defines the key of the wallet on which the request will be executed.
Responses
- 200
Return the inputs of the loaded wallet on the txHex.
- application/json
- Schema
- success
- wallet-not-ready
- no-wallet-id
- invalid-wallet-id
Schema
any
Success
{
"inputs": [
{
"inputIndex": 0,
"addressIndex": 1,
"addressPath": "m/44'/280'/0'/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...