default
Defined in: index.d.ts:173
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new default(
account,config?):TonstakersProtocolTon
Defined in: index.d.ts:174
Parameters
Section titled “Parameters”account
Section titled “account”config?
Section titled “config?”Returns
Section titled “Returns”TonstakersProtocolTon
Overrides
Section titled “Overrides”Properties
Section titled “Properties”_account
Section titled “_account”
protected_account:StakingWalletAccount
Defined in: index.d.ts:150
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”claimWithdrawals()
Section titled “claimWithdrawals()”claimWithdrawals(
options?):Promise<never>
Defined in: index.d.ts:184
Always rejects: the pool settles bills itself.
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<never>
Overrides
Section titled “Overrides”StakingProtocol.claimWithdrawals
describeActivity()
Section titled “describeActivity()”describeActivity(
tx,ctx):ActivityItem|null
Defined in: index.d.ts:176
Recognize this module’s transactions for a wallet’s history; null for anything else. Pure and synchronous.
Parameters
Section titled “Parameters”ChainTx
DescribeActivityContext
Returns
Section titled “Returns”ActivityItem | null
getApr()
Section titled “getApr()”getApr():
Promise<number>
Defined in: index.d.ts:146
Returns
Section titled “Returns”Promise<number>
Inherited from
Section titled “Inherited from”getInstantLiquidity()
Section titled “getInstantLiquidity()”getInstantLiquidity():
Promise<bigint>
Defined in: index.d.ts:180
Returns
Section titled “Returns”Promise<bigint>
getJettonWallet()
Section titled “getJettonWallet()”getJettonWallet():
Promise<Address>
Defined in: index.d.ts:178
Returns
Section titled “Returns”Promise<Address>
getPoolData()
Section titled “getPoolData()”getPoolData():
Promise<PoolData>
Defined in: index.d.ts:177
Returns
Section titled “Returns”Promise<PoolData>
getRates()
Section titled “getRates()”getRates():
Promise<{projectedRate:bigint;rate:bigint; }>
Defined in: index.d.ts:181
Returns
Section titled “Returns”Promise<{ projectedRate: bigint; rate: bigint; }>
getRewards()
Section titled “getRewards()”getRewards():
Promise<Rewards|null>
Defined in: index.d.ts:182
Returns
Section titled “Returns”Promise<Rewards | null>
getStakedBalance()
Section titled “getStakedBalance()”getStakedBalance():
Promise<StakedBalance>
Defined in: index.d.ts:145
Returns
Section titled “Returns”Promise<StakedBalance>
Inherited from
Section titled “Inherited from”StakingProtocol.getStakedBalance
getTokenBalance()
Section titled “getTokenBalance()”getTokenBalance():
Promise<bigint>
Defined in: index.d.ts:179
Returns
Section titled “Returns”Promise<bigint>
getWithdrawalRequests()
Section titled “getWithdrawalRequests()”getWithdrawalRequests():
Promise<WithdrawalRequestsView>
Defined in: index.d.ts:142
Returns
Section titled “Returns”Promise<WithdrawalRequestsView>
Inherited from
Section titled “Inherited from”StakingProtocol.getWithdrawalRequests
quoteClaimWithdrawals()
Section titled “quoteClaimWithdrawals()”quoteClaimWithdrawals(
options?):Promise<never>
Defined in: index.d.ts:185
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<never>
Overrides
Section titled “Overrides”StakingProtocol.quoteClaimWithdrawals
quoteRequestWithdrawal()
Section titled “quoteRequestWithdrawal()”quoteRequestWithdrawal(
options):Promise<Omit<WithdrawalRequestResult,"hash"|"approveHash">>
Defined in: index.d.ts:141
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<Omit<WithdrawalRequestResult, "hash" | "approveHash">>
Inherited from
Section titled “Inherited from”StakingProtocol.quoteRequestWithdrawal
quoteStake()
Section titled “quoteStake()”quoteStake(
options):Promise<Omit<StakeResult,"hash">>
Defined in: index.d.ts:139
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<Omit<StakeResult, "hash">>
Inherited from
Section titled “Inherited from”requestWithdrawal()
Section titled “requestWithdrawal()”requestWithdrawal(
options):Promise<WithdrawalRequestResult>
Defined in: index.d.ts:140
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<WithdrawalRequestResult>
Inherited from
Section titled “Inherited from”StakingProtocol.requestWithdrawal
stake()
Section titled “stake()”stake(
options):Promise<StakeResult>
Defined in: index.d.ts:138
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<StakeResult>