@@ -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 TSS wallet transaction
@@ -38,7 +39,7 @@ export const WalletTxSignTSSTransactionPrebuild = t.partial({
3839 /** Backup key nonce (for ETH) */
3940 backupKeyNonce : t . any ,
4041 /** Recipients of the transaction */
41- recipients : t . any ,
42+ recipients : t . array ( Recipient ) ,
4243} ) ;
4344
4445/**
@@ -72,7 +73,7 @@ export const WalletTxSignTSSBody = {
7273 /** Sequence ID for transactions */
7374 sequenceId : optional ( t . union ( [ t . string , t . number ] ) ) ,
7475 /** Recipients of the transaction */
75- recipients : optional ( t . any ) ,
76+ recipients : optional ( t . array ( Recipient ) ) ,
7677 /** Custodian transaction ID */
7778 custodianTransactionId : optional ( t . string ) ,
7879 /** Signing step for MuSig2 */
0 commit comments