UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

12 lines (11 loc) 486 B
/// <reference types="@solana/web3.js" /> import { web3 } from '@project-serum/anchor'; import { GetLotteryTicket, GetLotteryTicketIx } from '../../types'; export declare const getLotteryTicket: (params: GetLotteryTicket) => Promise<{ lotteryTicketPubkey: web3.PublicKey; }>; export declare const getLotteryTicketIx: (params: GetLotteryTicketIx) => Promise<{ lotteryTicketPubkey: web3.PublicKey; instructions: web3.TransactionInstruction[]; signers: web3.Keypair[]; }>;