Narval | Docs
GithubHome
  • Narval Connect
    • Overview
    • Getting Started
  • Security Overview
  • Providers
    • Providers
      • Anchorage
      • BitGo
      • Fireblocks
  • Guide
    • ConnectClient
    • Connect Widget
      • initiateConnect
      • completeConnect
    • Using a Connection
      • listWallets
      • getWalletById
      • listAccounts
      • getAccountById
      • listAddresses
      • getAddressById
      • listKnownDestinations
      • sendTransfer
      • getTransfer
      • EVM Transactions
        • sendTransaction
        • getTransactionById
        • signMessage
        • getSignMessageById
        • signTypedData
        • getTypedDataById
      • Staking
        • Ethereum (ETH)
        • Polygon (POL)
        • Solana (SOL)
        • Sui (SUI)
      • Raw Signing
        • signRaw
        • getRawSignRequest
    • Manage Connections
      • listConnections
      • getConnection
      • revokeConnection
  • API Reference
    • REST API
      • Authorization
      • Connect Widget
      • Networks & Assets
      • Wallets, Accounts, Addresses
      • Known Destinations
      • Transfer
      • Stake
        • Ethereum
        • Polygon
        • Solana
        • Sui
      • Transactions
        • Ethereum (EVM)
      • Raw Signing
      • Transit Encryption Key
      • Manage Connections
Powered by GitBook
On this page
  1. Guide
  2. Using a Connection
  3. Staking

Sui (SUI)

ConnectClient.staking.sui

Sui blockchain staking operations.

Methods

stake(params)

Initiates a stake operation on the Sui blockchain.

Param
Type
Description

params

object

Parameters for the stake operation

params.data

object

Stake operation details

params.connectionId

string

Connection identifier

params.accessToken

string

Access token for authentication

Returns: Stake operation responseThrows: ArmorySdkException - If there's an error initiating the stake operation

unstake(params)

Initiates an unstake operation on the Sui blockchain.

Param
Type
Description

params

object

Parameters for the unstake operation

params.data

object

Unstake operation details

params.connectionId

string

Connection identifier

params.accessToken

string

Access token for authentication

Returns: Unstake operation responseThrows: ArmorySdkException - If there's an error initiating the unstake operation

getStake(params)

Retrieves details of a specific stake operation on the Sui blockchain.

Param
Type
Description

params

object

Parameters for retrieving the stake operation

params.stakeId

string

Unique identifier of the stake operation

params.connectionId

string

Connection identifier

params.accessToken

string

Access token for authentication

Returns: Stake operation detailsThrows: ArmorySdkException - If there's an error retrieving the stake operation

listUnstakeablePositions(params)

Retrieves a list of positions that can be unstaked on the Sui blockchain.

Param
Type
Description

params

object

Parameters for listing unstakeable positions

params.connectionId

string

Connection identifier

params.accessToken

string

Access token for authentication

Returns: List of unstakeable positionsThrows: ArmorySdkException - If there's an error retrieving the unstakeable positions

getUnstake(params)

Retrieves details of a specific unstake operation on the Sui blockchain.

Param
Type
Description

params

object

Parameters for retrieving the unstake operation

params.unstakeId

string

Unique identifier of the unstake operation

params.connectionId

string

Connection identifier

params.accessToken

string

Access token for authentication

Returns: Unstake operation detailsThrows: ArmorySdkException - If there's an error retrieving the unstake operation

withdraw(params)

Withdraws unstaked tokens on the Sui blockchain.

Param
Type
Description

params

object

Parameters for withdrawing unstaked tokens

params.unstakeId

string

Unique identifier of the unstake operation

params.connectionId

string

Connection identifier

params.accessToken

string

Access token for authentication

Throws: ArmorySdkException - If there's an error withdrawing unstaked tokens

PreviousSolana (SOL)NextRaw Signing

Last updated 29 days ago