PHP WebShell
Текущая директория: /opt/BitGoJS/modules/sdk-coin-sol/dist/src/lib
Просмотр файла: stakingWithdrawBuilder.d.ts
import { BaseCoin as CoinConfig } from '@bitgo/statics';
import { TransactionType } from '@bitgo/sdk-core';
import { Transaction } from './transaction';
import { TransactionBuilder } from './transactionBuilder';
export declare class StakingWithdrawBuilder extends TransactionBuilder {
protected _stakingAddress: string;
protected _amount: string;
constructor(_coinConfig: Readonly<CoinConfig>);
protected get transactionType(): TransactionType;
/** @inheritdoc */
initBuilder(tx: Transaction): void;
/**
* The address of the staking account.
*
* @param {string} stakingAddress public address of the staking account
* @returns {StakeBuilder} This staking builder.
*
*/
stakingAddress(stakingAddress: string): this;
/**
* The amount to withdraw expressed in Lamports, 1 SOL = 1_000_000_000 lamports
*
* @param {string} amount expressed in Lamports
* @returns {StakeBuilder} This staking builder.
*
*/
amount(amount: string): this;
/** @inheritdoc */
protected buildImplementation(): Promise<Transaction>;
}
//# sourceMappingURL=stakingWithdrawBuilder.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!