Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / IndexerAPICommentReferenceQuotedCommentSchemaType

Type Alias: IndexerAPICommentReferenceQuotedCommentSchemaType

type IndexerAPICommentReferenceQuotedCommentSchemaType = {
  chainId: number;
  id: `0x${string}`;
  position: {
     end: number;
     start: number;
  };
  type: "quoted_comment";
};

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

Handles caip373 quoted comment

See https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-373.md and https://github.com/ecp-eth/ECPIP/discussions/2

Type declaration

chainId

chainId: number;

id

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

position

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

position.end

end: number;

position.start

start: number;

type

type: "quoted_comment";