PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@celo/connect/lib/utils
Просмотр файла: celo-transaction-object.d.ts
import { Connection } from '../connection';
import { CeloTx, CeloTxObject, CeloTxReceipt } from '../types';
import { TransactionResult } from './tx-result';
export declare type CeloTransactionParams = Omit<CeloTx, 'data'>;
export declare function toTransactionObject<O>(connection: Connection, txo: CeloTxObject<O>, defaultParams?: CeloTransactionParams): CeloTransactionObject<O>;
export declare class CeloTransactionObject<O> {
private connection;
readonly txo: CeloTxObject<O>;
readonly defaultParams?: CeloTransactionParams | undefined;
constructor(connection: Connection, txo: CeloTxObject<O>, defaultParams?: CeloTransactionParams | undefined);
/** send the transaction to the chain */
send: (params?: CeloTransactionParams) => Promise<TransactionResult>;
/** send the transaction and waits for the receipt */
sendAndWaitForReceipt: (params?: CeloTransactionParams) => Promise<CeloTxReceipt>;
}
Выполнить команду
Для локальной разработки. Не используйте в интернете!