Electrum

我在哪裡可以找到電子的 rpc api 端點?

  • February 28, 2020

不知何故,我找不到可能的 rpc 命令列表。基本上它們只是我猜的比特幣 rpc 命令,但我也找不到它的列表……

這裡有一些例子:http: //docs.electrum.org/en/latest/merchant.html#jsonrpc-interface

這裡也有一個列表,但是上面連結中的 addrequest 不在那裡: https ://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

Electrum RPC 方法與完整的比特幣節點 RPC 略有不同。您可以執行help命令以獲取所有方法。這是一個例子:

"addrequest",
"addtransaction",
"broadcast",
"clearrequests",
"commands",
"create",
"createmultisig",
"createnewaddress",
"decrypt",
"deserialize",
"dumpprivkeys",
"encrypt",
"freeze",
"getaddressbalance",
"getaddresshistory",
"getaddressunspent",
"getalias",
"getbalance",
"getconfig",
"getfeerate",
"getmasterprivate",
"getmerkle",
"getmpk",
"getprivatekeys",
"getpubkeys",
"getrequest",
"getseed",
"getservers",
"gettransaction",
"getunusedaddress",
"help",
"history",
"importprivkey",
"is_synchronized",
"ismine",
"listaddresses",
"listcontacts",
"listrequests",
"listunspent",
"make_seed",
"notify",
"password",
"payto",
"paytomany",
"restore",
"rmrequest",
"searchcontacts",
"serialize",
"setconfig",
"setlabel",
"signmessage",
"signrequest",
"signtransaction",
"sweep",
"unfreeze",
"validateaddress",
"verifymessage",
"version"

引用自:https://bitcoin.stackexchange.com/questions/80692