Skip to content

Commit e953443

Browse files
committed
add getFullNodePeerCount to walletservice
1 parent 65cf8b1 commit e953443

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/api/src/services/WalletService.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,10 @@ export default class Wallet extends Service {
276276
return this.command<{ networkName: string; networkPrefix: string }>('get_network_info');
277277
}
278278

279+
async getFullNodePeerCount() {
280+
return this.command<{ peerCount: number }>('get_full_node_peer_count');
281+
}
282+
279283
async getSyncStatus() {
280284
return this.command<{
281285
genesisInitialized: boolean;

0 commit comments

Comments
 (0)