Options
All
  • Public
  • Public/Protected
  • All
Menu

Parameters to initialize an aggregator account.

Hierarchy

  • AggregatorInitParams

Index

Properties

authorWallet?: PublicKey

An optional wallet for receiving kickbacks from job usage in feeds. Defaults to token vault.

authority?: PublicKey

If included, this keypair will be the aggregator authority rather than the aggregator keypair.

batchSize: number

Number of oracles to request on aggregator update.

expiration?: BN

unix_timestamp after which funds may be withdrawn from the aggregator. null/undefined/0 means the feed has no expiration.

forceReportPeriod?: BN

Number of seconds for which, even if the variance threshold is not passed, accept new responses from oracles.

keypair?: Keypair

Optional pre-existing keypair to use for aggregator initialization.

metadata?: Buffer

Metadata of the aggregator to store on-chain.

minRequiredJobResults: number

Minimum number of feed jobs suggested to be successful before an oracle sends a response.

minRequiredOracleResults: number

Minimum number of oracle responses required before a round is validated.

minUpdateDelaySeconds: number

Minimum number of seconds required between aggregator rounds.

name?: Buffer

Name of the aggregator to store on-chain.

queueAccount: OracleQueueAccount

The queue to which this aggregator will be linked

startAfter?: number

unix_timestamp for which no feed update will occur before.

varianceThreshold?: number

Change percentage required between a previous round and the current round. If variance percentage is not met, reject new oracle responses.

Generated using TypeDoc