UNPKG

@blockassetlabs/blaze

Version:

Blockasset Blaze

12 lines 1.06 kB
import type { Connection } from '@solana/web3.js'; import { PublicKey } from '@solana/web3.js'; import type { AccountData } from '../../types'; import type { BlazeData, EntrantsData, IdentifierData } from './constants'; export declare const getBlaze: (connection: Connection, blazeId: PublicKey) => Promise<AccountData<BlazeData>>; export declare const getBlazes: (connection: Connection, blazeIds: PublicKey[]) => Promise<AccountData<BlazeData>[]>; export declare const getAllBlazes: (connection: Connection) => Promise<AccountData<BlazeData>[]>; export declare const getIdentifier: (connection: Connection) => Promise<AccountData<IdentifierData>>; export declare const getBlazesByProjectId: (connection: Connection, projectId: PublicKey) => Promise<AccountData<BlazeData>[]>; export declare const getAllEntrants: (connection: Connection) => Promise<AccountData<EntrantsData>[]>; export declare const getEntrants: (connection: Connection, entrantsId: PublicKey) => Promise<AccountData<EntrantsData> | null | undefined>; //# sourceMappingURL=accounts.d.ts.map