Build an input data from the ECDSA signature(s).
POST/wallet/tx-proposal/input-data
Build an input data from the ECDSA signature(s).
Request
Header Parameters
x-wallet-id stringrequired
Defines the key of the wallet on which the request will be executed.
- application/json
Body
required
Data required to build the input data
index numberrequired
The bip32 path address index we will use.
signature string
[P2PKH] The ECDSA signature in little endian, DER encoded in hex format.
signatures object
[P2SH] Each key will be the signer xpubkey as used on the multisig configuration, the value will be the signature (ECDSA little endian, DER encoded in hex format).
Responses
- 200
Get tx sent from transaction hex.
- application/json
- Schema
- success
- p2sh-wallet-not-multisig
- p2sh-unknown-signer
- no-wallet-id
- invalid-wallet-id
Schema
any
Success
{
"success": true,
"inputData": "abc123..."
}
Loaded wallet is not multisig but a multisig input data was requested.
{
"success": false,
"message": "wallet is not MultiSig"
}
There is a signature from a signer that does not belong on the loaded wallet multisig.
{
"success": false,
"message": "signature from unknown signer"
}
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...