PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-polyx/dist/src/lib
Просмотр файла: unbondBuilder.d.ts
import { Transaction } from './transaction';
import { PolyxBaseBuilder } from './baseBuilder';
import { DecodedSignedTx, DecodedSigningPayload, UnsignedTransaction } from '@substrate/txwrapper-core';
import { BaseCoin as CoinConfig } from '@bitgo/statics';
import { TransactionType } from '@bitgo/sdk-core';
export declare class UnbondBuilder extends PolyxBaseBuilder {
protected _amount: string;
constructor(_coinConfig: Readonly<CoinConfig>);
protected get transactionType(): TransactionType;
/**
* Build the unbond transaction
*/
protected buildTransaction(): UnsignedTransaction;
/**
* Set the amount to unbond
*/
amount(amount: string): this;
/**
* Get the amount to unbond
*/
getAmount(): string;
/** @inheritdoc */
validateDecodedTransaction(decodedTxn: DecodedSigningPayload | DecodedSignedTx): void;
/** @inheritdoc */
protected fromImplementation(rawTransaction: string): Transaction;
/** @inheritdoc */
validateTransaction(tx: Transaction): void;
/**
* Validate the unbond fields
*/
private validateFields;
/**
* Validates fields for testing
*/
testValidateFields(): void;
}
//# sourceMappingURL=unbondBuilder.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!