@substrate/api-sidecar
Version:
REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.
11 lines (10 loc) • 319 B
TypeScript
import { Text } from '@polkadot/types';
import { EventMetadataLatest } from '@polkadot/types/interfaces';
import { IAt } from '.';
import { IPallet } from './Pallet';
export interface IPalletEvents extends IPallet {
at: IAt;
pallet: string;
palletIndex: number;
items: EventMetadataLatest[] | Text[];
}