@@ -2,6 +2,7 @@ import * as t from 'io-ts';
22import { httpRoute , httpRequest , optional } from '@api-ts/io-ts-http' ;
33import { TransactionRequest as TxRequestResponse , TransactionRequestApiVersion } from '@bitgo/public-types' ;
44import { BitgoExpressError } from '../../schemas/error' ;
5+ import { Recipient } from './coinSignTx' ;
56
67/**
78 * Request path parameters for signing a wallet transaction
@@ -25,6 +26,8 @@ export const WalletTransactionPrebuild = t.partial({
2526 txInfo : t . any ,
2627 /** Wallet ID for the transaction */
2728 walletId : t . string ,
29+ /** Transaction request ID for TSS wallets */
30+ txRequestId : t . string ,
2831 /** Next contract sequence ID (for ETH) */
2932 nextContractSequenceId : t . number ,
3033 /** Whether this is a batch transaction (for ETH) */
@@ -36,7 +39,7 @@ export const WalletTransactionPrebuild = t.partial({
3639 /** Backup key nonce (for ETH) */
3740 backupKeyNonce : t . any ,
3841 /** Recipients of the transaction */
39- recipients : t . any ,
42+ recipients : t . array ( Recipient ) ,
4043} ) ;
4144
4245/**
@@ -70,7 +73,7 @@ export const WalletSignTxBody = {
7073 /** Sequence ID for transactions */
7174 sequenceId : optional ( t . union ( [ t . string , t . number ] ) ) ,
7275 /** Recipients of the transaction */
73- recipients : optional ( t . any ) ,
76+ recipients : optional ( t . array ( Recipient ) ) ,
7477 /** Custodian transaction ID */
7578 custodianTransactionId : optional ( t . string ) ,
7679 /** Signing step for MuSig2 */
0 commit comments