fetch_stork_price
Pull live signed price updates from Stork REST API with an API key. Get the full signed payload with correctly typed Solidity fields and solidityCallData for updateTemporalNumericValueV1 calls.
Instructions
Perform an authenticated pull from the Stork REST API to get a live signed price update for an asset. Returns the full signed payload with each field annotated with its correct Solidity type (timestampNs as uint64 in nanoseconds; quantizedValue as int192 — not uint256). Use the solidityCallData field directly when constructing an updateTemporalNumericValueV1 call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | ||
| assetId | Yes | ||
| baseUrl | No | Stork REST API base URL. Defaults to https://rest.jp.stork-oracle.network |