Documentation
    Preparing search index...

    Type Alias PriceServiceConnectionConfig

    type PriceServiceConnectionConfig = {
        accessToken?: string;
        httpRetries?: number;
        timeout?: number;
    }
    Index

    Properties

    accessToken?: string

    Bearer token for Hermes deployments that authenticate. The endpoint serving Pyth's upgraded Core answers 401 without one.

    accessToken is chosen to converge with the in-flight @mysten/suins Pyth migration (ts-sdks#1158), which takes the same credential under this name. That is not yet published, so this is a convergence target rather than an existing convention.

    httpRetries?: number
    timeout?: number