UNPKG

@effectai/sdk

Version:

Effect Network Javscript/Typescript SDK (for [https://effect.network](https://effect.network))

17 lines (16 loc) 601 B
import type { AnyAction, NameType } from "@wharfkit/antelope"; import type { Client } from "../../client"; import type { Payment } from "../../@generated/types/tasks.efx"; export type ClaimArgs = { client: Client; }; export declare const claim: ({ client }: ClaimArgs) => Promise<import("@wharfkit/session").TransactResult>; export type ClaimActionsArgs = { payments: Payment[]; tasks: string; authorization: { actor: NameType; permission: NameType; }[]; }; export declare const claimActions: ({ payments, tasks, authorization, }: ClaimActionsArgs) => AnyAction[];