I'm browsing through some of Electrum's default plugins in the /plugins directory. It looks like plugins hook into Electrum using @hook annotation, as in this method from audio_mode:

def transaction_dialog(self, dialog):
    b = QPushButton()


Where can I find Electrum 3 API documentation for writing plugins such as a list of all hook function names and the arguments they take?

1 Answer 1


Not official by any means, but here's something I cooked up:


I found these hooks by iterating over Electrum's hook_names object.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.