Skip to content

API ReferenceSetup and configurationInterface

AnvilSdkProfile

One environment’s profile: what that environment calls its deployment, as the SDK consumes it — contract bindings plus protocol endpoints.

Properties

chainId

readonly chainId: number;

contracts

readonly contracts: AnvilSdkProfileContracts;

name

readonly name: string;

Environment selector and cache-key label. Public SDK profiles use an AnvilProfileName key; private generated profiles may use another stable environment label while preserving this profile contract.


pyth

readonly pyth: object;

hermesPath

readonly hermesPath: string;

subgraph

readonly subgraph: object;

name

readonly name: string;

url

readonly url: string;

tokenAliases

readonly tokenAliases: Readonly<Record<`0x${string}`, `0x${string}`>>;

Environment-local token address -> canonical mainnet address, for consumers (logo CDNs) that index token assets by mainnet address. Empty for environments whose tokens are already canonical.