Usage
Parameters
| Parameter | Type | Description |
|---|---|---|
transactionBlock | Transaction | The Sui transaction block to sign |
walletAccount | SuiWalletAccount | The wallet account to sign the transaction with |
client | DynamicClient (optional) | The Dynamic client instance. Only required when using multiple clients. |
Returns
Promise<SuiSignTransactionBlockResult> - A promise that resolves to an object containing the signature and transaction block bytes.
Errors
| Error | Description |
|---|---|
NotSuiProviderError | Thrown if the wallet account’s provider is not a Sui provider |
MethodNotImplementedError | Thrown if the wallet provider does not implement this method |
Related functions
- signTransaction - The recommended replacement for this function
- signAndExecuteTransactionBlock - Sign and execute a transaction block