Type alias ContractWithMetadata

ContractWithMetadata: {
    address: Address;
    chainId: number;
    contractType: (() => Promise<ContractType>);
    extensions: (() => Promise<string[]>);
    metadata: (() => Promise<{
        image?: string;
        name: string;
    }>);
}

Type declaration

  • address: Address
  • chainId: number
  • contractType: (() => Promise<ContractType>)
  • extensions: (() => Promise<string[]>)
      • (): Promise<string[]>
      • Returns Promise<string[]>

  • metadata: (() => Promise<{
        image?: string;
        name: string;
    }>)
      • (): Promise<{
            image?: string;
            name: string;
        }>
      • Returns Promise<{
            image?: string;
            name: string;
        }>

Generated using TypeDoc