Skip to main content

@iota/wallet-standard

Interfaces

InterfaceDescription
IotaReportTransactionEffectsInputInput for signing transactions.
IotaSignAndExecuteTransactionInputInput for signing and sending transactions.
IotaSignAndExecuteTransactionOutputOutput of signing and sending transactions.
IotaSignPersonalMessageInputInput for signing personal messages.
IotaSignPersonalMessageOutputOutput of signing personal messages.
SignedPersonalMessage-
IotaSignTransactionInputInput for signing transactions.
SignedTransactionOutput of signing transactions.
IotaSignTransactionOutputOutput of signing transactions.
GasDataContains data related to the gas payment for a Transaction
SerializedTransactionDataV2Represent the serialized state of a partially built Transaction This format is designed to support transactions that have not been fully build allowing most properties to be omitted or set to null. It also supports unresolved object references, unresolved pure values, and Transaction Intents.
PureArg-
UnresolvedPureArgRepresents an un-serialized pure value. The correct bcs schema will need to be determined before this value can be serialized to bcs
UnresolvedObjectArgRepresents an unresolved object reference. This allows objects to be referenced by only their ID. version and digest details may also be added to unresolved object references. To fully resolve a reference, the correct ObjectArg type needs to be determined based on the type of object, and how it used in the transaction (eg, is it used mutably if it's shared, and is it a receiving object if it's not shared)

Type Aliases

Type AliasDescription
IotaFeaturesWallet Standard features that are unique to IOTA, and that all IOTA wallets are expected to implement.
IotaWalletFeatures-
WalletWithIotaFeatures-
WalletWithRequiredFeaturesRepresents a wallet with the absolute minimum feature set required to function in the IOTA ecosystem.
MinimallyRequiredFeatures-
IotaReportTransactionEffectsVersionThe latest API version of the reportTransactionEffects API.
IotaReportTransactionEffectsFeatureA Wallet Standard feature for reporting the effects of a transaction block executed by a dapp The feature allows wallets to updated their caches using the effects of the transaction executed outside of the wallet
IotaReportTransactionEffectsMethod-
IotaSignAndExecuteTransactionVersionThe latest API version of the signAndExecuteTransaction API.
IotaSignAndExecuteTransactionFeatureA Wallet Standard feature for signing a transaction, and submitting it to the network. The wallet is expected to submit the transaction to the network via RPC, and return the transaction response.
IotaSignAndExecuteTransactionMethod-
IotaSignPersonalMessageVersionThe latest API version of the signPersonalMessage API.
IotaSignPersonalMessageFeatureA Wallet Standard feature for signing a personal message, and returning the message bytes that were signed, and message signature.
IotaSignPersonalMessageMethod-
IotaSignTransactionVersionThe latest API version of the signTransaction API.
IotaSignTransactionFeatureA Wallet Standard feature for signing a transaction, and returning the serialized transaction and transaction signature.
IotaSignTransactionMethod-
CallArgRepresents an input to a Transaction, either as a fully resolved Object or Pure input or as an unresolved partial reference which needs to be resolved before the transaction can be serialized to bcs and executed.
ObjectArg-
Argument-
Command-

Variables

VariableDescription
SUPPORTED_CHAINS-
IotaReportTransactionEffectsName of the feature.
IotaSignAndExecuteTransactionName of the feature.
IotaSignPersonalMessageName of the feature.
IotaSignTransactionName of the feature.

Functions

FunctionDescription
isSupportedChainUtility that returns whether or not a chain identifier is a supported chain.
isWalletWithRequiredFeatureSet-
signAndExecuteTransaction-
signTransaction-

Connect

InterfaceDescription
StandardConnectOutputOutput of the StandardConnectMethod.

Wallet

InterfaceDescription
WalletInterface of a Wallet, also referred to as a Standard Wallet.