Solana network connection object.
Transaction funder account.
The account holding the data feed being mutated.
the Account holding the newly created job.
Adds a zero-copy mirror account that holds information surrounding the last confirmed aggregator result.
Solana network connection object.
Transaction funder account.
The account holding the data feed being mutated.
Size of the parseOptimizedAcccount to be created.
the AggregatorParseOptimized account
Creates an account which controls permissions access to write to a bundle.
Solana network connection object.
Transaction funder account.
Switchboard program ID.
Account The account holding the new authorization config.
Creates an account and permanently sets the account type to an Aggregator account.
Solana network connection object.
Transaction funder account.
The Switchboard Program pubkey that will own the account.
Account The new switchboard account that can hold a data feed.
Creates an account and permanently sets the account type to a FulfillmentManagerAuth account.
Solana network connection object.
Transaction funder account.
The Switchboard Program pubkey.
Account New switchboard account that can hold a fulfillment manager.
Creates an account which controls permissions access to a fulfillment manager.
Solana network connection object.
Transaction funder account.
The FulfillmentManagerState
account that this authorization will attach to.
The public key for which authorization is being linked to the fulfillment manager account.
Denotes the settings to initalize the authorization account with.
authorizeHeartbeat
: Set to true
to let this account authorize heartbeats from the nomineePubkey
to the provided FulfillmentManagerState
.
authorizeUsage
: Set to true
to let the nominee use the provided Fulfillment manager to fulfill updateFeed
requests.
Account The account holding the new authorization config.
Helper for creating rent exempted accounts.
Solana network connection object.
Transaction funder account.
Data size this account will be able to hold
The public key of the program that will own this account.
Creates an account and permanently sets the account type to a VRF account.
Solana network connection object.
Transaction funder account.
The Switchboard Program pubkey.
Account New VRF Account
Permanently sets the account type to an Aggregator account.
Solana network connection object.
Transaction funder account.
The account for which type will be set.
Permanently sets the account type to a FulfillmentManager account.
Solana network connection object.
Transaction funder account.
The account for which type will be set.
Permanently sets the account type to a FulfillmentManagerAuth account.
Solana network connection object.
Transaction funder account.
The account for which type will be set.
Pull accountInfo from a provided account address and attempt to parse the state.
Solana network connection object.
The address of the aggregator account to parse.
AggregatorState
Pull accountInfo from a provided account address and attempt to parse the state.
Solana network connection object.
The address of the bundle auth account to parse.
BundleAuth
Pull accountInfo from a provided account address and attempt to parse the state.
Solana network connection object.
The address of the Fulfillment Manager account to parse.
FulfillmentManagerState
Pull accountInfo from a provided account address and attempt to parse the state.
Solana network connection object.
The address of the Oracle Job account to parse.
OracleJob
Pull accountInfo from a provided account address and attempt to parse the state.
Solana network connection object.
The address of the VRF account to parse.
VrfAccountData
Publishes a premade account on chain, initialized as the provided account type.
Solana network connection object.
The account which will be published and type will be set.
Transaction funder account.
Switchboard program ID.
The type to set the account to.
The size to initialize the account to.
Adds a new task list to be performed when the provided data feed is updated.
Solana network connection object.
Transaction funder account.
The account holding the data feed being mutated.
The public key of the job account to remove from this aggregator.
Requests new randomness for a provided VRF account
Solana network connection object.
Transaction funder account.
The VRF account for which randomness is being requested.
The permit pubkey authorizing this VRF to request randomness.
The permit pubkey authorizing use of a specific fulfillment group to verify proofs.
Modifies an authorization account for a fulfillment manager. This can be used
to disable or enable authorization for an account to interact with a
FulfillmentManagerState
.
Solana network connection object.
Transaction funder account.
The FulfillmentManagerState
account for which usage is being authorized.
The FulfillmentManagerAuth
account for which auth settings are being modified.
The public key for which authorization is being linked to the fulfillment manager account.
Denotes the parameters of the FulfillmentManagerAuth
that are being modified.
authorizeHeartbeat
: Set to true
to let this account authorize heartbeats from the nomineePubkey
to the provided FulfillmentManager.
authorizeUsage
: Set to true
to let the nominee use the provided Fulfillment manager to fulfill updateFeed
requests.
setDataFeedConfigs allows settings changes to an owned data feed account
Solana network connection object.
Transaction funder account.
The account of the data feed being configured.
A dictonary object specifying the configurations to be updated.
minConfirmations
: Number of results required to accept a new round.
minUpdateDelaySeconds
: How often this feed is permitted to be updated.
fulfillmentManagerPubkey
: The public key of the fulfillment manager to attach to.
lock
: Once a data feed is locked, all future configuration updates are forbidden.
setDataFeedConfigs allows settings changes to an owned data feed account
Solana network connection object.
Transaction funder account.
The account of the fulfillment manager to being configured.
A dictionary object specifying the configurations to be updated.
heartbeatAuthRequired
: Authorization is required for nodes to join this fulfiller.
usageAuthRequired
: Authorization is required for data feeds to use this fulfiller.
lock
: Once the account is locked, all future configuration updates are forbidden.
updateFeed will request a new fulfillment agreement for the aggregator and notify nodes to fulfill the aggregator jobs.
Solana network connection object.
Transaction funder account.
The public key of the data feed being updated.
The public key of the authorization account allowing this data feed to use the linked fulfillment manager.
TransactionSignature of the update transaction.
Generated using TypeDoc
Adds a new task list to be performed when the provided data feed is updated.