Skip to content

on

Allows you to subscribe to events emitted by the signer

Import

import { BaseAlchemySigner } from "@account-kit/signer";

Parameters

event

AlchemySignerEvent the event to subscribe to

listener

AlchemySignerEvents[AlchemySignerEvent] the function to run when the event is emitted

Returns

() => void a function to remove the listener