PHP WebShell
Текущая директория: /opt/BitGoJS/modules/sdk-coin-rune/dist/src
Просмотр файла: rune.d.ts
import { CosmosCoin, CosmosKeyPair, CosmosLikeCoinRecoveryOutput, GasAmountDetails, RecoveryOptions } from '@bitgo/abstract-cosmos';
import { BaseCoin, BitGoBase, VerifyTransactionOptions } from '@bitgo/sdk-core';
import { BaseCoin as StaticsBaseCoin } from '@bitgo/statics';
import { TransactionBuilderFactory } from './lib';
import { RuneUtils } from './lib/utils';
export declare class Rune extends CosmosCoin {
protected readonly _utils: RuneUtils;
protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
/** @inheritDoc **/
getBuilder(): TransactionBuilderFactory;
/**
* Factor between the coin's base unit and its smallest subdivison
*/
getBaseFactor(): number;
isValidAddress(address: string): boolean;
/** @inheritDoc **/
protected getPublicNodeUrl(): string;
/** @inheritDoc **/
getDenomination(): string;
/** @inheritDoc **/
getGasAmountDetails(): GasAmountDetails;
/** @inheritDoc **/
getKeyPair(publicKey: string): CosmosKeyPair;
/** @inheritDoc **/
getAddressFromPublicKey(publicKey: string): string;
verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
getNativeRuneTxnFees(): string;
/**
* This function is overridden from CosmosCoin class' recover function due to the difference in fees handling in thorchain
* @param {RecoveryOptions} params parameters needed to construct and
* (maybe) sign the transaction
*
* @returns {CosmosLikeCoinRecoveryOutput} the serialized transaction hex string and index
* of the address being swept
*/
recover(params: RecoveryOptions): Promise<CosmosLikeCoinRecoveryOutput>;
}
//# sourceMappingURL=rune.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!