Options
All
  • Public
  • Public/Protected
  • All
Menu

@soceanfi/stake-pool-sdk

Index

Type aliases

ClusterType: "mainnet-beta" | "testnet" | "devnet"
TransactionSequence: TransactionWithSigners[][]

Array of transaction arrays where all transactions in the inner array must be confirmed before proceeding to the next inner array

TransactionSequenceSignatures: string[][]

Array of string arrays where each element corresponds to a transaction in a TransactionSequence

ValidatorAllStakeAccounts: { main: PublicKey; transient: PublicKey }

Type declaration

  • main: PublicKey
  • transient: PublicKey

Functions

  • Signs and sends TransactionSequence, awaiting confirmations for each inner array of transactions before proceeding to the next one

    throws

    RpcError

    throws

    WalletPublicKeyUnavailableError

    Parameters

    • walletAdapter: WalletAdapter

      wallet signing the transaction

    • transactionSequence: TransactionSequence

      TransactionSequence to sign and send

    • connection: Connection

      solana connection

    • confirmOptions: ConfirmOptions = TRANSACTION_SEQUENCE_DEFAULT_CONFIRM_OPTIONS

      transaction confirm options for each transaction

    Returns Promise<TransactionSequenceSignatures>

    TransactionSequenceSignatures for all transactions in the TransactionSequence

Generated using TypeDoc