API ReferencePricing and oraclesFunction
getOraclePriceUpdateFee()
function getOraclePriceUpdateFee(ctx, params): Promise<bigint>;Gets the Pyth Oracle Price update fee for the provided price update bytes.
Parameters
| Parameter | Type | Description |
|---|---|---|
ctx | SDKContext | The SDK context. |
params | GetOraclePriceUpdateFeeParams | The parameters indicating the update. |
Returns
Promise<bigint>
The oracle price update fee.