PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-polygon/dist/src
Просмотр файла: polygon.d.ts
/**
* @prettier
*/
import { AbstractEthLikeNewCoins } from '@bitgo/abstract-eth';
import { BaseCoin, BitGoBase, MPCAlgorithm, MultisigType } from '@bitgo/sdk-core';
import { BaseCoin as StaticsBaseCoin } from '@bitgo/statics';
import { TransactionBuilder } from './lib';
import { UnsignedSweepTxMPCv2, RecoverOptions, OfflineVaultTxInfo } from '../../abstract-eth/src/abstractEthLikeNewCoins';
export declare class Polygon extends AbstractEthLikeNewCoins {
protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
/**
* Builds an unsigned sweep transaction for TSS
* @param params - Recovery options
* @returns {Promise<OfflineVaultTxInfo | UnsignedSweepTxMPCv2>}
*/
protected buildUnsignedSweepTxnTSS(params: RecoverOptions): Promise<OfflineVaultTxInfo | UnsignedSweepTxMPCv2>;
static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
/**
* Create a new transaction builder for the current chain
* @return a new transaction builder
*/
protected getTransactionBuilder(): TransactionBuilder;
/**
* Make a query to Polygon explorer for information such as balance, token balance, solidity calls
* @param {Object} query key-value pairs of parameters to append after /api
* @param {string} apiKey optional API key to use instead of the one from the environment
* @returns {Promise<Object>} response from Polygon
*/
recoveryBlockchainExplorerQuery(query: Record<string, string>, apiKey?: string): Promise<Record<string, unknown>>;
/** @inheritDoc */
supportsMessageSigning(): boolean;
/** @inheritDoc */
supportsSigningTypedData(): boolean;
/** @inheritDoc */
supportsTss(): boolean;
/** inherited doc */
getDefaultMultisigType(): MultisigType;
/** @inheritDoc */
getMPCAlgorithm(): MPCAlgorithm;
}
//# sourceMappingURL=polygon.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!