Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / IndexerAPICommentReferenceERC20SchemaType

Type Alias: IndexerAPICommentReferenceERC20SchemaType

type IndexerAPICommentReferenceERC20SchemaType = {
  address: `0x${string}`;
  chainId: null | number;
  chains: {
     caip: string;
     chainId: number;
  }[];
  decimals: number;
  logoURI: null | string;
  name: string;
  position: {
     end: number;
     start: number;
  };
  symbol: string;
  type: "erc20";
};

Defined in: packages/sdk/src/indexer/schemas.ts:241

Type declaration

address

address: `0x${string}` = HexSchema;

chainId

chainId: null | number;

chains

chains: {
  caip: string;
  chainId: number;
}[];

decimals

decimals: number;

logoURI

logoURI: null | string;

name

name: string;

position

position: {
  end: number;
  start: number;
} = IndexerAPICommentReferencePositionSchema;

position.end

end: number;

position.start

start: number;

symbol

symbol: string;

type

type: "erc20";