Baris Perintah (Argumen) yang bisa digunakan pada Console Electrum : "add_peer",
"add_request",
"addtransaction",
"broadcast",
"bumpfee",
"changegaplimit",
"clear_invoices",
"clear_ln_blacklist",
"clear_requests",
"close_channel",
"close_wallet",
"commands",
"convert_currency",
"convert_xkey",
"create",
"createmultisig",
"createnewaddress",
"decode_invoice",
"decrypt",
"delete_invoice",
"delete_request",
"deserialize",
"dumpprivkeys",
"enable_htlc_settle",
"encrypt",
"export_channel_backup",
"freeze",
"freeze_utxo",
"get",
"get_channel_ctx",
"get_invoice",
"get_request",
"get_tx_status",
"get_watchtower_ctn",
"getaddressbalance",
"getaddresshistory",
"getaddressunspent",
"getalias",
"getbalance",
"getconfig",
"getfeerate",
"getinfo",
"getmasterprivate",
"getmerkle",
"getminacceptablegap",
"getmpk",
"getprivatekeyforpath",
"getprivatekeys",
"getpubkeys",
"getseed",
"getservers",
"gettransaction",
"getunusedaddress",
"help",
"import_channel_backup",
"importprivkey",
"is_synchronized",
"ismine",
"lightning_history",
"list_channels",
"list_invoices",
"list_peers",
"list_requests",
"list_wallets",
"listaddresses",
"listcontacts",
"listunspent",
"lnpay",
"load_wallet",
"make_seed",
"nodeid",
"normal_swap",
"notify",
"onchain_history",
"open_channel",
"password",
"payto",
"paytomany",
"rebalance_channels",
"removelocaltx",
"request_force_close",
"reset_liquidity_hints",
"restore",
"reverse_swap",
"searchcontacts",
"serialize",
"setconfig",
"setfeerate",
"setlabel",
"signmessage",
"signtransaction",
"signtransaction_with_privkey",
"stop",
"sweep",
"unfreeze",
"unfreeze_utxo",
"validateaddress",
"verifymessage",
"version",
"version_info"
Contoh penggunaan Argumen pada Console Electrum :listaddresses()
result : List dari seluruh address yang berada didalam wallet
getinfo()
result : Informasi dari wallet dan Jaringan Blockchain Bitcoin
getprivatekeys('address')
result : Private Key dari address yang berkaitan
Sign Message menggunakan Console Electrumsignmessage('address', 'message')
result : Signature
Create RAW Transaction (Unsigned TX)payto('destination_address', amount, fee=None, feerate=None, 'from_addr=None', from_coins=None, 'change_addr=None', nocheck=False, unsigned=False, rbf=True, password=None, locktime=None, addtransaction=False)
payto('tb1qpzl7vanj3je2czytm0ef7cj9qhn3eg7rzfcf37', 0.00007777, None, 25, 'tb1q2l2jspfrcdgshvjhwkp22tgwwdap4qhqhu8rqn', None, None, False, True, True)
result :
"cHNidP8BAHECAAAAAT03jWfcB5Ly98vSV2zk0j3280DvqXJr5NH/4Dpb56G4AQAAAAD9////AmEeAAAAAAAAFgAUCL/mdnKMsqwIi9vyn2JFBecco8N2AgMAAAAAABYAFLZrvRZ3G4WFGCxG8MjTn4pLth1t/+oqAAABAR+cLgMAAAAAABYAFFfVKAUjw1ELsld1gqUtDnN6GoLgAQDgAgAAAAABAXstQdmw5FQR+h72f+aV6PbET84MwGPvUh9i56pHwqo1AAAAAAD9////AmcrAAAAAAAAGXapFN9A9PNGKx5pkC+SFAXo8uO7EgBYiKycLgMAAAAAABYAFFfVKAUjw1ELsld1gqUtDnN6GoLgAkYwQwIgc7d1WAq+3Voiabm+NwRY8B/rdm9r9PYz6sost7zKBTICHwWeD1hofdpJPq+QR08/ToNxndAPCvfauuSLKpSx11EBIQOiID+btaSnHn9VpmlUsm1hQgC+6TdKvGwxV5Ji3d5N4odTJwAiBgJsGPzzyXoDLXgYKK/ZmBo13pPGmm3Rs8idgchEznmZvhDvaRWKAAAAgAEAAAAAAAAAAAAiAgNJLd4oSechN5iS/n4KibR5CQtM/Eo/EkgFsHfKYshI3RDvaRWKAAAAgAEAAAABAAAAAA=="
Sign RAW (PSBT) Transactionsigntransaction('PSBT')
signtransaction('cHNidP8BAHECAAAAAT03jWfcB5Ly98vSV2zk0j3280DvqXJr5NH/4Dpb56G4AQAAAAD9////AmEeAAAAAAAAFgAUCL/mdnKMsqwIi9vyn2JFBecco8N2AgMAAAAAABYAFLZrvRZ3G4WFGCxG8MjTn4pLth1t/+oqAAABAR+cLgMAAAAAABYAFFfVKAUjw1ELsld1gqUtDnN6GoLgAQDgAgAAAAABAXstQdmw5FQR+h72f+aV6PbET84MwGPvUh9i56pHwqo1AAAAAAD9////AmcrAAAAAAAAGXapFN9A9PNGKx5pkC+SFAXo8uO7EgBYiKycLgMAAAAAABYAFFfVKAUjw1ELsld1gqUtDnN6GoLgAkYwQwIgc7d1WAq+3Voiabm+NwRY8B/rdm9r9PYz6sost7zKBTICHwWeD1hofdpJPq+QR08/ToNxndAPCvfauuSLKpSx11EBIQOiID+btaSnHn9VpmlUsm1hQgC+6TdKvGwxV5Ji3d5N4odTJwAiBgJsGPzzyXoDLXgYKK/ZmBo13pPGmm3Rs8idgchEznmZvhDvaRWKAAAAgAEAAAAAAAAAAAAiAgNJLd4oSechN5iS/n4KibR5CQtM/Eo/EkgFsHfKYshI3RDvaRWKAAAAgAEAAAABAAAAAA==')
result :
"020000000001013d378d67dc0792f2f7cbd2576ce4d23df6f340efa9726be4d1ffe03a5be7a1b80100000000fdffffff02611e00000000000016001408bfe676728cb2ac088bdbf29f624505e71ca3c37602030000000000160014b66bbd16771b8585182c46f0c8d39f8a4bb61d6d02473044022035e9fad9619b4164412e6c2fa78ac113141fefc61742851822a41a930276078902207548a8c05a963cb31d62ca780454847d42bc277fbc51e4ac082e49d937dac2f70121026c18fcf3c97a032d781828afd9981a35de93c69a6dd1b3c89d81c844ce7999beffea2a00"
Broadcast Transactionbroadcast('Hex_Signed_TX')
broadcast('020000000001013d378d67dc0792f2f7cbd2576ce4d23df6f340efa9726be4d1ffe03a5be7a1b80100000000fdffffff02611e00000000000016001408bfe676728cb2ac088bdbf29f624505e71ca3c37602030000000000160014b66bbd16771b8585182c46f0c8d39f8a4bb61d6d02473044022035e9fad9619b4164412e6c2fa78ac113141fefc61742851822a41a930276078902207548a8c05a963cb31d62ca780454847d42bc277fbc51e4ac082e49d937dac2f70121026c18fcf3c97a032d781828afd9981a35de93c69a6dd1b3c89d81c844ce7999beffea2a00')
Result : TXID
b7589066fa07babb72f578633619b9849895192083f7386e9db4f2b6259a50af