Directories
¶
| Path | Synopsis |
|---|---|
|
demos
|
|
|
main_sui_getChainIdentifier
command
Package main: Demo application to retrieve blockchain chain identifier Demonstrates sui_getChainIdentifier RPC method with devnet Shows how to query network chain ID information Prints chain identifier to verify network connection
|
Package main: Demo application to retrieve blockchain chain identifier Demonstrates sui_getChainIdentifier RPC method with devnet Shows how to query network chain ID information Prints chain identifier to verify network connection |
|
main_sui_getCheckpoint
command
Package main: Demo application to retrieve checkpoint information from blockchain Demonstrates sui_getCheckpoint RPC method with sequence number query Shows how to get latest checkpoint number and query checkpoint details Prints checkpoint data in JSON format from devnet
|
Package main: Demo application to retrieve checkpoint information from blockchain Demonstrates sui_getCheckpoint RPC method with sequence number query Shows how to get latest checkpoint number and query checkpoint details Prints checkpoint data in JSON format from devnet |
|
main_sui_getLatestCheckpointSequenceNumber
command
Package main: Demo application to query latest checkpoint sequence number Demonstrates sui_getLatestCheckpointSequenceNumber RPC method Shows how to retrieve current checkpoint number from blockchain Prints checkpoint sequence in JSON format from devnet
|
Package main: Demo application to query latest checkpoint sequence number Demonstrates sui_getLatestCheckpointSequenceNumber RPC method Shows how to retrieve current checkpoint number from blockchain Prints checkpoint sequence in JSON format from devnet |
|
main_sui_getTotalTransactionBlocks
command
Package main: Demo application to query total transaction count from blockchain Demonstrates sui_getTotalTransactionBlocks RPC method on mainnet Shows how to retrieve cumulative transaction block count Logs total transaction number from network
|
Package main: Demo application to query total transaction count from blockchain Demonstrates sui_getTotalTransactionBlocks RPC method on mainnet Shows how to retrieve cumulative transaction block count Logs total transaction number from network |
|
main_sui_getTransactionBlock
command
Package main: Demo application to query individual transaction block details Demonstrates sui_getTransactionBlock RPC method with checkpoint navigation Shows how to retrieve latest checkpoint and iterate through transactions Logs transaction digests and detailed information from devnet
|
Package main: Demo application to query individual transaction block details Demonstrates sui_getTransactionBlock RPC method with checkpoint navigation Shows how to retrieve latest checkpoint and iterate through transactions Logs transaction digests and detailed information from devnet |
|
main_sui_multiGetTransactionBlocks
command
Package main: Demo application to query multiple transaction blocks in batch Demonstrates sui_multiGetTransactionBlocks RPC method with batch query Shows how to retrieve multiple transactions from checkpoint efficiently Logs transaction digests and processes results in batch from devnet
|
Package main: Demo application to query multiple transaction blocks in batch Demonstrates sui_multiGetTransactionBlocks RPC method with batch query Shows how to retrieve multiple transactions from checkpoint efficiently Logs transaction digests and processes results in batch from devnet |
|
main_sui_unsafe_mergeCoins
command
Package main: Demo application to merge two SUI coin objects into one Demonstrates unsafe_mergeCoins RPC method with coin selection Shows complete workflow from coin query to merge execution Includes random coin selection and transaction signing
|
Package main: Demo application to merge two SUI coin objects into one Demonstrates unsafe_mergeCoins RPC method with coin selection Shows complete workflow from coin query to merge execution Includes random coin selection and transaction signing |
|
main_sui_unsafe_payAllSui
command
Package main: Demo application to send all SUI tokens from multiple coins to recipient Demonstrates unsafe_payAllSui RPC method with coin consolidation Shows how to transfer entire balance from multiple coins in one transaction Includes transaction simulation and coin query
|
Package main: Demo application to send all SUI tokens from multiple coins to recipient Demonstrates unsafe_payAllSui RPC method with coin consolidation Shows how to transfer entire balance from multiple coins in one transaction Includes transaction simulation and coin query |
|
main_sui_unsafe_paySui
command
Package main: Demo application to send SUI tokens to multiple recipients Demonstrates unsafe_paySui RPC method with batch payment Shows how to transfer different amounts to multiple addresses at once Includes multiple input coins and recipient management
|
Package main: Demo application to send SUI tokens to multiple recipients Demonstrates unsafe_paySui RPC method with batch payment Shows how to transfer different amounts to multiple addresses at once Includes multiple input coins and recipient management |
|
main_sui_unsafe_paySui_to_me_as_gas
command
Package main: Demo application to send SUI tokens back to sender using gas Demonstrates unsafe_paySui method with self-transfer and gas usage Shows how to transfer tokens to own address while paying gas fees Includes transaction simulation, signing, and execution on testnet
|
Package main: Demo application to send SUI tokens back to sender using gas Demonstrates unsafe_paySui method with self-transfer and gas usage Shows how to transfer tokens to own address while paying gas fees Includes transaction simulation, signing, and execution on testnet |
|
main_sui_unsafe_splitCoin
command
Package main: Demo application to split one SUI coin into multiple coins with custom amounts Demonstrates unsafe_splitCoin RPC method with amount calculation Shows how to divide coin balance into three parts and execute split Includes coin selection, amount calculation, and transaction execution
|
Package main: Demo application to split one SUI coin into multiple coins with custom amounts Demonstrates unsafe_splitCoin RPC method with amount calculation Shows how to divide coin balance into three parts and execute split Includes coin selection, amount calculation, and transaction execution |
|
main_sui_unsafe_splitCoinEqual
command
Package main: Demo application to split one SUI coin into equal amounts Demonstrates unsafe_splitCoinEqual RPC method with count-based split Shows how to divide coin balance into equal parts automatically Includes coin selection and equal distribution transaction execution
|
Package main: Demo application to split one SUI coin into equal amounts Demonstrates unsafe_splitCoinEqual RPC method with count-based split Shows how to divide coin balance into equal parts automatically Includes coin selection and equal distribution transaction execution |
|
main_sui_unsafe_transferObject
command
Package main: Demo application to transfer object ownership to another address Demonstrates unsafe_transferObject RPC method with object transfer Shows how to change ownership of blockchain objects Includes debug mode and transaction simulation
|
Package main: Demo application to transfer object ownership to another address Demonstrates unsafe_transferObject RPC method with object transfer Shows how to change ownership of blockchain objects Includes debug mode and transaction simulation |
|
main_sui_unsafe_transferSui
command
Package main: Demo application to transfer SUI tokens between addresses Demonstrates complete transaction workflow from build to execution Shows unsafe_transferSui method usage with testnet Includes transaction simulation, signing, and execution steps
|
Package main: Demo application to transfer SUI tokens between addresses Demonstrates complete transaction workflow from build to execution Shows unsafe_transferSui method usage with testnet Includes transaction simulation, signing, and execution steps |
|
main_suix_getAllBalances
command
Package main: Demo application to query all coin types and balances owned by address Demonstrates suix_getAllBalances RPC method on mainnet Shows how to retrieve balance summary across different coin types Uses structured logging to display coin types and total balances
|
Package main: Demo application to query all coin types and balances owned by address Demonstrates suix_getAllBalances RPC method on mainnet Shows how to retrieve balance summary across different coin types Uses structured logging to display coin types and total balances |
|
main_suix_getAllCoins
command
Package main: Demo application to query all coin objects across all types owned by address Demonstrates suix_getAllCoins RPC method on mainnet Shows how to retrieve complete coin list regardless of coin type Uses structured logging to display balance and type information
|
Package main: Demo application to query all coin objects across all types owned by address Demonstrates suix_getAllCoins RPC method on mainnet Shows how to retrieve complete coin list regardless of coin type Uses structured logging to display balance and type information |
|
main_suix_getBalance
command
Package main: Demo application to query coin balance with logging Demonstrates suix_getCoins RPC method on testnet Shows how to iterate through coin objects and log details Uses structured logging to display balance and coin type
|
Package main: Demo application to query coin balance with logging Demonstrates suix_getCoins RPC method on testnet Shows how to iterate through coin objects and log details Uses structured logging to display balance and coin type |
|
main_suix_getCoinMetadata
command
Package main: Demo application to query coin metadata from blockchain Demonstrates suix_getCoinMetadata RPC method with multiple coin types Shows how to retrieve display information like name, symbol, and decimals Queries metadata from mainnet and logs results in JSON format
|
Package main: Demo application to query coin metadata from blockchain Demonstrates suix_getCoinMetadata RPC method with multiple coin types Shows how to retrieve display information like name, symbol, and decimals Queries metadata from mainnet and logs results in JSON format |
|
main_suix_getCoins
command
Package main: Demo application to query coin objects owned by an address Demonstrates suix_getCoins RPC method usage with mainnet Shows how to retrieve paginated coin data from blockchain Prints coin information including balance and object IDs
|
Package main: Demo application to query coin objects owned by an address Demonstrates suix_getCoins RPC method usage with mainnet Shows how to retrieve paginated coin data from blockchain Prints coin information including balance and object IDs |
|
main_suix_getCoins_suicoin
command
Package main: Demo application to query SUI coin objects owned by address on testnet Demonstrates suix_getCoins RPC method with coin type parameter Shows how to filter coins by type to get native SUI tokens Prints coin information in JSON format
|
Package main: Demo application to query SUI coin objects owned by address on testnet Demonstrates suix_getCoins RPC method with coin type parameter Shows how to filter coins by type to get native SUI tokens Prints coin information in JSON format |
|
main_suix_getTotalSupply
command
Package main: Demo application to query total supply of different coin types Demonstrates suix_getTotalSupply RPC method on mainnet Shows how to retrieve maximum supply information from coin metadata Queries multiple coin types and logs their supply values
|
Package main: Demo application to query total supply of different coin types Demonstrates suix_getTotalSupply RPC method on mainnet Shows how to retrieve maximum supply information from coin metadata Queries multiple coin types and logs their supply values |
|
moves
|
|
|
main_sui_getNormalizedMoveFunction
command
Package main: Demo application to query Move function metadata from blockchain Demonstrates sui_getNormalizedMoveFunction RPC method with contract introspection Shows how to retrieve function signature and parameter information Prints function metadata in JSON format from testnet
|
Package main: Demo application to query Move function metadata from blockchain Demonstrates sui_getNormalizedMoveFunction RPC method with contract introspection Shows how to retrieve function signature and parameter information Prints function metadata in JSON format from testnet |
|
main_sui_unsafe_moveCall_math_add
command
Package main: Demo application to call Move smart contract math add function Demonstrates unsafe_moveCall RPC method with contract interaction Shows how to invoke Move module function with parameters on testnet Includes transaction simulation, signing, and execution with result logging
|
Package main: Demo application to call Move smart contract math add function Demonstrates unsafe_moveCall RPC method with contract interaction Shows how to invoke Move module function with parameters on testnet Includes transaction simulation, signing, and execution with result logging |
|
main_sui_unsafe_moveCall_math_max
command
Package main: Demo application to call Move smart contract math max function Demonstrates unsafe_moveCall RPC method with mainnet contract Shows how to invoke Move module function to find maximum value Includes transaction simulation with debug mode enabled
|
Package main: Demo application to call Move smart contract math max function Demonstrates unsafe_moveCall RPC method with mainnet contract Shows how to invoke Move module function to find maximum value Includes transaction simulation with debug mode enabled |
Click to show internal directories.
Click to hide internal directories.