UNPKG

@taquito/taquito

Version:

High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.

13 lines (12 loc) 704 B
import { BlockResponse, OperationContentsAndResultDelegation, OperationContentsAndResultReveal } from '@taquito/rpc'; import { Observable } from 'rxjs'; import { Context } from '../context'; import { WalletOperation, OperationStatus } from './operation'; export declare class DelegationWalletOperation extends WalletOperation { readonly opHash: string; protected readonly context: Context; constructor(opHash: string, context: Context, newHead$: Observable<BlockResponse>); revealOperation(): Promise<OperationContentsAndResultReveal | undefined>; delegationOperation(): Promise<OperationContentsAndResultDelegation | undefined>; status(): Promise<OperationStatus>; }