diff --git a/.changeset/thirty-actors-wonder.md b/.changeset/thirty-actors-wonder.md new file mode 100644 index 000000000..6b098fe78 --- /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 28321597c..d903e21e9 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<