AccountSubscribe constructor

AccountSubscribe(
  1. Pubkey pubkey, {
  2. AccountSubscribeConfig? config,
})

Creates a method handler for accountSubscribe.

Implementation

AccountSubscribe(final Pubkey pubkey, {final AccountSubscribeConfig? config})
  : super(
      'accountSubscribe',
      values: [pubkey.toBase58()],
      config: config ?? const AccountSubscribeConfig(),
    );