diff --git a/types/chainRegistry.ts b/types/chainRegistry.ts index f95acb4..14a6ef4 100644 --- a/types/chainRegistry.ts +++ b/types/chainRegistry.ts @@ -15,6 +15,19 @@ export interface GithubChainRegistryItem { }; } +export interface GithubTreeItem { + readonly path: string; + readonly mode: string; + readonly type: string; + readonly sha: string; + readonly size: number; + readonly url: string; +} + +export interface GithubTreesResponse { + readonly tree: readonly GithubTreeItem[]; +} + export interface RegistryChainApisRpc { readonly address: string; readonly provider: string; @@ -43,12 +56,17 @@ export interface RegistryChainFees { } export interface RegistryChain { - readonly apis: RegistryChainApis; + readonly apis?: RegistryChainApis; readonly bech32_prefix: string; readonly chain_id: string; + readonly chain_name: string; readonly explorers: readonly RegistryChainExplorer[]; - readonly fees: RegistryChainFees; + readonly fees?: RegistryChainFees; readonly pretty_name: string; + readonly logo_URIs?: { + readonly png?: string; + readonly svg?: string; + }; } /**