PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-core/dist/src/bitgo/staking
Просмотр файла: iGoStakingWallet.d.ts
import { HalfSignedAccountTransaction } from '../baseCoin';
import { BaseGoStakeOptions, GoStakeOptions, GoStakingRequest, GoStakingRequestOptions, GoStakingRequestResults, GoStakingWalletObject, GoStakingWalletResults } from './goStakingInterfaces';
export type FrontTransferSendRequest = HalfSignedAccountTransaction;
export interface IGoStakingWallet {
readonly accountId: string;
stake(options: GoStakeOptions): Promise<GoStakingRequest>;
unstake(options: BaseGoStakeOptions): Promise<GoStakingRequest>;
getGoStakingRequest(stakingRequestId: string): Promise<GoStakingRequest>;
getGoStakingRequestsByWalletCoin(options?: GoStakingRequestOptions): Promise<GoStakingRequestResults>;
getGoStakingRequests(options?: GoStakingRequestOptions): Promise<GoStakingRequestResults>;
getGoStakingWallets(options?: {
page?: number;
pageSize?: number;
}): Promise<GoStakingWalletResults>;
getGoStakingWallet(): Promise<GoStakingWalletObject>;
}
//# sourceMappingURL=iGoStakingWallet.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!