@@ -44,6 +44,7 @@ struct electrum_methods
4444 method<" blockchain.scripthash.subscribe" , string_t >{ " scripthash" },
4545 method<" blockchain.scripthash.unsubscribe" , string_t >{ " scripthash" },
4646 method<" blockchain.transaction.broadcast" , string_t >{ " raw_tx" },
47+ method<" blockchain.transaction.broadcast_package" , string_t , optional<true >>{ " raw_txs" , " verbose" },
4748 method<" blockchain.transaction.get" , string_t , boolean_t >{ " tx_hash" , " verbose" },
4849 method<" blockchain.transaction.get_merkle" , string_t , number_t >{ " tx_hash" , " height" },
4950 method<" blockchain.transaction.id_from_pos" , number_t , number_t , optional<false >>{ " height" , " tx_pos" , " merkle" },
@@ -58,7 +59,8 @@ struct electrum_methods
5859 method<" server.version" , string_t , optional<empty::value>>{ " client_name" , " protocol_version" },
5960
6061 // / Mempool methods.
61- method<" mempool.get_fee_histogram" >{}
62+ method<" mempool.get_fee_histogram" >{},
63+ method<" mempool.get_info" >{}
6264 };
6365
6466 template <typename ... Args>
@@ -80,17 +82,19 @@ struct electrum_methods
8082 using blockchain_scripthash_subscribe = at<9 >;
8183 using blockchain_scripthash_unsubscribe = at<10 >;
8284 using blockchain_transaction_broadcast = at<11 >;
83- using blockchain_transaction_get = at<12 >;
84- using blockchain_transaction_get_merkle = at<13 >;
85- using blockchain_transaction_id_from_pos = at<14 >;
86- using server_add_peer = at<15 >;
87- using server_banner = at<16 >;
88- using server_donation_address = at<17 >;
89- using server_features = at<18 >;
90- using server_peers_subscribe = at<19 >;
91- using server_ping = at<20 >;
92- using server_version = at<21 >;
93- using mempool_get_fee_histogram = at<22 >;
85+ using blockchain_transaction_broadcast_package = at<12 >;
86+ using blockchain_transaction_get = at<13 >;
87+ using blockchain_transaction_get_merkle = at<14 >;
88+ using blockchain_transaction_id_from_pos = at<15 >;
89+ using server_add_peer = at<16 >;
90+ using server_banner = at<17 >;
91+ using server_donation_address = at<18 >;
92+ using server_features = at<19 >;
93+ using server_peers_subscribe = at<20 >;
94+ using server_ping = at<21 >;
95+ using server_version = at<22 >;
96+ using mempool_get_fee_histogram = at<23 >;
97+ using mempool_get_info = at<24 >;
9498};
9599
96100} // namespace interface
0 commit comments