Update coin-specific metadata on an existing unsigned transaction within a transaction request. Requires spend permission on the wallet. Currently, this endpoint is for use only with Bitcoin Lightning.
Path Parameters
walletIdstringRequired
Example: 59cd72485007a239fb00282ed480da1f
Pattern: ^[0-9a-f]{32}$
txRequestIdstring<uuid>Required
Example: 123e4567-e89b-12d3-a456-426614174000
Request Body
unsignedCoinSpecificobjectrequired
Can be expanded later to include more coins
coinstringrequired
lightning coin
Allowed values: lnbtctlnbtc
dataobjectrequired
Storing signature for lightning withdraw
200 Response
One of
intentOne of
The intent of the transaction request
unspentsarray[string]
intentTypestringrequired
Must be "consolidate".
Allowed value: consolidate
receiveAddressstringrequired
Destination address for consolidated funds. Must be a wallet-owned address.
senderAddressIndexnumber
Index of the wallet address to use as the sender.
consolidateIdstring
Opaque identifier used to correlate consolidation requests.
recipientsarray[object]
Token recipients for token consolidation flows.
keepAliveboolean
When true, leaves a small amount in the source address to keep it alive.
nonceOne of
Override the on-chain nonce for this transaction.
unsignedTxsarray[object]
Holds all unsigned transactions that will be used to fulfill the TxRequest for MPC wallets.
parsedTxobjectrequired
serializedTxHexstringrequired
The unsigned transaction as a hex string.
signableHexstringrequired
The portion of a transaction used to generate a signature (may or may not be the same as serializedTxHex) as a hex string.
derivationPathstring
A bip32 path.
coinSpecificobject
Coin specific information.
feeInfoobject
signatureSharesarray[object]
Only used for MPC coins. This is used to collect signature shares from and exchange them with the user.
vssProofstring
The VSS proof of the signature share
privateShareProofstring
The private share proof
publicSharestring
The public share
fromstringrequired
The source of the signature share.
Allowed values: userbackupbitgo
tostringrequired
The recipient of the signature share.
Allowed values: userbackupbitgo
sharestringrequired
The signature share
commitmentSharesarray[object]
Only used for MPC coins on EdDSA curve. This is used to collect commitment shares from and exchange them with the user.
typestringrequired
The type of the commitment share
Allowed value: commitment
fromstringrequired
The source of the commitment share
Allowed values: userbackupbitgo
Example: user
tostringrequired
The recipient of the commitment share.
Allowed values: userbackupbitgo
Example: bitgo
sharestringrequired
The commitment share.
txHashesarray[string]
The hashes of all transactions from the TxRequest that have been signed and are pending broadcast.
apiVersionstring
The API version of the transaction request
Allowed values: litefull
txRequestIdstring<uuid>required
A unique ID for the TxRequest document across all wallets. The combination of the txRequestId and version will always be unique.
Example: 123e4567-e89b-12d3-a456-426614174000
idempotencyKeystring
The idempotency key of the transaction request
walletIdstringrequired
The id of the Wallet the TxRequest is for.
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
walletTypestring
The type describes who owns the keys to the wallet associated to the TxRequest.