Type alias OpenbookV2SubscriberConfig

OpenbookV2SubscriberConfig: {
    accountSubscription: {
        accountLoader: BulkAccountLoader;
        type: "polling";
    } | {
        type: "websocket";
    };
    connection: Connection;
    marketAddress: PublicKey;
    programId: PublicKey;
}

Type declaration

  • accountSubscription: {
        accountLoader: BulkAccountLoader;
        type: "polling";
    } | {
        type: "websocket";
    }
  • connection: Connection
  • marketAddress: PublicKey
  • programId: PublicKey

Generated using TypeDoc