UNPKG

590 BTypeScriptView Raw
1import { PrivateKey } from '@neo-one/client-common';
2import { Node, Transaction } from '@neo-one/node-core';
3import { ConsensusContext } from './ConsensusContext';
4import { Context } from './context';
5import { Result } from './types';
6export declare const handleTransactionReceived: ({ context, node, privateKey, transaction, consensusContext, }: {
7 readonly context: Context<Context<any>>;
8 readonly node: Node;
9 readonly privateKey: PrivateKey;
10 readonly transaction: Transaction;
11 readonly consensusContext: ConsensusContext;
12}) => Promise<Result<Context<Context<any>>>>;