PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-soneium/dist/src

Просмотр файла: soneium.d.ts

/***
 * @developerReferences
 * - Developer Hub: https://docs.soneium.org/soneium-chain/quick-start/info
 * - Doc: https://docs.soneium.org/
 *
 * @coinFullName Soneium
 * @coinWebsite https://docs.soneium.org/soneium-chain/quick-start/info
 */
import { BaseCoin, BitGoBase, MPCAlgorithm, MultisigType } from '@bitgo/sdk-core';
import { BaseCoin as StaticsBaseCoin } from '@bitgo/statics';
import { AbstractEthLikeNewCoins, UnsignedSweepTxMPCv2, RecoverOptions, OfflineVaultTxInfo } from '@bitgo/abstract-eth';
import { TransactionBuilder } from './lib';
export declare class Soneium extends AbstractEthLikeNewCoins {
    protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
    static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
    protected getTransactionBuilder(): TransactionBuilder;
    /** @inheritDoc */
    supportsTss(): boolean;
    /** inherited doc */
    getDefaultMultisigType(): MultisigType;
    /** @inheritDoc */
    getMPCAlgorithm(): MPCAlgorithm;
    protected buildUnsignedSweepTxnTSS(params: RecoverOptions): Promise<OfflineVaultTxInfo | UnsignedSweepTxMPCv2>;
    /**
     * Make a query to Soneium 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 Soneium explorer
     */
    recoveryBlockchainExplorerQuery(query: Record<string, any>): Promise<any>;
    /**
     * Check whether gas limit passed in by user are within our max and min bounds
     * If they are not set, set them to the defaults
     * @param {number} userGasLimit user defined gas limit
     * @returns {number} the gas limit to use for this transaction
     */
    setGasLimit(userGasLimit?: number): number;
}
//# sourceMappingURL=soneium.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!