@@ -35,6 +35,7 @@ import { PostShareWallet } from './v2/shareWallet';
3535import { PutExpressWalletUpdate } from './v2/expressWalletUpdate' ;
3636import { PostFanoutUnspents } from './v2/fanoutUnspents' ;
3737import { PostConsolidateUnspents } from './v2/consolidateunspents' ;
38+ import { PostPrebuildAndSignTransaction } from './v2/prebuildAndSignTransaction' ;
3839import { PostCoinSign } from './v2/coinSign' ;
3940
4041// Too large types can cause the following error
@@ -109,10 +110,13 @@ export const ExpressV1PendingApprovalsApiSpec = apiSpec({
109110 } ,
110111} ) ;
111112
112- export const ExpressV1WalletSignTransactionApiSpec = apiSpec ( {
113+ export const ExpressWalletSignTransactionApiSpec = apiSpec ( {
113114 'express.v1.wallet.signTransaction' : {
114115 post : PostSignTransaction ,
115116 } ,
117+ 'express.v2.wallet.prebuildandsigntransaction' : {
118+ post : PostPrebuildAndSignTransaction ,
119+ } ,
116120} ) ;
117121
118122export const ExpressV1KeychainDeriveApiSpec = apiSpec ( {
@@ -240,7 +244,7 @@ export type ExpressApi = typeof ExpressPingApiSpec &
240244 typeof ExpressV1WalletAcceptShareApiSpec &
241245 typeof ExpressV1WalletSimpleCreateApiSpec &
242246 typeof ExpressV1PendingApprovalsApiSpec &
243- typeof ExpressV1WalletSignTransactionApiSpec &
247+ typeof ExpressWalletSignTransactionApiSpec &
244248 typeof ExpressV1KeychainDeriveApiSpec &
245249 typeof ExpressV1KeychainLocalApiSpec &
246250 typeof ExpressV1PendingApprovalConstructTxApiSpec &
@@ -270,7 +274,7 @@ export const ExpressApi: ExpressApi = {
270274 ...ExpressV1WalletAcceptShareApiSpec ,
271275 ...ExpressV1WalletSimpleCreateApiSpec ,
272276 ...ExpressV1PendingApprovalsApiSpec ,
273- ...ExpressV1WalletSignTransactionApiSpec ,
277+ ...ExpressWalletSignTransactionApiSpec ,
274278 ...ExpressV1KeychainDeriveApiSpec ,
275279 ...ExpressV1KeychainLocalApiSpec ,
276280 ...ExpressV1PendingApprovalConstructTxApiSpec ,
0 commit comments