Skip to Content

Chronicle action reference

This page is generated from the plugin registry. Do not edit it by hand.

Chronicle Protocol: decentralized, verifiable oracle price feeds with Schnorr signature verification

For guidance and examples see the Chronicle guide.

Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.

Read actions return the value under result: a single unnamed output is result, a named one is result.<name>, and several outputs are result.<name> each. Reference it as {{@nodeId:Label.result}}. Integer Solidity types are passed as decimal strings.

ActionAction type
Chronicle: Read ETH/USD Valuechronicle/eth-usd-read
Chronicle: Read ETH/USD Value with Agechronicle/eth-usd-read-with-age
Chronicle: Read BTC/USD Valuechronicle/btc-usd-read
Chronicle: Read BTC/USD Value with Agechronicle/btc-usd-read-with-age
Chronicle: Read DAI/USD Valuechronicle/dai-usd-read
Chronicle: Read DAI/USD Value with Agechronicle/dai-usd-read-with-age
Chronicle: Read USDC/USD Valuechronicle/usdc-usd-read
Chronicle: Read USDC/USD Value with Agechronicle/usdc-usd-read-with-age
Chronicle: Read USDT/USD Valuechronicle/usdt-usd-read
Chronicle: Read USDT/USD Value with Agechronicle/usdt-usd-read-with-age
Chronicle: Read LINK/USD Valuechronicle/link-usd-read
Chronicle: Read LINK/USD Value with Agechronicle/link-usd-read-with-age
Chronicle: Read Oracle Value (Custom)chronicle/read
Chronicle: Try Read Oracle Value (Custom)chronicle/try-read
Chronicle: Read Oracle Value with Age (Custom)chronicle/read-with-age
Chronicle: Try Read Oracle Value with Age (Custom)chronicle/try-read-with-age
Chronicle: Whitelist on Oracle (Self)chronicle/self-kiss

Chronicle: Read ETH/USD Value

Action type: chronicle/eth-usd-read. Connection: not required.

Read the current ETH/USD price from the Chronicle oracle. Caller must be whitelisted (kissed).

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.

Outputs

OutputDescription
resultOracle Value
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read ETH/USD Value with Age

Action type: chronicle/eth-usd-read-with-age. Connection: not required.

Read the current ETH/USD price and its last-updated timestamp from the Chronicle oracle.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.

Outputs

OutputDescription
resultThe contract function return value
result.unnamedOutput0Oracle Value
result.unnamedOutput1Last Updated (Unix timestamp)
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read BTC/USD Value

Action type: chronicle/btc-usd-read. Connection: not required.

Read the current BTC/USD price from the Chronicle oracle. Caller must be whitelisted (kissed).

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.

Outputs

OutputDescription
resultOracle Value
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read BTC/USD Value with Age

Action type: chronicle/btc-usd-read-with-age. Connection: not required.

Read the current BTC/USD price and its last-updated timestamp from the Chronicle oracle.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.

Outputs

OutputDescription
resultThe contract function return value
result.unnamedOutput0Oracle Value
result.unnamedOutput1Last Updated (Unix timestamp)
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read DAI/USD Value

Action type: chronicle/dai-usd-read. Connection: not required.

Read the current DAI/USD price from the Chronicle oracle. Caller must be whitelisted (kissed).

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 11155111Network.

Outputs

OutputDescription
resultOracle Value
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read DAI/USD Value with Age

Action type: chronicle/dai-usd-read-with-age. Connection: not required.

Read the current DAI/USD price and its last-updated timestamp from the Chronicle oracle.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 11155111Network.

Outputs

OutputDescription
resultThe contract function return value
result.unnamedOutput0Oracle Value
result.unnamedOutput1Last Updated (Unix timestamp)
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read USDC/USD Value

Action type: chronicle/usdc-usd-read. Connection: not required.

Read the current USDC/USD price from the Chronicle oracle. Caller must be whitelisted (kissed).

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.

Outputs

