@@ -38,6 +38,7 @@ import { PostSendMany } from './v2/sendmany';
3838import { PostConsolidateUnspents } from './v2/consolidateunspents' ;
3939import { PostPrebuildAndSignTransaction } from './v2/prebuildAndSignTransaction' ;
4040import { PostCoinSign } from './v2/coinSign' ;
41+ import { PostSendCoins } from './v2/sendCoins' ;
4142
4243// Too large types can cause the following error
4344//
@@ -168,6 +169,12 @@ export const ExpressV2WalletSendManyApiSpec = apiSpec({
168169 } ,
169170} ) ;
170171
172+ export const ExpressV2WalletSendCoinsApiSpec = apiSpec ( {
173+ 'express.v2.wallet.sendcoins' : {
174+ post : PostSendCoins ,
175+ } ,
176+ } ) ;
177+
171178export const ExpressKeychainLocalApiSpec = apiSpec ( {
172179 'express.keychain.local' : {
173180 post : PostKeychainLocal ,
@@ -264,6 +271,7 @@ export type ExpressApi = typeof ExpressPingApiSpec &
264271 typeof ExpressLightningInitWalletApiSpec &
265272 typeof ExpressLightningUnlockWalletApiSpec &
266273 typeof ExpressV2WalletSendManyApiSpec &
274+ typeof ExpressV2WalletSendCoinsApiSpec &
267275 typeof ExpressOfcSignPayloadApiSpec &
268276 typeof ExpressWalletRecoverTokenApiSpec &
269277 typeof ExpressCoinSigningApiSpec &
@@ -295,6 +303,7 @@ export const ExpressApi: ExpressApi = {
295303 ...ExpressLightningInitWalletApiSpec ,
296304 ...ExpressLightningUnlockWalletApiSpec ,
297305 ...ExpressV2WalletSendManyApiSpec ,
306+ ...ExpressV2WalletSendCoinsApiSpec ,
298307 ...ExpressOfcSignPayloadApiSpec ,
299308 ...ExpressWalletRecoverTokenApiSpec ,
300309 ...ExpressCoinSigningApiSpec ,
0 commit comments