Module @mysten/wallet-standard

@mysten/wallet-standard

A suite of standard utilities for implementing wallets and libraries based on the Wallet Standard.

Documentation: https://docs.sui.io/standards/wallet-standard

Classes

WalletStandardError

Interfaces

GasData
PureArg
ReadonlyUint8Array
SerializedTransactionDataV2
SignedPersonalMessage
SignedTransaction
SignedTransactionBlock
SuiReportTransactionEffectsInput
SuiSignAndExecuteTransactionBlockInput
SuiSignAndExecuteTransactionBlockOutput
SuiSignAndExecuteTransactionInput
SuiSignAndExecuteTransactionOutput
SuiSignMessageInput
SuiSignMessageOutput
SuiSignPersonalMessageInput
SuiSignPersonalMessageOutput
SuiSignTransactionBlockInput
SuiSignTransactionBlockOutput
SuiSignTransactionInput
UnresolvedObjectArg
UnresolvedPureArg

Type Aliases

Argument
CallArg
Command
MinimallyRequiredFeatures
ObjectArg
SuiChain
SuiFeatures
SuiReportTransactionEffectsFeature
SuiReportTransactionEffectsMethod
SuiSignAndExecuteTransactionBlockFeature
SuiSignAndExecuteTransactionBlockMethod
SuiSignAndExecuteTransactionBlockVersion
SuiSignAndExecuteTransactionFeature
SuiSignAndExecuteTransactionMethod
SuiSignAndExecuteTransactionVersion
SuiSignMessageFeature
SuiSignMessageMethod
SuiSignMessageVersion
SuiSignPersonalMessageFeature
SuiSignPersonalMessageMethod
SuiSignPersonalMessageVersion
SuiSignTransactionBlockFeature
SuiSignTransactionBlockMethod
SuiSignTransactionBlockVersion
SuiSignTransactionFeature
SuiSignTransactionMethod
SuiSignTransactionVersion
SuiWalletFeatures
WalletStandardErrorCode
WalletWithRequiredFeatures
WalletWithSuiFeatures

Variables

StandardConnect
StandardDisconnect
StandardEvents
SUI_CHAINS
SUI_DEVNET_CHAIN
SUI_LOCALNET_CHAIN
SUI_MAINNET_CHAIN
SUI_TESTNET_CHAIN
WALLET_STANDARD_ERROR__FEATURES__WALLET_ACCOUNT_CHAIN_UNSUPPORTED
WALLET_STANDARD_ERROR__FEATURES__WALLET_ACCOUNT_FEATURE_UNIMPLEMENTED
WALLET_STANDARD_ERROR__FEATURES__WALLET_FEATURE_UNIMPLEMENTED
WALLET_STANDARD_ERROR__REGISTRY__WALLET_ACCOUNT_NOT_FOUND
WALLET_STANDARD_ERROR__REGISTRY__WALLET_NOT_FOUND
WALLET_STANDARD_ERROR__USER__REQUEST_REJECTED

Functions

isSuiChain
isWalletStandardError
isWalletWithRequiredFeatureSet
safeCaptureStackTrace
signAndExecuteTransaction
signTransaction

Account

ReadonlyWalletAccount

App

Wallets
WalletsEventsListeners
WalletsEventNames
getWallets

App Ready Event

WindowAppReadyEventAPI
WindowAppReadyEvent
WindowAppReadyEventType

Connect

StandardConnectInput
StandardConnectOutput
StandardConnectFeature
StandardConnectMethod
StandardConnectVersion

Deprecated

DEPRECATED_Wallets
DEPRECATED_WalletsNavigator
DEPRECATED_WalletsWindow
ConnectFeature
ConnectInput
ConnectMethod
ConnectOutput
ConnectVersion
DEPRECATED_WalletsCallback
DisconnectFeature
DisconnectMethod
DisconnectVersion
EventsChangeProperties
EventsFeature
EventsListeners
EventsNames
EventsOnMethod
EventsVersion
WalletsEvents
Connect
Disconnect
Events
DEPRECATED_getWallets
DEPRECATED_registerWallet

Disconnect

StandardDisconnectFeature
StandardDisconnectMethod
StandardDisconnectVersion

Events

StandardEventsChangeProperties
StandardEventsListeners
StandardEventsFeature
StandardEventsNames
StandardEventsOnMethod
StandardEventsVersion

Features

StandardFeatures
WalletWithStandardFeatures

Identifier

IdentifierArray
IdentifierRecord
IdentifierString

Register Wallet Event

WindowRegisterWalletEvent
WindowRegisterWalletEventCallback
WindowRegisterWalletEventType

Util

arraysEqual
bytesEqual
concatBytes
guard
pick

Wallet

Wallet
WalletAccount
WalletIcon
WalletVersion
WalletWithFeatures
registerWallet

Window

WalletEventsWindow