Crate pyth_hermes_client

Source
Expand description

Client for Pyth Hermes using reqwest. See PythClient.

Structs§

BinaryPriceUpdate
Data to push onchain.
ParsedPriceUpdate
Raw payload returned by the server.
PriceFeedMetadata
Entries in the array returned from PythClient::price_feeds.
PriceUpdate
Return type of PythClient::latest_price_update.
PythClient
Client type for Pyth Hermes.
RpcPriceFeedMetadataV2

Enums§

AssetType
Asset types for PythClient::price_feeds.
BinaryPriceUpdateError
For BinaryPriceUpdate::decode.
EncodingType
Error

Type Aliases§

PriceIdInput
A price id is a 32-byte hex string, optionally prefixed with “0x”.
RpcPrice
RpcPriceIdentifier