Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
TheSuiModule provides native SUI blockchain operations including message signing, transaction signing, sending transactions, and network queries. Access it via DynamicSDK.instance.sui.
Prerequisites
- Dynamic SDK initialized (see Quickstart)
- User authenticated (see Authentication)
- SUI wallet available (see Wallet Creation)
Get Network Name
Query the network name for the connected SUI wallet.Sign a Message
Sign a message using the connected SUI wallet.Sign a Transaction
Sign a raw base64-encoded SUI transaction without sending it.Sign a Transfer Transaction
Sign a transfer transaction built from parameters. The SDK constructs the transaction internally.| Parameter | Type | Description |
|---|---|---|
walletId | String | The wallet ID to sign with |
to | String | Recipient SUI address |
value | String | Amount in SUI |
gasPrice | int? | Optional gas price override |
gasBudget | int? | Optional gas budget override |
Send a Transaction
Send a raw base64-encoded SUI transaction to the network. Returns the transaction digest.Sign and Send a Transaction
Sign and send a raw transaction in one step.Sign and Send a Transfer
The most convenient way to send SUI: provide the recipient and amount, and the SDK handles the rest.With Custom Gas Settings
Complete Example
API Reference
| Method | Returns | Description |
|---|---|---|
getNetworkName | Future<String> | Get network name |
signMessage | Future<String> | Sign a message |
signTransaction | Future<String> | Sign a raw transaction |
signTransferTransaction | Future<String> | Sign a transfer built from params |
sendTransaction | Future<String> | Send a raw transaction, returns digest |
signAndSendTransaction | Future<String> | Sign + send raw transaction |
signAndSendTransferTransaction | Future<String> | Sign + send transfer, returns digest |
Next Steps
- Bitcoin Operations - Bitcoin blockchain operations
- TON Operations - TON blockchain operations
- Token Balances - Multi-chain balance queries