OutputDescription
resultOracle Value
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read USDC/USD Value with Age

Action type: chronicle/usdc-usd-read-with-age. Connection: not required.

Read the current USDC/USD price and its last-updated timestamp from the Chronicle oracle.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.

Outputs

OutputDescription
resultThe contract function return value
result.unnamedOutput0Oracle Value
result.unnamedOutput1Last Updated (Unix timestamp)
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read USDT/USD Value

Action type: chronicle/usdt-usd-read. Connection: not required.

Read the current USDT/USD price from the Chronicle oracle. Caller must be whitelisted (kissed).

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.

Outputs

OutputDescription
resultOracle Value
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read USDT/USD Value with Age

Action type: chronicle/usdt-usd-read-with-age. Connection: not required.

Read the current USDT/USD price and its last-updated timestamp from the Chronicle oracle.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.

Outputs

OutputDescription
resultThe contract function return value
result.unnamedOutput0Oracle Value
result.unnamedOutput1Last Updated (Unix timestamp)
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read LINK/USD Value

Action type: chronicle/link-usd-read. Connection: not required.

Read the current LINK/USD price from the Chronicle oracle. Caller must be whitelisted (kissed).

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 11155111Network.

Outputs

OutputDescription
resultOracle Value
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read LINK/USD Value with Age

Action type: chronicle/link-usd-read-with-age. Connection: not required.

Read the current LINK/USD price and its last-updated timestamp from the Chronicle oracle.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 11155111Network.

Outputs

OutputDescription
resultThe contract function return value
result.unnamedOutput0Oracle Value
result.unnamedOutput1Last Updated (Unix timestamp)
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read Oracle Value (Custom)

Action type: chronicle/read. Connection: not required.

Read the current price value from any Chronicle oracle. Caller must be whitelisted (kissed).

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.
contractAddressstringYesCustom Chronicle Oracle Address.

Outputs

OutputDescription
resultOracle Value
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Try Read Oracle Value (Custom)

Action type: chronicle/try-read. Connection: not required.

Attempt to read the current price value from any Chronicle oracle. Returns ok=false instead of reverting if not whitelisted.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.
contractAddressstringYesCustom Chronicle Oracle Address.

Outputs

OutputDescription
resultThe contract function return value
result.unnamedOutput0Success
result.unnamedOutput1Oracle Value
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Read Oracle Value with Age (Custom)

Action type: chronicle/read-with-age. Connection: not required.

Read the current price value and its last-updated timestamp from any Chronicle oracle.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.
contractAddressstringYesCustom Chronicle Oracle Address.

Outputs

OutputDescription
resultThe contract function return value
result.unnamedOutput0Oracle Value
result.unnamedOutput1Last Updated (Unix timestamp)
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Try Read Oracle Value with Age (Custom)

Action type: chronicle/try-read-with-age. Connection: not required.

Attempt to read the current price value and last-updated timestamp from any Chronicle oracle. Returns ok=false instead of reverting.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1, 11155111Network.
contractAddressstringYesCustom Chronicle Oracle Address.

Outputs

OutputDescription
resultThe contract function return value
result.unnamedOutput0Success
result.unnamedOutput1Oracle Value
result.unnamedOutput2Last Updated (Unix timestamp)
successWhether the operation succeeded
errorError message if the operation failed

Chronicle: Whitelist on Oracle (Self)

Action type: chronicle/self-kiss. Connection: required (web3).

Whitelist the caller (msg.sender) on a Chronicle oracle using the SelfKisser contract. Only available on supported testnets.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 100, 84532, 421614, 11155111Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
oracleaddressYesOracle Contract Address (address).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Contracts

ContractChain ids
ETH/USD Oracle1, 11155111
BTC/USD Oracle1, 11155111
DAI/USD Oracle11155111
USDC/USD Oracle1, 11155111
USDT/USD Oracle1, 11155111
LINK/USD Oracle11155111
Custom Chronicle Oracleany (the address is set on the node)
SelfKisser100, 84532, 421614, 11155111