diff --git a/.changeset/thirty-actors-wonder.md b/.changeset/thirty-actors-wonder.md new file mode 100644 index 0000000000..6b098fe782 --- /dev/null +++ b/.changeset/thirty-actors-wonder.md @@ -0,0 +1,5 @@ +--- +'@hyperlane-xyz/sdk': minor +--- + +Added coinGeckoId as an optional property of the TokenConfigSchema diff --git a/typescript/sdk/src/token/IToken.ts b/typescript/sdk/src/token/IToken.ts index 28321597c5..d903e21e95 100644 --- a/typescript/sdk/src/token/IToken.ts +++ b/typescript/sdk/src/token/IToken.ts @@ -47,6 +47,10 @@ export const TokenConfigSchema = z.object({ .array(TokenConnectionConfigSchema) .optional() .describe('The list of token connections (e.g. warp or IBC)'), + coinGeckoId: z + .string() + .optional() + .describe('The CoinGecko id of the token, used for price lookups'), }); export type TokenArgs = Omit<