Type alias PhoenixMarketSubscriberConfig

PhoenixMarketSubscriberConfig: {
    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