Documentation Index
Fetch the complete documentation index at: https://www.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
SuiModule provides native SUI blockchain operations including message signing, transaction signing (raw or built from to/value), sending transactions, and network queries. Access it via DynamicSDK.instance().sui.
Prerequisites
- Dynamic SDK initialized (see Quickstart)
- User authenticated (see Authentication)
- SUI enabled in the Dynamic dashboard
Get a SUI Wallet
If SUI is enabled in the dashboard, the user gets a SUI wallet on signup. Find it viauserWallets, or create one explicitly with EmbeddedWalletChain.sui:
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 broadcasting it:Sign a Transfer Transaction
Build and sign a SUI transfer from convenientto/value parameters:
Send Transactions
There are three flavors of broadcast:API Reference
| Method | Returns | Description |
|---|---|---|
getNetworkName | String | Get the connected network name |
signMessage | String | Sign a message |
signTransaction | String | Sign a raw base64 transaction |
signTransferTransaction | String | Sign a transfer built from to/value |
sendTransaction | String | Broadcast a signed transaction |
signAndSendTransaction | String | Sign and broadcast a raw transaction |
signAndSendTransferTransaction | String | Sign and broadcast a transfer |
Next Steps
- Bitcoin Operations — Bitcoin operations
- TON Operations — TON operations
- Token Balances — Multi-chain balance queries