@@ -35,12 +35,12 @@ struct electrum_methods
3535 method<" blockchain.block.header" , number_t , number_t >{ " height" , " cp_height" },
3636 method<" blockchain.block.headers" , number_t , number_t , number_t >{ " start_height" , " count" , " cp_height" },
3737 method<" blockchain.headers.subscribe" >{},
38- method<" blockchain.estimatefee" , number_t > { " number" },
38+ method<" blockchain.estimatefee" , number_t , optional< " " _t>> { " number" , " mode " },
3939 method<" blockchain.relayfee" >{},
4040 method<" blockchain.scripthash.get_balance" , string_t >{ " scripthash" },
4141 method<" blockchain.scripthash.get_history" , string_t >{ " scripthash" },
4242 method<" blockchain.scripthash.get_mempool" , string_t >{ " scripthash" },
43- method<" blockchain.scripthash.listunspent " , string_t >{ " scripthash" },
43+ method<" blockchain.scripthash.list_unspent " , string_t >{ " scripthash" },
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" },
@@ -71,12 +71,12 @@ struct electrum_methods
7171 using blockchain_block_header = at<0 >;
7272 using blockchain_block_headers = at<1 >;
7373 using blockchain_headers_subscribe = at<2 >;
74- using blockchain_estimatefee = at<3 >;
75- using blockchain_relayfee = at<4 >;
74+ using blockchain_estimate_fee = at<3 >;
75+ using blockchain_relay_fee = at<4 >;
7676 using blockchain_scripthash_get_balance = at<5 >;
7777 using blockchain_scripthash_get_history = at<6 >;
7878 using blockchain_scripthash_get_mempool = at<7 >;
79- using blockchain_scripthash_listunspent = at<8 >;
79+ using blockchain_scripthash_list_unspent = at<8 >;
8080 using blockchain_scripthash_subscribe = at<9 >;
8181 using blockchain_scripthash_unsubscribe = at<10 >;
8282 using blockchain_transaction_broadcast = at<11 >;
0 commit comments