UNPKG

steem-auth-vue-temp

Version:

A Vue 3 authentication component for Steem blockchain and Echelon sidechain

23 lines (21 loc) 789 B
import { ITransaction } from '../interfaces'; declare global { interface Window { steem_keychain: { requestBroadcast: (username: string, operations: any[], keyType: string, callback: (response: any) => void) => void; requestSignBuffer: (username: string, message: string, keyType: string, callback: (response: { success: boolean; result: string; message: string; }) => void) => void; }; } } declare class TransactionService { send(trx: string, payload: any, options?: { requiredAuth?: 'posting' | 'active' | 'owner'; activeKey?: string; }): Promise<ITransaction>; } declare const _default: TransactionService; export default _default;