@effectai/sdk
Version:
Effect Network Javscript/Typescript SDK (for [https://effect.network](https://effect.network))
20 lines (19 loc) • 709 B
TypeScript
import { type AnyAction, type ExtendedAssetType, type NameType } from "@wharfkit/antelope";
import type { Client } from "../../exports";
export type WithdrawArgs = {
client: Client;
quantity: number;
};
export declare const withdraw: ({ client, quantity }: WithdrawArgs) => Promise<import("@wharfkit/session").TransactResult>;
export type WithdrawActionArgs = {
from_id: number;
to_account: NameType;
quantity: ExtendedAssetType;
account: string;
authorization: {
actor: NameType;
permission: NameType;
}[];
memo: string;
};
export declare const withdrawAction: ({ from_id, to_account, quantity, account, authorization, }: WithdrawActionArgs) => AnyAction;