Creates a staked-SuiFren wrapper without making a request.
SuiFren data, vault metadata, and optional owned position.
Optionalconfig: CallerConfig
Optional network, API host, endpoint, or access-token configuration.
Whether the caller's source data marks the position as owned.
Optionalapi: AftermathApi
Optional AftermathApi required by transaction builders.
Optional ReadonlyapiOptional low-level provider used by transaction builders.
The mutable configuration used for subsequent requests.
ReadonlyinfoStaked SuiFren data and vault metadata.
ReadonlyisCaller-provided ownership flag for the position.
ReadonlysuiSuiFren wrapper created from info.suiFren with isStaked: true.
Creates another wrapper around the same stake information.
Unlike SuiFren.clone, this method passes the optional api to the clone.
A new wrapper sharing the same info object.
Fetches accessories attached to the underlying SuiFren.
The accessory objects attached to the SuiFren.
Builds an unsigned transaction that adds an accessory to the underlying SuiFren.
This method delegates to the underlying SuiFren wrapper.
Accessory object ID and transaction sender address.
An unsigned accessory transaction.
Builds an unsigned transaction that harvests fees from this position.
The method requires both a position and an isOwned flag. The returned
transaction transfers harvested fees to walletAddress.
Wallet address that signs the transaction and receives fees.
An unsigned harvest transaction.
Builds an unsigned transaction that removes an accessory from this position.
The method requires a position and an isOwned flag, then selects the
staked-position removal Move call.
Accessory type string and transaction sender address.
An unsigned accessory-removal transaction.
Builds an unsigned transaction that unstakes this position.
The method requires info.position to contain the owned position object ID,
derives the underlying SuiFren type, and sets walletAddress as sender. It
does not enforce isOwned before building.
Wallet address that signs and receives the unstake result.
An unsigned transaction ready for signing and execution.
Returns the current per-mix fee stored in the staked metadata.
The fee in the payment coin's smallest unit.
Returns the object ID of the underlying SuiFren.
The underlying SuiFren object ID.
StaticapiReturns the canonical Aftermath API host for a Sui network.
To target a custom or local host, pass baseUrl in CallerConfig to the
constructor instead.
The Sui network whose host to return.
The network's HTTPS or local HTTP API host.
StaticdefaultReturns the canonical Sui fullnode URL for a network.
The network whose fullnode URL to return. undefined
defaults to mainnet.
The network's fullnode URL.
Wraps a staked SuiFren with vault fee accessors and unsigned stake-position transaction builders.
The wrapper's
isOwnedflag comes from the fetch path and is used to guard harvest and accessory-removal methods. It is not a live ownership check.