UNPKG

@bsv/wallet-toolbox-client

Version:
14 lines 960 B
import { AtomicBEEF, CreateActionResult, OutpointString, SendWithResult, SignableTransaction, TXIDHexString, Validation } from '@bsv/sdk'; import { AuthId, ReviewActionResult, StorageProcessActionResults } from '../../sdk/WalletStorage.interfaces'; import { PendingSignAction, Wallet } from '../../Wallet'; export interface CreateActionResultX extends CreateActionResult { txid?: TXIDHexString; tx?: AtomicBEEF; noSendChange?: OutpointString[]; sendWithResults?: SendWithResult[]; signableTransaction?: SignableTransaction; notDelayedResults?: ReviewActionResult[]; } export declare function createAction(wallet: Wallet, auth: AuthId, vargs: Validation.ValidCreateActionArgs): Promise<CreateActionResultX>; export declare function processAction(prior: PendingSignAction | undefined, wallet: Wallet, auth: AuthId, vargs: Validation.ValidProcessActionArgs): Promise<StorageProcessActionResults>; //# sourceMappingURL=createAction.d.ts.map